classpublicPriority 3
SoundEventLayer
com.hypixel.hytale.server.core.asset.type.soundevent.config.SoundEventLayer
implements NetworkSerializable
16
Methods
16
Public Methods
9
Fields
2
Constructors
Constants
Codec<SoundEventLayer>CODEC= BuilderCodec.builder(SoundEventLayer.class, SoundEventLayer::new)
.append(
new Key...
Codec<SoundEventLayer.RandomSettings>CODEC= BuilderCodec.builder(
SoundEventLayer.RandomSettings.class, SoundEventLayer.RandomSet...
SoundEventLayer.RandomSettingsDEFAULT= new SoundEventLayer.RandomSettings()
Constructors
protected
SoundEventLayer()public
SoundEventLayer(float volume, float startDelay, boolean looping, int probability, float probabilityRerollDelay, SoundEventLayer.RandomSettings randomSettings, String[] files, int roundRobinHistorySize)Methods
Public Methods (16)
public
String[] getFiles()public
int getHighestNumberOfChannels()public
float getMaxPitch()public
float getMaxStartOffset()public
float getMaxVolume()public
float getMinPitch()public
float getMinVolume()public
int getProbability()public
float getProbabilityRerollDelay()public
SoundEventLayer.RandomSettings getRandomSettings()public
int getRoundRobinHistorySize()public
float getStartDelay()public
float getVolume()public
boolean isLooping()public
com.hypixel.hytale.protocol.SoundEventLayer toPacket()@Nonnull
public
String toString()@Nonnull@Override
Fields
Protected Fields (9)
protected
String[] filesprotected
transient int highestNumberOfChannelsprotected
boolean loopingprotected
int probabilityprotected
float probabilityRerollDelayprotected
SoundEventLayer.RandomSettings randomSettingsprotected
int roundRobinHistorySizeprotected
float startDelayprotected
transient float volume