public class ContinuousSound
extends net.minecraft.client.audio.TickableSound
| Modifier | Constructor and Description |
|---|---|
protected |
ContinuousSound(net.minecraft.util.SoundEvent event,
com.simibubi.create.foundation.sound.SoundScape scape,
float sharedPitch,
float relativeVolume) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPitch() |
float |
getVolume() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
remove() |
void |
tick() |
getAttenuation, getDelay, getLocation, getSound, getSource, isLooping, isRelative, resolve, toStringprotected ContinuousSound(net.minecraft.util.SoundEvent event,
com.simibubi.create.foundation.sound.SoundScape scape,
float sharedPitch,
float relativeVolume)
public void remove()
public float getVolume()
getVolume in interface net.minecraft.client.audio.ISoundgetVolume in class net.minecraft.client.audio.LocatableSoundpublic float getPitch()
getPitch in interface net.minecraft.client.audio.ISoundgetPitch in class net.minecraft.client.audio.LocatableSoundpublic double getX()
getX in interface net.minecraft.client.audio.ISoundgetX in class net.minecraft.client.audio.LocatableSoundpublic double getY()
getY in interface net.minecraft.client.audio.ISoundgetY in class net.minecraft.client.audio.LocatableSoundpublic double getZ()
getZ in interface net.minecraft.client.audio.ISoundgetZ in class net.minecraft.client.audio.LocatableSoundpublic void tick()