public class SoundEventAccessorComposite extends java.lang.Object implements ISoundEventAccessor<SoundPoolEntry>
Constructor and Description |
---|
SoundEventAccessorComposite(ResourceLocation soundLocation,
double pitch,
double volume,
SoundCategory category) |
Modifier and Type | Method and Description |
---|---|
void |
addSoundToEventPool(ISoundEventAccessor<SoundPoolEntry> sound) |
SoundPoolEntry |
cloneEntry() |
SoundCategory |
getSoundCategory() |
ResourceLocation |
getSoundEventLocation() |
int |
getWeight() |
public SoundEventAccessorComposite(ResourceLocation soundLocation, double pitch, double volume, SoundCategory category)
public int getWeight()
getWeight
in interface ISoundEventAccessor<SoundPoolEntry>
public SoundPoolEntry cloneEntry()
cloneEntry
in interface ISoundEventAccessor<SoundPoolEntry>
public void addSoundToEventPool(ISoundEventAccessor<SoundPoolEntry> sound)
public ResourceLocation getSoundEventLocation()
public SoundCategory getSoundCategory()