HyCodeYourTale
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)

protectedString[] files
protectedtransient int highestNumberOfChannels
protectedboolean looping
protectedint probability
protectedfloat probabilityRerollDelay
protectedSoundEventLayer.RandomSettings randomSettings
protectedint roundRobinHistorySize
protectedfloat startDelay
protectedtransient float volume

Related Classes