History - net.minecraft.world.item.InstrumentItem

1.21.3

Names

cuj

cxj

Fields

TagKey<Instrument>: a, instruments, field_39123, instrumentTag, f_220097_

TagKey<Instrument>: a, instruments, field_39123, instrumentTag

Constructors

(Item$Properties, TagKey<Instrument>)

(TagKey<Instrument>, Item$Properties)

Methods

ItemStack (Item, Holder<Instrument>): a, create, method_43558, getStackForInstrument, m_220107_

ItemStack (Item, Holder<Instrument>): a, create, method_43558, getStackForInstrument

void (ItemStack, TagKey<Instrument>, RandomSource): a, setRandom, method_43562, setRandomInstrumentFromTag, m_220110_

InteractionResultHolder<ItemStack> (Level, Player, InteractionHand): a, use, method_7836, use, m_7203_

Optional<Holder<Instrument>> (ItemStack): i, getInstrument, method_43711, getInstrument, m_220134_

UseAnim (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

ItemUseAnimation (ItemStack): b, getUseAnimation, method_7853, getUseAction

void (Level, Player, Instrument): a, play, method_43563, playSound, m_220126_

void (Level, Player, Instrument): a, play, method_43563, playSound

void (ItemStack, Item$TooltipContext, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

void (ItemStack, Item$TooltipContext, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime, m_8105_

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime

InteractionResult (Level, Player, InteractionHand): a, use, method_7836, use

Optional<Holder<Instrument>> (ItemStack, HolderLookup$Provider): a, getInstrument, method_43711, getInstrument

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cuk

cuj

Fields

Constructors

Methods

int (ItemStack): b, getUseDuration, method_7881, getMaxUseTime, m_8105_

Optional<Holder<Instrument>> (ItemStack): j, getInstrument, method_43711, getInstrument, m_220134_

Optional<Holder<Instrument>> (ItemStack): i, getInstrument, method_43711, getInstrument, m_220134_

UseAnim (ItemStack): c, getUseAnimation, method_7853, getUseAction, m_6164_

UseAnim (ItemStack): b, getUseAnimation, method_7853, getUseAction, m_6164_

int (ItemStack, LivingEntity): a, getUseDuration, method_7881, getMaxUseTime, m_8105_

1.20.6

Names

cmr

cuk

Fields

String: a, TAG_INSTRUMENT, field_39052, INSTRUMENT_KEY, f_220096_

TagKey<Instrument>: b, instruments, field_39123, instrumentTag, f_220097_

TagKey<Instrument>: a, instruments, field_39123, instrumentTag, f_220097_

Constructors

Methods

void (ItemStack, Level, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

void (ItemStack, Holder<Instrument>): a, setSoundVariantId, method_43561, setInstrument, m_220119_

Optional<? extends Holder<Instrument>> (ItemStack): d, getInstrument, method_43711, getInstrument, m_220134_

Optional<Holder<Instrument>> (ItemStack): j, getInstrument, method_43711, getInstrument, m_220134_

void (ItemStack, Item$TooltipContext, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

1.20.4

Names

ciy

cmr

Fields

Constructors

Methods

1.20.2

Names

cfs

ciy

Fields

Constructors

Methods

1.20.1

Names

cfo

cfs

Fields

Constructors

Methods

1.19.4

Names

cdn

cfo

Fields

Constructors

Methods

1.19.3

Names

car

cdn

Fields

Constructors

Methods

void (CreativeModeTab, NonNullList<ItemStack>): a, fillItemCategory, method_7850, appendStacks, m_6787_

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bzu

car

Fields

Constructors

Methods

1.19

Names

bzu

net.minecraft.world.item.InstrumentItem

net.minecraft.class_7430

net.minecraft.item.GoatHornItem

net.minecraft.src.C_213080_

net.minecraft.world.item.InstrumentItem

Fields

String: a, TAG_INSTRUMENT, field_39052, INSTRUMENT_KEY, f_220096_

TagKey<Instrument>: b, instruments, field_39123, instrumentTag, f_220097_

Constructors

(Item$Properties, TagKey<Instrument>)

Methods

void (ItemStack, Level, List<Component>, TooltipFlag): a, appendHoverText, method_7851, appendTooltip, m_7373_

ItemStack (Item, Holder<Instrument>): a, create, method_43558, getStackForInstrument, m_220107_

void (ItemStack, TagKey<Instrument>, RandomSource): a, setRandom, method_43562, setRandomInstrumentFromTag, m_220110_

void (ItemStack, Holder<Instrument>): a, setSoundVariantId, method_43561, setInstrument, m_220119_

void (CreativeModeTab, NonNullList<ItemStack>): a, fillItemCategory, method_7850, appendStacks, m_6787_

InteractionResultHolder<ItemStack> (Level, Player, InteractionHand): a, use, method_7836, use, m_7203_

int (ItemStack): b, getUseDuration, method_7881, getMaxUseTime, m_8105_

Optional<Holder<Instrument>> (ItemStack): d, getInstrument, method_43711, getInstrument, m_220134_

UseAnim (ItemStack): c, getUseAnimation, method_7853, getUseAction, m_6164_

void (Level, Player, Instrument): a, play, method_43563, playSound, m_220126_