History - net.minecraft.world.item.Instrument

1.21.3

Names

net.minecraft.world.item.InstrumentItem

net.minecraft.world.item.Instrument

net.minecraft.class_7430

net.minecraft.class_7444

net.minecraft.unmapped.C_tsdodpup

net.minecraft.unmapped.C_vywrdemv

net.minecraft.item.GoatHornItem

net.minecraft.item.Instrument

net.minecraft.item.InstrumentItem

net.minecraft.item.Instrument

net.minecraft.src.C_213080_

net.minecraft.src.C_213079_

Fields

float: g, range, comp_774, f_yowlfcvb, range, range, f_220081_

com.mojang.serialization.Codec<Holder<Instrument>>: c, CODEC, field_39122, f_xxkknaed, ENTRY_CODEC, CODEC, f_220078_

Holder<SoundEvent>: e, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

com.mojang.serialization.Codec<Instrument>: a, DIRECT_CODEC, field_49260, f_jxbqmsem, CODEC, SOUND_CODEC, f_314982_

StreamCodec<RegistryFriendlyByteBuf, Instrument>: b, DIRECT_STREAM_CODEC, field_49261, f_vmxkrnak, PACKET_CODEC, SOUND_PACKET_CODEC, f_316019_

StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>>: d, STREAM_CODEC, field_49262, f_ttwxxpiv, ENTRY_PACKET_CODEC, PACKET_CODEC, f_315407_

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

float: f, useDuration, comp_773, f_wcpkblxq, useDuration, duration, f_220080_

Component: h, description, comp_2929, f_khtaawct, description, description, f_348177_

Constructors

(TagKey<Instrument>, Item$Properties)

(Holder<SoundEvent>, float, float, Component)

Methods

float (): c, range, comp_774, m_tfejjesy, range, range, f_220081_

Holder<SoundEvent> (): a, soundEvent, comp_772, m_xyfeykui, soundEvent, sound, f_220079_

