classpublicPriority 1
ParticleSystem
com.hypixel.hytale.server.core.asset.type.particle.config.ParticleSystem
implements JsonAssetWithMap<String, DefaultAssetMap<String, ParticleSystem>>, NetworkSerializable
10
Methods
10
Public Methods
9
Fields
2
Constructors
Constants
AssetBuilderCodec<String, ParticleSystem>CODEC= AssetBuilderCodec.builder(
ParticleSystem.class,
ParticleSystem::new,
...
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ParticleSystem::getAssetStore))
Constructors
protected
ParticleSystem()public
ParticleSystem(String id, float lifeSpan, ParticleSpawnerGroup[] spawners, float cullDistance, float boundingRadius, boolean isImportant)Methods
Public Methods (10)
publicstatic
DefaultAssetMap<String, ParticleSystem> getAssetMap()publicstatic
AssetStore<String, ParticleSystem, DefaultAssetMap<String, ParticleSystem>> getAssetStore()public
float getBoundingRadius()public
float getCullDistance()public
String getId()public
float getLifeSpan()public
ParticleSpawnerGroup[] getSpawners()public
boolean isImportant()public
com.hypixel.hytale.protocol.ParticleSystem toPacket()@Nonnull
public
String toString()@Nonnull@Override
Fields
Protected Fields (7)
protected
float boundingRadiusprotected
float cullDistanceprotected
AssetExtraInfo.Data dataprotected
String idprotected
boolean isImportantprotected
float lifeSpanprotected
ParticleSpawnerGroup[] spawnersPrivate/Package Fields (2)
private
AssetStore<String, ParticleSystem, DefaultAssetMap<String, ParticleSystem>> ASSET_STOREprivate
SoftReference<com.hypixel.hytale.protocol.ParticleSystem> cachedPacket