Uses of Record Class
net.minecraft.item.Instrument
Package
Description
-
Uses of Instrument in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final RegistryKey<Instrument>
Instruments.ADMIRE_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.CALL_GOAT_HORN
static final com.mojang.serialization.Codec<Instrument>
Instrument.CODEC
static final RegistryKey<Instrument>
Instruments.DREAM_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.FEEL_GOAT_HORN
private TagKey<Instrument>
GoatHornItem.instrumentTag
static final RegistryKey<Instrument>
Instruments.PONDER_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.SEEK_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.SING_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.YEARN_GOAT_HORN
Modifier and TypeMethodDescriptionstatic Instrument
Instruments.registerAndGetDefault
(Registry<Instrument> registry) Modifier and TypeMethodDescriptionprivate Optional<RegistryEntry<Instrument>>
GoatHornItem.getInstrument
(ItemStack stack) private static RegistryKey<Instrument>
Modifier and TypeMethodDescriptionprivate static void
GoatHornItem.playSound
(World world, PlayerEntity player, Instrument instrument) Modifier and TypeMethodDescriptionstatic ItemStack
GoatHornItem.getStackForInstrument
(Item item, RegistryEntry<Instrument> instrument) static Instrument
Instruments.registerAndGetDefault
(Registry<Instrument> registry) private static void
GoatHornItem.setInstrument
(ItemStack stack, RegistryEntry<Instrument> instrument) static void
GoatHornItem.setRandomInstrumentFromTag
(ItemStack stack, TagKey<Instrument> instrumentTag, Random random) ModifierConstructorDescriptionGoatHornItem
(Item.Settings settings, TagKey<Instrument> instrumentTag) -
Uses of Instrument in net.minecraft.loot.function
Modifier and TypeFieldDescription(package private) final TagKey<Instrument>
SetGoatHornSoundLootFunction.field_39184
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
SetGoatHornSoundLootFunction.builder
(TagKey<Instrument> tagKey) ModifierConstructorDescription(package private)
SetGoatHornSoundLootFunction
(LootCondition[] lootCondition, TagKey<Instrument> tagKey) -
Uses of Instrument in net.minecraft.tag
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.util.registry
Modifier and TypeFieldDescriptionstatic final Registry<Instrument>
Registry.INSTRUMENT
static final RegistryKey<Registry<Instrument>>
Registry.INSTRUMENT_KEY