public class SoundType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SoundType |
ANVIL |
static SoundType |
CLOTH |
static SoundType |
GLASS |
static SoundType |
GROUND |
static SoundType |
LADDER |
static SoundType |
METAL |
float |
pitch |
static SoundType |
PLANT |
static SoundType |
SAND |
static SoundType |
SLIME |
static SoundType |
SNOW |
static SoundType |
STONE |
float |
volume |
static SoundType |
WOOD |
Constructor and Description |
---|
SoundType(float volumeIn,
float pitchIn,
SoundEvent breakSoundIn,
SoundEvent stepSoundIn,
SoundEvent placeSoundIn,
SoundEvent hitSoundIn,
SoundEvent fallSoundIn) |
Modifier and Type | Method and Description |
---|---|
SoundEvent |
getBreakSound() |
SoundEvent |
getFallSound() |
SoundEvent |
getHitSound() |
float |
getPitch() |
SoundEvent |
getPlaceSound() |
SoundEvent |
getStepSound() |
float |
getVolume() |
public static final SoundType WOOD
public static final SoundType GROUND
public static final SoundType PLANT
public static final SoundType STONE
public static final SoundType METAL
public static final SoundType GLASS
public static final SoundType CLOTH
public static final SoundType SAND
public static final SoundType SNOW
public static final SoundType LADDER
public static final SoundType ANVIL
public static final SoundType SLIME
public final float volume
public final float pitch
public SoundType(float volumeIn, float pitchIn, SoundEvent breakSoundIn, SoundEvent stepSoundIn, SoundEvent placeSoundIn, SoundEvent hitSoundIn, SoundEvent fallSoundIn)
public float getVolume()
public float getPitch()
public SoundEvent getBreakSound()
public SoundEvent getStepSound()
public SoundEvent getPlaceSound()
public SoundEvent getHitSound()
public SoundEvent getFallSound()