public class Sound extends java.lang.Object implements ISoundEventAccessor<Sound>
Modifier and Type | Class and Description |
---|---|
static class |
Sound.Type |
Constructor and Description |
---|
Sound(java.lang.String nameIn,
float volumeIn,
float pitchIn,
int weightIn,
Sound.Type typeIn,
boolean p_i46526_6_) |
Modifier and Type | Method and Description |
---|---|
Sound |
cloneEntry() |
float |
getPitch() |
ResourceLocation |
getSoundAsOggLocation() |
ResourceLocation |
getSoundLocation() |
Sound.Type |
getType() |
float |
getVolume() |
int |
getWeight() |
boolean |
isStreaming() |
public Sound(java.lang.String nameIn, float volumeIn, float pitchIn, int weightIn, Sound.Type typeIn, boolean p_i46526_6_)
public ResourceLocation getSoundLocation()
public ResourceLocation getSoundAsOggLocation()
public float getVolume()
public float getPitch()
public int getWeight()
getWeight
in interface ISoundEventAccessor<Sound>
public Sound cloneEntry()
cloneEntry
in interface ISoundEventAccessor<Sound>
public Sound.Type getType()
public boolean isStreaming()