HyCodeYourTale
classpublicPriority 1

WorldParticle

com.hypixel.hytale.server.core.asset.type.particle.config.WorldParticle

implements NetworkSerializable

7

Methods

7

Public Methods

5

Fields

2

Constructors

Constants

ArrayCodec<WorldParticle>ARRAY_CODEC= new ArrayCodec<>(CODEC, WorldParticle[]::new)
BuilderCodec<WorldParticle>CODEC= BuilderCodec.builder(WorldParticle.class, WorldParticle::new) .documentation("Particle Syst...
StringCOLOR_DOC= "The colour used if none was specified in the particle settings."
StringPOSITION_OFFSET_DOC= "The position offset from the spawn position."
StringROTATION_OFFSET_DOC= "The rotation offset from the spawn rotation."
StringSCALE_DOC= "The scale of the particle system."
StringSYSTEM_ID_DOC= "The id of the particle system."

Constructors

protected
WorldParticle()
public
WorldParticle(String systemId, Color color, float scale, Vector3f positionOffset, Direction rotationOffset)

Methods

Public Methods (7)

public
Color getColor()
public
Vector3f getPositionOffset()
public
Direction getRotationOffset()
public
float getScale()
public
String getSystemId()
public
com.hypixel.hytale.protocol.WorldParticle toPacket()
@Nonnull
public
String toString()
@Nonnull@Override

Fields

Protected Fields (5)

protectedColor color
protectedVector3f positionOffset
protectedDirection rotationOffset
protectedfloat scale
protectedString systemId

Related Classes