classpublicPriority 3
ReverbEffect
com.hypixel.hytale.server.core.asset.type.reverbeffect.config.ReverbEffect
implements JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, ReverbEffect>>, NetworkSerializable
19
Methods
19
Public Methods
12
Fields
2
Constructors
Constants
AssetBuilderCodec<String, ReverbEffect>CODEC= AssetBuilderCodec.builder(
ReverbEffect.class, ReverbEffect::new, Codec.STRING, (t, k) -...
StringEMPTY= "EMPTY"
intEMPTY_ID= 0
ReverbEffectEMPTY_REVERB_EFFECT= new ReverbEffect("EMPTY")
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ReverbEffect::getAssetStore))
Constructors
protected
ReverbEffect()public
ReverbEffect(String id)Methods
Public Methods (19)
public
float getAirAbsorptionHighFrequencyGain()publicstatic
IndexedLookupTableAssetMap<String, ReverbEffect> getAssetMap()publicstatic
AssetStore<String, ReverbEffect, IndexedLookupTableAssetMap<String, ReverbEffect>> getAssetStore()public
float getDecayTime()public
float getDiffusion()public
float getDryGain()public
float getGain()public
float getHighFrequencyDecayRatio()public
float getHighFrequencyGain()public
String getId()public
float getLateReverbDelay()public
float getLateReverbGain()public
float getModalDensity()public
float getReflectionDelay()public
float getReflectionGain()public
float getRoomRolloffFactor()public
boolean isLimitDecayHighFrequency()public
com.hypixel.hytale.protocol.ReverbEffect toPacket()@Nonnull
public
String toString()@Nonnull@Override
Fields
Protected Fields (10)
protected
AssetExtraInfo.Data dataprotected
float decayTimeprotected
float diffusionprotected
float highFrequencyDecayRatioprotected
String idprotected
float lateReverbDelayprotected
boolean limitDecayHighFrequencyprotected
float modalDensityprotected
float reflectionDelayprotected
float roomRolloffFactorPrivate/Package Fields (2)
private
AssetStore<String, ReverbEffect, IndexedLookupTableAssetMap<String, ReverbEffect>> ASSET_STOREprivate
SoftReference<com.hypixel.hytale.protocol.ReverbEffect> cachedPacket