History - net.minecraft.world.item.component.InstrumentComponent
1.21.7
Names
Fields
EitherHolder<Instrument>: c, instrument, comp_3598, instrument, f_382558_
EitherHolder<Instrument>: c, instrument, comp_3598, instrument
com.mojang.serialization.Codec<InstrumentComponent>: a, CODEC, field_56311, CODEC, f_381983_
com.mojang.serialization.Codec<InstrumentComponent>: a, CODEC, field_56311, CODEC
StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent>: b, STREAM_CODEC, field_56312, PACKET_CODEC, f_382022_
StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent>: b, STREAM_CODEC, field_56312, PACKET_CODEC
Constructors
Methods
void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip, m_319025_
void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip
Optional<Holder<Instrument>> (HolderLookup$Provider): a, unwrap, method_67211, getInstrument, m_385606_
Optional<Holder<Instrument>> (HolderLookup$Provider): a, unwrap, method_67211, getInstrument
EitherHolder<Instrument> (): a, instrument, comp_3598, instrument, f_382558_
EitherHolder<Instrument> (): a, instrument, comp_3598, instrument
1.21.6
Names
dda
dfl
Fields
Constructors
Methods
1.21.5
Names
dda
net.minecraft.world.item.component.InstrumentComponent
net.minecraft.class_10710
net.minecraft.component.type.InstrumentComponent
net.minecraft.src.C_378838_
Fields
EitherHolder<Instrument>: c, instrument, comp_3598, instrument, f_382558_
com.mojang.serialization.Codec<InstrumentComponent>: a, CODEC, field_56311, CODEC, f_381983_
StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent>: b, STREAM_CODEC, field_56312, PACKET_CODEC, f_382022_
Constructors
(Holder<Instrument>)
Methods
void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip, m_319025_
Optional<Holder<Instrument>> (HolderLookup$Provider): a, unwrap, method_67211, getInstrument, m_385606_
EitherHolder<Instrument> (): a, instrument, comp_3598, instrument, f_382558_