History - net.minecraft.world.item.component.InstrumentComponent

25w08a

Names

dcd

net.minecraft.world.item.component.InstrumentComponent

net.minecraft.class_10710

net.minecraft.component.type.InstrumentComponent

Fields

EitherHolder<Instrument>: c, instrument, comp_3598, instrument

com.mojang.serialization.Codec<InstrumentComponent>: a, CODEC, field_56311, CODEC

StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent>: b, STREAM_CODEC, field_56312, PACKET_CODEC

Constructors

(Holder<Instrument>)

(ResourceKey<Instrument>)

(EitherHolder<Instrument>)

Methods

void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip

Optional<Holder<Instrument>> (HolderLookup$Provider): a, unwrap, method_67211, getInstrument

EitherHolder<Instrument> (): a, instrument, comp_3598, instrument