History - net.minecraft.world.item.InstrumentItem

1.21

Names

cuk

cuj

Fields

Constructors

Methods

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

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

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

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

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

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

1.20.6

Names

cuj

cuk

net.minecraft.world.item.Instrument

net.minecraft.world.item.InstrumentItem

Fields

Constructors

Methods

1.20.5

Names

cmr

cuj

net.minecraft.world.item.InstrumentItem

net.minecraft.world.item.Instrument

Fields

String: a, TAG_INSTRUMENT, field_39052, f_gidxrzau, INSTRUMENT_KEY, NBT_KEY, f_220096_

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

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

Constructors

Methods

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

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

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

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

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

1.20.4

Names

Fields

Constructors

Methods

1.20.3

Names

ciy

cmr

Fields

Constructors

Methods

1.20.2

Names

cfs

ciy

Fields

Constructors

Methods

1.20.1

Names

Fields

Constructors

Methods

1.20

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, m_vsywafjh, appendStacks, 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.unmapped.C_tsdodpup

net.minecraft.item.GoatHornItem

net.minecraft.item.InstrumentItem

net.minecraft.src.C_213080_

net.minecraft.world.item.InstrumentItem

Fields

String: a, TAG_INSTRUMENT, field_39052, f_gidxrzau, INSTRUMENT_KEY, NBT_KEY, f_220096_

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

Constructors

(Item$Properties, TagKey<Instrument>)

Methods

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

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

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

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

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

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

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

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

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

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