implements TooltipAppender
| net.minecraft.world.item.component.InstrumentComponent | |
| net.minecraft.class_10710 | |
| net.minecraft.component.type.InstrumentComponent |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final LazyRegistryEntryReference<Instrument> |
|
||||||
| public static final com.mojang.serialization.Codec<InstrumentComponent> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, InstrumentComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryEntry<Instrument> instrument) |
| public | (RegistryKey<Instrument> instrument) |
| public | (LazyRegistryEntryReference<Instrument> instrument) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public void |
|
||||||
| public Optional<RegistryEntry<Instrument>> |
|
||||||
| public LazyRegistryEntryReference<Instrument> |
|
||||||
| private static void |
|