public class SoundPoolEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
location |
private double |
pitch |
private boolean |
streamingSound |
private double |
volume |
Constructor and Description |
---|
SoundPoolEntry(ResourceLocation locationIn,
double pitchIn,
double volumeIn,
boolean streamingSoundIn) |
SoundPoolEntry(SoundPoolEntry locationIn) |
Modifier and Type | Method and Description |
---|---|
double |
getPitch() |
ResourceLocation |
getSoundPoolEntryLocation() |
double |
getVolume() |
boolean |
isStreamingSound() |
void |
setPitch(double pitchIn) |
void |
setVolume(double volumeIn) |
private final ResourceLocation location
private final boolean streamingSound
private double pitch
private double volume
public SoundPoolEntry(ResourceLocation locationIn, double pitchIn, double volumeIn, boolean streamingSoundIn)
public SoundPoolEntry(SoundPoolEntry locationIn)
public ResourceLocation getSoundPoolEntryLocation()
public double getPitch()
public void setPitch(double pitchIn)
public double getVolume()
public void setVolume(double volumeIn)
public boolean isStreamingSound()