void (ItemStack, Item$TooltipContext, 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_

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

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

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

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

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

float (): b, useDuration, comp_773, m_pttrrynj, useDuration, duration, f_220080_

Component (): d, description, comp_2929, m_ymqzttkq, description, description, f_348177_

1.21.2

Names

cui

cxi

net.minecraft.world.item.Instrument

net.minecraft.world.item.InstrumentItem

net.minecraft.class_7444

net.minecraft.class_7430

net.minecraft.unmapped.C_vywrdemv

net.minecraft.unmapped.C_tsdodpup

net.minecraft.item.Instrument

net.minecraft.item.GoatHornItem

net.minecraft.item.Instrument

net.minecraft.item.InstrumentItem

net.minecraft.src.C_213079_

net.minecraft.src.C_213080_

Fields

int: f, useDuration, comp_773, f_wcpkblxq, useDuration, duration, f_220080_

float: g, range, comp_774, f_yowlfcvb, range, range, f_220081_

com.mojang.serialization.Codec<Holder<Instrument>>: c, CODEC, field_39122, f_xxkknaed, ENTRY_CODEC, CODEC, f_220078_

Holder<SoundEvent>: e, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

com.mojang.serialization.Codec<Instrument>: a, DIRECT_CODEC, field_49260, f_jxbqmsem, CODEC, SOUND_CODEC, f_314982_

StreamCodec<RegistryFriendlyByteBuf, Instrument>: b, DIRECT_STREAM_CODEC, field_49261, f_vmxkrnak, PACKET_CODEC, SOUND_PACKET_CODEC, f_316019_

StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>>: d, STREAM_CODEC, field_49262, f_ttwxxpiv, ENTRY_PACKET_CODEC, PACKET_CODEC, f_315407_

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

Constructors

(Holder<SoundEvent>, int, float)

(TagKey<Instrument>, Item$Properties)

Methods

int (): b, useDuration, comp_773, m_pttrrynj, useDuration, duration, f_220080_

float (): c, range, comp_774, m_tfejjesy, range, range, f_220081_

Holder<SoundEvent> (): a, soundEvent, comp_772, m_xyfeykui, soundEvent, sound, f_220079_

void (ItemStack, Item$TooltipContext, 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_

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

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

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

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

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

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cuj

cui

Fields

Constructors

Methods

1.20.6

Names

cui

cuj

net.minecraft.world.item.InkSacItem

net.minecraft.world.item.Instrument

Fields

Constructors

Methods

1.20.5

Names

cmq

cui

net.minecraft.world.item.Instrument

net.minecraft.world.item.InkSacItem

Fields

int: c, useDuration, comp_773, f_wcpkblxq, useDuration, duration, f_220080_

int: f, useDuration, comp_773, f_wcpkblxq, useDuration, duration, f_220080_

float: d, range, comp_774, f_yowlfcvb, range, range, f_220081_

float: g, range, comp_774, f_yowlfcvb, range, range, f_220081_

com.mojang.serialization.Codec<Instrument>: a, CODEC, field_39122, f_xxkknaed, CODEC, CODEC, f_220078_

com.mojang.serialization.Codec<Holder<Instrument>>: c, CODEC, field_39122, f_xxkknaed, ENTRY_CODEC, CODEC, f_220078_

Holder<SoundEvent>: b, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

Holder<SoundEvent>: e, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

com.mojang.serialization.Codec<Instrument>: a, DIRECT_CODEC, field_49260, f_jxbqmsem, CODEC, SOUND_CODEC, f_314982_

StreamCodec<RegistryFriendlyByteBuf, Instrument>: b, DIRECT_STREAM_CODEC, field_49261, f_vmxkrnak, PACKET_CODEC, SOUND_PACKET_CODEC, f_316019_

StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>>: d, STREAM_CODEC, field_49262, f_ttwxxpiv, ENTRY_PACKET_CODEC, PACKET_CODEC, f_315407_

Constructors

Methods

1.20.4

Names

Fields

Constructors

Methods

1.20.3

Names

cix

cmq

Fields

Constructors

Methods

1.20.2

Names

cfr

cix

Fields

Constructors

Methods

1.20.1

Names

Fields

Constructors

Methods

1.20

Names

cfn

cfr

Fields

Constructors

Methods

1.19.4

Names

cdm

cfn

Fields

Constructors

Methods

1.19.3

Names

caq

cdm

Fields

SoundEvent: b, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

Holder<SoundEvent>: b, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

Constructors

(SoundEvent, int, float)

(Holder<SoundEvent>, int, float)

Methods

SoundEvent (): a, soundEvent, comp_772, m_xyfeykui, soundEvent, sound, f_220079_

Holder<SoundEvent> (): a, soundEvent, comp_772, m_xyfeykui, soundEvent, sound, f_220079_

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bzt

caq

Fields

Constructors

Methods

1.19

Names

bzt

net.minecraft.world.item.Instrument

net.minecraft.class_7444

net.minecraft.unmapped.C_vywrdemv

net.minecraft.item.Instrument

net.minecraft.item.Instrument

net.minecraft.src.C_213079_

net.minecraft.world.item.Instrument

Fields

SoundEvent: b, soundEvent, comp_772, f_slezwwgw, soundEvent, sound, f_220079_

int: c, useDuration, comp_773, f_wcpkblxq, useDuration, duration, f_220080_

float: d, range, comp_774, f_yowlfcvb, range, range, f_220081_

com.mojang.serialization.Codec<Instrument>: a, CODEC, field_39122, f_xxkknaed, CODEC, CODEC, f_220078_

Constructors

(SoundEvent, int, float)

Methods

SoundEvent (): a, soundEvent, comp_772, m_xyfeykui, soundEvent, sound, f_220079_

int (): b, useDuration, comp_773, m_pttrrynj, useDuration, duration, f_220080_

float (): c, range, comp_774, m_tfejjesy, range, range, f_220081_