Package net.minecraft.world.item
Interface Instruments
public interface Instruments
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey<Instrument> static final ResourceKey<Instrument> static final ResourceKey<Instrument> static final ResourceKey<Instrument> static final floatstatic final intstatic final ResourceKey<Instrument> static final ResourceKey<Instrument> static final ResourceKey<Instrument> static final ResourceKey<Instrument> -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voidbootstrap(BootstrapContext<Instrument> pContext) private static ResourceKey<Instrument> static voidregister(BootstrapContext<Instrument> pContext, ResourceKey<Instrument> pKey, Holder<SoundEvent> pSoundEvent, float pUseDuration, float pRange)
-
Field Details
-
GOAT_HORN_RANGE_BLOCKS
static final int GOAT_HORN_RANGE_BLOCKS- See Also:
-
GOAT_HORN_DURATION
static final float GOAT_HORN_DURATION- See Also:
-
PONDER_GOAT_HORN
-
SING_GOAT_HORN
-
SEEK_GOAT_HORN
-
FEEL_GOAT_HORN
-
ADMIRE_GOAT_HORN
-
CALL_GOAT_HORN
-
YEARN_GOAT_HORN
-
DREAM_GOAT_HORN
-
-
Method Details
-
create
-
bootstrap
-
register
static void register(BootstrapContext<Instrument> pContext, ResourceKey<Instrument> pKey, Holder<SoundEvent> pSoundEvent, float pUseDuration, float pRange)
-