public class SimpleSound extends AbstractSound
ISound.AttenuationType
attenuationType, category, pitch, positionedSoundLocation, priority, repeat, repeatDelay, sound, volume, x, y, z
Constructor and Description |
---|
SimpleSound(ResourceLocation soundId,
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,
BlockPos pos) |
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
float xIn,
float yIn,
float zIn) |
Modifier and Type | Method and Description |
---|---|
static SimpleSound |
getMasterRecord(SoundEvent soundIn,
float pitchIn) |
static SimpleSound |
getMusicRecord(SoundEvent soundIn) |
static SimpleSound |
getRecord(SoundEvent soundIn,
float pitchIn,
float volumeIn) |
static SimpleSound |
getRecordSoundRecord(SoundEvent soundIn,
float xIn,
float yIn,
float zIn) |
canRepeat, createAccessor, getAttenuationType, getCategory, getPitch, getRepeatDelay, getSound, getSoundLocation, getVolume, getX, getY, getZ, isPriority
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)
public SimpleSound(ResourceLocation soundId, SoundCategory categoryIn, float volumeIn, float pitchIn, boolean repeatIn, int repeatDelayIn, ISound.AttenuationType attenuationTypeIn, float xIn, float yIn, float zIn)
public static SimpleSound getMasterRecord(SoundEvent soundIn, float pitchIn)
public static SimpleSound getRecord(SoundEvent soundIn, float pitchIn, float volumeIn)
public static SimpleSound getMusicRecord(SoundEvent soundIn)
public static SimpleSound getRecordSoundRecord(SoundEvent soundIn, float xIn, float yIn, float zIn)