Uses of Record Class
net.minecraft.item.Instrument
Packages that use Instrument
Package
Description
-
Uses of Instrument in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type InstrumentModifier and TypeFieldDescriptionprivate final LazyRegistryEntryReference
<Instrument> InstrumentComponent.instrument
The field for theinstrument
record component.Methods in net.minecraft.component.type that return types with arguments of type InstrumentModifier and TypeMethodDescriptionInstrumentComponent.getInstrument
(RegistryWrapper.WrapperLookup registries) InstrumentComponent.instrument()
Returns the value of theinstrument
record component.Constructor parameters in net.minecraft.component.type with type arguments of type InstrumentModifierConstructorDescriptionInstrumentComponent
(LazyRegistryEntryReference<Instrument> lazyRegistryEntryReference) InstrumentComponent
(RegistryEntry<Instrument> instrument) InstrumentComponent
(RegistryKey<Instrument> instrument) Deprecated. -
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_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 com.mojang.serialization.Codec
<RegistryEntry<Instrument>> Instrument.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<Instrument>> Instrument.ENTRY_PACKET_CODEC
static final RegistryKey
<Instrument> Instruments.FEEL_GOAT_HORN
static final PacketCodec
<RegistryByteBuf, Instrument> Instrument.PACKET_CODEC
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
Methods 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 void
GoatHornItem.playSound
(World world, PlayerEntity player, Instrument instrument) Method parameters in net.minecraft.item with type arguments of type InstrumentModifier and TypeMethodDescriptionprivate static void
ItemGroups.addInstruments
(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) private static void
ItemGroups.addInstruments
(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) static void
Instruments.bootstrap
(Registerable<Instrument> registry) static ItemStack
GoatHornItem.getStackForInstrument
(Item item, RegistryEntry<Instrument> instrument) static void
Instruments.register
(Registerable<Instrument> registry, RegistryKey<Instrument> key, RegistryEntry<SoundEvent> sound, float useDuration, float range) static void
Instruments.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.options
Method 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 InstrumentModifierConstructorDescriptionprivate
SetInstrumentLootFunction
(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_HORNS
static final TagKey
<Instrument> InstrumentTags.REGULAR_GOAT_HORNS
static final TagKey
<Instrument> InstrumentTags.SCREAMING_GOAT_HORNS
Methods in net.minecraft.registry.tag that return types with arguments of type Instrument