implements TooltipProvider
| dkg | |
| net.minecraft.world.item.component.InstrumentComponent | |
| net.minecraft.class_10710 | |
| net.minecraft.component.type.InstrumentComponent | |
| net.minecraft.src.C_378838_ | |
| net.minecraft.world.item.component.InstrumentComponent |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final EitherHolder<Instrument> |
| ||||||||||
| public static final com.mojang.serialization.Codec<InstrumentComponent> |
| ||||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Holder<Instrument> instrument) |
| public | (ResourceKey<Instrument> instrument) |
| public | (EitherHolder<Instrument> arg0) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public void |
| ||||||||||
| public Optional<Holder<Instrument>> |
| ||||||||||
| public EitherHolder<Instrument> |
|