Class WrapperPlayServerWorldParticles
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerWorldParticles
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerWorldParticles
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
Retrieves the value of field 'count'float
Retrieves the value of field 'maxSpeed'boolean
Retrieves the value of field 'overrideLimiter'com.comphenix.protocol.wrappers.WrappedParticle
Retrieves the value of field 'particle'double
getX()
Retrieves the value of field 'x'float
getXDist()
Retrieves the value of field 'xDist'double
getY()
Retrieves the value of field 'y'float
getYDist()
Retrieves the value of field 'yDist'double
getZ()
Retrieves the value of field 'z'float
getZDist()
Retrieves the value of field 'zDist'void
setCount
(int value) Sets the value of field 'count'void
setMaxSpeed
(float value) Sets the value of field 'maxSpeed'void
setOverrideLimiter
(boolean value) Sets the value of field 'overrideLimiter'void
setParticle
(com.comphenix.protocol.wrappers.WrappedParticle value) Sets the value of field 'particle'void
setX
(double value) Sets the value of field 'x'void
setXDist
(float value) Sets the value of field 'xDist'void
setY
(double value) Sets the value of field 'y'void
setYDist
(float value) Sets the value of field 'yDist'void
setZ
(double value) Sets the value of field 'z'void
setZDist
(float value) Sets the value of field 'zDist'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerWorldParticles
public WrapperPlayServerWorldParticles()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerWorldParticles
public WrapperPlayServerWorldParticles(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet- Parameters:
packet
- the packet to wrap
-
-
Method Details
-
getX
public double getX()Retrieves the value of field 'x'- Returns:
- 'x'
-
setX
public void setX(double value) Sets the value of field 'x'- Parameters:
value
- New value for field 'x'
-
getY
public double getY()Retrieves the value of field 'y'- Returns:
- 'y'
-
setY
public void setY(double value) Sets the value of field 'y'- Parameters:
value
- New value for field 'y'
-
getZ
public double getZ()Retrieves the value of field 'z'- Returns:
- 'z'
-
setZ
public void setZ(double value) Sets the value of field 'z'- Parameters:
value
- New value for field 'z'
-
getXDist
public float getXDist()Retrieves the value of field 'xDist'- Returns:
- 'xDist'
-
setXDist
public void setXDist(float value) Sets the value of field 'xDist'- Parameters:
value
- New value for field 'xDist'
-
getYDist
public float getYDist()Retrieves the value of field 'yDist'- Returns:
- 'yDist'
-
setYDist
public void setYDist(float value) Sets the value of field 'yDist'- Parameters:
value
- New value for field 'yDist'
-
getZDist
public float getZDist()Retrieves the value of field 'zDist'- Returns:
- 'zDist'
-
setZDist
public void setZDist(float value) Sets the value of field 'zDist'- Parameters:
value
- New value for field 'zDist'
-
getMaxSpeed
public float getMaxSpeed()Retrieves the value of field 'maxSpeed'- Returns:
- 'maxSpeed'
-
setMaxSpeed
public void setMaxSpeed(float value) Sets the value of field 'maxSpeed'- Parameters:
value
- New value for field 'maxSpeed'
-
getCount
public int getCount()Retrieves the value of field 'count'- Returns:
- 'count'
-
setCount
public void setCount(int value) Sets the value of field 'count'- Parameters:
value
- New value for field 'count'
-
getOverrideLimiter
public boolean getOverrideLimiter()Retrieves the value of field 'overrideLimiter'- Returns:
- 'overrideLimiter'
-
setOverrideLimiter
public void setOverrideLimiter(boolean value) Sets the value of field 'overrideLimiter'- Parameters:
value
- New value for field 'overrideLimiter'
-
getParticle
public com.comphenix.protocol.wrappers.WrappedParticle getParticle()Retrieves the value of field 'particle'- Returns:
- 'particle'
-
setParticle
public void setParticle(com.comphenix.protocol.wrappers.WrappedParticle value) Sets the value of field 'particle'- Parameters:
value
- New value for field 'particle'
-