Skip to content

ParticleUtil

Package: com.hypixel.hytale.server.core.universe.world

public class ParticleUtil

Static utility for spawning particle effects in the world. Provides numerous overloads accepting different combinations of position, rotation, scale, color, source entity, and player recipient lists. Sends SpawnParticleSystem packets to nearby players. The default particle visibility distance is 75 blocks.

FieldTypeValueDescription
DEFAULT_PARTICLE_DISTANCEdouble75.0Default distance for spatial player collection.
MethodDescription
spawnParticleEffect(String, Vector3d, ComponentAccessor)Spawns a named particle at a position, auto-collecting nearby players within 75 blocks.
spawnParticleEffect(String, Vector3d, List, ComponentAccessor)Spawns a named particle for an explicit list of player refs.
spawnParticleEffect(WorldParticle, Vector3d, List, ComponentAccessor)Spawns a WorldParticle with position/rotation offsets applied.
spawnParticleEffects(WorldParticle[], Vector3d, Ref, List, ComponentAccessor)Spawns an array of particle effects at a single position.
spawnParticleEffect(String, double, double, double, float, float, float, float, Color, Ref, List, ComponentAccessor)Full overload with rotation, scale, color, and source exclusion.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.