public class PositionedSoundRecord extends PositionedSound
ISound.AttenuationType
attenuationType, category, pitch, positionedSoundLocation, repeat, repeatDelay, sound, volume, xPosF, yPosF, zPosF
Constructor and Description |
---|
PositionedSoundRecord(ResourceLocation soundId,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
PositionedSoundRecord(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
BlockPos pos) |
PositionedSoundRecord(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
float xIn,
float yIn,
float zIn) |
Modifier and Type | Method and Description |
---|---|
static PositionedSoundRecord |
getMasterRecord(SoundEvent soundIn,
float pitchIn) |
static PositionedSoundRecord |
getMusicRecord(SoundEvent soundIn) |
static PositionedSoundRecord |
getRecord(SoundEvent soundIn,
float pitchIn,
float volumeIn) |
static PositionedSoundRecord |
getRecordSoundRecord(SoundEvent soundIn,
float xIn,
float yIn,
float zIn) |
canRepeat, createAccessor, getAttenuationType, getCategory, getPitch, getRepeatDelay, getSound, getSoundLocation, getVolume, getXPosF, getYPosF, getZPosF
public PositionedSoundRecord(SoundEvent soundIn, SoundCategory categoryIn, float volumeIn, float pitchIn, BlockPos pos)
public PositionedSoundRecord(SoundEvent soundIn, SoundCategory categoryIn, float volumeIn, float pitchIn, float xIn, float yIn, float zIn)
public PositionedSoundRecord(ResourceLocation soundId, SoundCategory categoryIn, float volumeIn, float pitchIn, boolean repeatIn, int repeatDelayIn, ISound.AttenuationType attenuationTypeIn, float xIn, float yIn, float zIn)
public static PositionedSoundRecord getMasterRecord(SoundEvent soundIn, float pitchIn)
public static PositionedSoundRecord getRecord(SoundEvent soundIn, float pitchIn, float volumeIn)
public static PositionedSoundRecord getMusicRecord(SoundEvent soundIn)
public static PositionedSoundRecord getRecordSoundRecord(SoundEvent soundIn, float xIn, float yIn, float zIn)