public class SoundEventAccessor extends java.lang.Object implements ISoundEventAccessor<Sound>
Modifier and Type | Field and Description |
---|---|
private java.util.List<ISoundEventAccessor<Sound>> |
accessorList |
private ResourceLocation |
location |
private java.util.Random |
rnd |
private ITextComponent |
subtitle |
Constructor and Description |
---|
SoundEventAccessor(ResourceLocation locationIn,
java.lang.String subtitleIn) |
Modifier and Type | Method and Description |
---|---|
void |
addSound(ISoundEventAccessor<Sound> p_188715_1_) |
Sound |
cloneEntry() |
ResourceLocation |
getLocation() |
ITextComponent |
getSubtitle() |
int |
getWeight() |
private final java.util.List<ISoundEventAccessor<Sound>> accessorList
private final java.util.Random rnd
private final ResourceLocation location
private final ITextComponent subtitle
public SoundEventAccessor(ResourceLocation locationIn, @Nullable java.lang.String subtitleIn)
public int getWeight()
getWeight
in interface ISoundEventAccessor<Sound>
public Sound cloneEntry()
cloneEntry
in interface ISoundEventAccessor<Sound>
public void addSound(ISoundEventAccessor<Sound> p_188715_1_)
public ResourceLocation getLocation()
@Nullable public ITextComponent getSubtitle()