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 float
static final int
static final ResourceKey
<Instrument> static final ResourceKey
<Instrument> static final ResourceKey
<Instrument> static final ResourceKey
<Instrument> -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic void
bootstrap
(BootstrapContext<Instrument> pContext) private static ResourceKey
<Instrument> static void
register
(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)
-