Uses of Record Class
net.minecraft.world.item.Instrument
Package
Description
-
Uses of Instrument in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<Holder<Instrument>> DataComponents.INSTRUMENT
-
Uses of Instrument in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry
<Instrument> BuiltInRegistries.INSTRUMENT
static final ResourceKey
<Registry<Instrument>> Registries.INSTRUMENT
-
Uses of Instrument in net.minecraft.tags
Modifier and TypeFieldDescriptionstatic final TagKey
<Instrument> InstrumentTags.GOAT_HORNS
static final TagKey
<Instrument> InstrumentTags.REGULAR_GOAT_HORNS
static final TagKey
<Instrument> InstrumentTags.SCREAMING_GOAT_HORNS
-
Uses of Instrument in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Instrument> Instruments.ADMIRE_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.CALL_GOAT_HORN
static final com.mojang.serialization.Codec
<Holder<Instrument>> Instrument.CODEC
static final com.mojang.serialization.Codec
<Instrument> Instrument.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Instrument> Instrument.DIRECT_STREAM_CODEC
static final ResourceKey
<Instrument> Instruments.DREAM_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.FEEL_GOAT_HORN
private final TagKey
<Instrument> InstrumentItem.instruments
static final ResourceKey
<Instrument> Instruments.PONDER_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.SEEK_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.SING_GOAT_HORN
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODEC
static final ResourceKey
<Instrument> Instruments.YEARN_GOAT_HORN
Modifier and TypeMethodDescriptionstatic Instrument
Instruments.bootstrap
(Registry<Instrument> p_220149_) Modifier and TypeMethodDescriptionprivate static ResourceKey
<Instrument> private Optional
<Holder<Instrument>> InstrumentItem.getInstrument
(ItemStack p_220135_) Modifier and TypeMethodDescriptionprivate static void
InstrumentItem.play
(Level p_220127_, Player p_220128_, Instrument p_220129_) Modifier and TypeMethodDescriptionstatic Instrument
Instruments.bootstrap
(Registry<Instrument> p_220149_) static ItemStack
InstrumentItem.create
(Item p_220108_, Holder<Instrument> p_220109_) private static void
CreativeModeTabs.generateInstrumentTypes
(CreativeModeTab.Output p_270699_, HolderLookup<Instrument> p_270948_, Item p_270421_, TagKey<Instrument> p_270798_, CreativeModeTab.TabVisibility p_270817_) private static void
CreativeModeTabs.generateInstrumentTypes
(CreativeModeTab.Output p_270699_, HolderLookup<Instrument> p_270948_, Item p_270421_, TagKey<Instrument> p_270798_, CreativeModeTab.TabVisibility p_270817_) static void
InstrumentItem.setRandom
(ItemStack p_220111_, TagKey<Instrument> p_220112_, RandomSource p_220113_) ModifierConstructorDescriptionInstrumentItem
(Item.Properties p_220099_, TagKey<Instrument> p_220100_) -
Uses of Instrument in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder
<?> SetInstrumentFunction.setInstrumentOptions
(TagKey<Instrument> p_231012_) ModifierConstructorDescriptionprivate
SetInstrumentFunction
(List<LootItemCondition> p_298993_, TagKey<Instrument> p_231009_)