public class SimpleSound extends LocatableSound
ISound.AttenuationType
attenuationType, category, global, pitch, positionedSoundLocation, priority, repeat, repeatDelay, sound, volume, x, y, z
Modifier | Constructor and Description |
---|---|
|
SimpleSound(ResourceLocation soundIdIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn,
boolean globalIn) |
|
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
BlockPos pos) |
private |
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
|
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
float xIn,
float yIn,
float zIn) |
Modifier and Type | Method and Description |
---|---|
static SimpleSound |
master(SoundEvent soundIn,
float pitchIn) |
static SimpleSound |
master(SoundEvent soundIn,
float pitchIn,
float volumeIn) |
static SimpleSound |
music(SoundEvent soundIn) |
static SimpleSound |
record(SoundEvent soundIn,
float xIn,
float yIn,
float zIn) |
canRepeat, createAccessor, getAttenuationType, getCategory, getPitch, getRepeatDelay, getSound, getSoundLocation, getVolume, getX, getY, getZ, isGlobal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeSilent
public SimpleSound(SoundEvent soundIn, SoundCategory categoryIn, float volumeIn, float pitchIn, BlockPos pos)
public SimpleSound(SoundEvent soundIn, SoundCategory categoryIn, float volumeIn, float pitchIn, float xIn, float yIn, float zIn)
private SimpleSound(SoundEvent soundIn, SoundCategory categoryIn, float volumeIn, float pitchIn, boolean repeatIn, int repeatDelayIn, ISound.AttenuationType attenuationTypeIn, float xIn, float yIn, float zIn)
public SimpleSound(ResourceLocation soundIdIn, SoundCategory categoryIn, float volumeIn, float pitchIn, boolean repeatIn, int repeatDelayIn, ISound.AttenuationType attenuationTypeIn, float xIn, float yIn, float zIn, boolean globalIn)
public static SimpleSound master(SoundEvent soundIn, float pitchIn)
public static SimpleSound master(SoundEvent soundIn, float pitchIn, float volumeIn)
public static SimpleSound music(SoundEvent soundIn)
public static SimpleSound record(SoundEvent soundIn, float xIn, float yIn, float zIn)