ParticleUtil

public class ParticleUtil

Class ParticleUtil. Provides particleutil functionality for the Hytale server.

java.lang.Object > ParticleUtil

Field Summary

playerRefs

final ObjectList> playerRefs

Field playerRefs.

positionOffset

final com.hypixel.hytale.protocol.Vector3f positionOffset

Field positionOffset.

offset

final Vector3d offset

Field offset.

rotationOffset

final Direction rotationOffset

Field rotationOffset.

systemId

final String systemId

Field systemId.

packet

final SpawnParticleSystem packet

Field packet.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

spawnParticleEffect

static void spawnParticleEffect (@Nonnull final String name, @Nonnull final Vector3d position, @Nonnull final ComponentAccessor componentAccessor)

Method spawnParticleEffect.

Parameters:
@Nonnull final String name
@Nonnull final Vector3d position
@Nonnull final ComponentAccessor componentAccessor

spawnParticleEffects

static void spawnParticleEffects (@Nonnull final WorldParticle[] particles, @Nonnull final Vector3d position, @Nullable final Ref sourceRef, @Nonnull final List> playerRefs, @Nonnull final ComponentAccessor componentAccessor)

Method spawnParticleEffects.

Parameters:
@Nonnull final WorldParticle[] particles
@Nonnull final Vector3d position
@Nullable final Ref sourceRef
@Nonnull final List> playerRefs
@Nonnull final ComponentAccessor componentAccessor

SpawnParticleSystem

public new SpawnParticleSystem (name, new Position(x, y, z)

Method SpawnParticleSystem.

Parameters:
name name
new Position(x
y y
z z