Uses of Record Class
net.minecraft.item.Instrument
Packages that use Instrument
Package
Description
-
Uses of Instrument in net.minecraft.item
Fields in net.minecraft.item with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final RegistryKey<Instrument>Instruments.ADMIRE_GOAT_HORNstatic final RegistryKey<Instrument>Instruments.CALL_GOAT_HORNstatic final com.mojang.serialization.Codec<Instrument>Instrument.CODECstatic final RegistryKey<Instrument>Instruments.DREAM_GOAT_HORNstatic final RegistryKey<Instrument>Instruments.FEEL_GOAT_HORNprivate final TagKey<Instrument>GoatHornItem.instrumentTagstatic final RegistryKey<Instrument>Instruments.PONDER_GOAT_HORNstatic final RegistryKey<Instrument>Instruments.SEEK_GOAT_HORNstatic final RegistryKey<Instrument>Instruments.SING_GOAT_HORNstatic final RegistryKey<Instrument>Instruments.YEARN_GOAT_HORNMethods in net.minecraft.item that return InstrumentModifier and TypeMethodDescriptionstatic InstrumentInstruments.registerAndGetDefault(Registry<Instrument> registry) Methods in net.minecraft.item that return types with arguments of type InstrumentModifier and TypeMethodDescriptionprivate Optional<? extends RegistryEntry<Instrument>>GoatHornItem.getInstrument(ItemStack stack) private static RegistryKey<Instrument>Methods in net.minecraft.item with parameters of type InstrumentModifier and TypeMethodDescriptionprivate static voidGoatHornItem.playSound(World world, PlayerEntity player, Instrument instrument) Method parameters in net.minecraft.item with type arguments of type InstrumentModifier and TypeMethodDescriptionprivate static voidItemGroups.addInstruments(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) private static voidItemGroups.addInstruments(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) static ItemStackGoatHornItem.getStackForInstrument(Item item, RegistryEntry<Instrument> instrument) static InstrumentInstruments.registerAndGetDefault(Registry<Instrument> registry) private static voidGoatHornItem.setInstrument(ItemStack stack, RegistryEntry<Instrument> instrument) static voidGoatHornItem.setRandomInstrumentFromTag(ItemStack stack, TagKey<Instrument> instrumentTag, Random random) Constructor parameters in net.minecraft.item with type arguments of type InstrumentModifierConstructorDescriptionGoatHornItem(Item.Settings settings, TagKey<Instrument> instrumentTag) -
Uses of Instrument in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type InstrumentModifier and TypeFieldDescription(package private) final TagKey<Instrument>SetInstrumentLootFunction.optionsMethod parameters in net.minecraft.loot.function with type arguments of type InstrumentModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>SetInstrumentLootFunction.builder(TagKey<Instrument> options) Constructor parameters in net.minecraft.loot.function with type arguments of type InstrumentModifierConstructorDescription(package private)SetInstrumentLootFunction(LootCondition[] conditions, TagKey<Instrument> options) -
Uses of Instrument in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final Registry<Instrument>Registries.INSTRUMENTstatic final RegistryKey<Registry<Instrument>>RegistryKeys.INSTRUMENT -
Uses of Instrument in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final TagKey<Instrument>InstrumentTags.GOAT_HORNSstatic final TagKey<Instrument>InstrumentTags.REGULAR_GOAT_HORNSstatic final TagKey<Instrument>InstrumentTags.SCREAMING_GOAT_HORNSMethods in net.minecraft.registry.tag that return types with arguments of type Instrument