Uses of Record Class
net.minecraft.item.Instrument
Packages that use Instrument
Package
Description
The base package for all Minecraft classes.
-
Uses of Instrument in net.minecraft
Fields in net.minecraft with type parameters of type InstrumentModifier and TypeFieldDescriptionprivate final RegistryPair<Instrument> class_10710.instrumentThe field for theinstrumentrecord component.Methods in net.minecraft that return types with arguments of type InstrumentModifier and TypeMethodDescriptionclass_10710.instrument()Returns the value of theinstrumentrecord component.class_10710.method_67211(RegistryWrapper.WrapperLookup wrapperLookup) Constructor parameters in net.minecraft with type arguments of type InstrumentModifierConstructorDescriptionclass_10710(RegistryEntry<Instrument> registryEntry) class_10710(RegistryKey<Instrument> registryKey) Deprecated.class_10710(RegistryPair<Instrument> registryPair) -
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 com.mojang.serialization.Codec<RegistryEntry<Instrument>> Instrument.ENTRY_CODECstatic final PacketCodec<RegistryByteBuf, RegistryEntry<Instrument>> Instrument.ENTRY_PACKET_CODECstatic final RegistryKey<Instrument> Instruments.FEEL_GOAT_HORNstatic final PacketCodec<RegistryByteBuf, Instrument> Instrument.PACKET_CODECstatic 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 types with arguments of type InstrumentModifier and TypeMethodDescriptionprivate Optional<RegistryEntry<Instrument>> GoatHornItem.getInstrument(ItemStack stack, RegistryWrapper.WrapperLookup registries) 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 voidInstruments.bootstrap(Registerable<Instrument> registry) static ItemStackGoatHornItem.getStackForInstrument(Item item, RegistryEntry<Instrument> instrument) static voidInstruments.register(Registerable<Instrument> registry, RegistryKey<Instrument> key, RegistryEntry<SoundEvent> sound, float useDuration, float range) static voidInstruments.register(Registerable<Instrument> registry, RegistryKey<Instrument> key, RegistryEntry<SoundEvent> sound, float useDuration, float range) -
Uses of Instrument in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type InstrumentModifier and TypeFieldDescriptionprivate 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 InstrumentModifierConstructorDescriptionprivateSetInstrumentLootFunction(List<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 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