Uses of Record Class
net.minecraft.world.item.Instrument
Packages that use Instrument
Package
Description
-
Uses of Instrument in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final DataComponentType<Holder<Instrument>> DataComponents.INSTRUMENT -
Uses of Instrument in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final Registry<Instrument> BuiltInRegistries.INSTRUMENTstatic final ResourceKey<Registry<Instrument>> Registries.INSTRUMENT -
Uses of Instrument in net.minecraft.tags
Fields in net.minecraft.tags 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.tags that return types with arguments of type Instrument -
Uses of Instrument in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type InstrumentModifier and TypeFieldDescriptionstatic final ResourceKey<Instrument> Instruments.ADMIRE_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.CALL_GOAT_HORNstatic final com.mojang.serialization.Codec<Holder<Instrument>> Instrument.CODECstatic final com.mojang.serialization.Codec<Instrument> Instrument.DIRECT_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Instrument> Instrument.DIRECT_STREAM_CODECstatic final ResourceKey<Instrument> Instruments.DREAM_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.FEEL_GOAT_HORNprivate final TagKey<Instrument> InstrumentItem.instrumentsstatic final ResourceKey<Instrument> Instruments.PONDER_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.SEEK_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.SING_GOAT_HORNstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODECstatic final ResourceKey<Instrument> Instruments.YEARN_GOAT_HORNMethods in net.minecraft.world.item that return InstrumentModifier and TypeMethodDescriptionstatic InstrumentInstruments.bootstrap(Registry<Instrument> registry) Methods in net.minecraft.world.item that return types with arguments of type InstrumentModifier and TypeMethodDescriptionprivate static ResourceKey<Instrument> private Optional<Holder<Instrument>> InstrumentItem.getInstrument(ItemStack stack) Methods in net.minecraft.world.item with parameters of type InstrumentModifier and TypeMethodDescriptionprivate static voidInstrumentItem.play(Level level, Player player, Instrument instrument) Method parameters in net.minecraft.world.item with type arguments of type InstrumentModifier and TypeMethodDescriptionstatic InstrumentInstruments.bootstrap(Registry<Instrument> registry) static ItemStackInstrumentItem.create(Item item, Holder<Instrument> instrument) private static voidCreativeModeTabs.generateInstrumentTypes(CreativeModeTab.Output output, HolderLookup<Instrument> instruments, Item item, TagKey<Instrument> instrument, CreativeModeTab.TabVisibility tabVisibility) private static voidCreativeModeTabs.generateInstrumentTypes(CreativeModeTab.Output output, HolderLookup<Instrument> instruments, Item item, TagKey<Instrument> instrument, CreativeModeTab.TabVisibility tabVisibility) static voidInstrumentItem.setRandom(ItemStack stack, TagKey<Instrument> instrumentTag, RandomSource random) Constructor parameters in net.minecraft.world.item with type arguments of type InstrumentModifierConstructorDescriptionInstrumentItem(Item.Properties properties, TagKey<Instrument> instruments) -
Uses of Instrument in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type InstrumentMethod parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type InstrumentModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetInstrumentFunction.setInstrumentOptions(TagKey<Instrument> instrumentOptions) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type InstrumentModifierConstructorDescriptionprivateSetInstrumentFunction(List<LootItemCondition> conditions, TagKey<Instrument> options)