ParticleUtil
Package: com.hypixel.hytale.server.core.universe.world
public class ParticleUtilStatic 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.
Constants
Section titled “Constants”| Field | Type | Value | Description |
|---|---|---|---|
DEFAULT_PARTICLE_DISTANCE | double | 75.0 | Default distance for spatial player collection. |
Key Methods
Section titled “Key Methods”| Method | Description |
|---|---|
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.