public class SoundType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SoundType |
ANVIL |
private SoundEvent |
breakSound |
static SoundType |
CLOTH |
private SoundEvent |
fallSound |
static SoundType |
GLASS |
static SoundType |
GROUND |
private SoundEvent |
hitSound |
static SoundType |
LADDER |
static SoundType |
METAL |
float |
pitch |
private SoundEvent |
placeSound |
static SoundType |
PLANT |
static SoundType |
SAND |
static SoundType |
SLIME |
static SoundType |
SNOW |
private SoundEvent |
stepSound |
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
private final SoundEvent breakSound
private final SoundEvent stepSound
private final SoundEvent placeSound
private final SoundEvent hitSound
private final SoundEvent fallSound
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()