Class WrapperPlayServerExplosion
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerExplosion
-
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 valuesWrapperPlayServerExplosion
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionfloat
Retrieves the value of field 'knockbackX'float
Retrieves the value of field 'knockbackY'float
Retrieves the value of field 'knockbackZ'float
getPower()
Retrieves the value of field 'power'List<com.comphenix.protocol.wrappers.BlockPosition>
Retrieves the value of field 'toBlow'double
getX()
Retrieves the value of field 'x'double
getY()
Retrieves the value of field 'y'double
getZ()
Retrieves the value of field 'z'void
setKnockbackX
(float value) Sets the value of field 'knockbackX'void
setKnockbackY
(float value) Sets the value of field 'knockbackY'void
setKnockbackZ
(float value) Sets the value of field 'knockbackZ'void
setPower
(float value) Sets the value of field 'power'void
Sets the value of field 'toBlow'void
setX
(double value) Sets the value of field 'x'void
setY
(double value) Sets the value of field 'y'void
setZ
(double value) Sets the value of field 'z'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
-
WrapperPlayServerExplosion
public WrapperPlayServerExplosion()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerExplosion
public WrapperPlayServerExplosion(com.comphenix.protocol.events.PacketContainer packet)
-
-
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'
-
getPower
public float getPower()Retrieves the value of field 'power'- Returns:
- 'power'
-
setPower
public void setPower(float value) Sets the value of field 'power'- Parameters:
value
- New value for field 'power'
-
getToBlow
Retrieves the value of field 'toBlow'- Returns:
- 'toBlow'
-
setToBlow
Sets the value of field 'toBlow'- Parameters:
value
- New value for field 'toBlow'
-
getKnockbackX
public float getKnockbackX()Retrieves the value of field 'knockbackX'- Returns:
- 'knockbackX'
-
setKnockbackX
public void setKnockbackX(float value) Sets the value of field 'knockbackX'- Parameters:
value
- New value for field 'knockbackX'
-
getKnockbackY
public float getKnockbackY()Retrieves the value of field 'knockbackY'- Returns:
- 'knockbackY'
-
setKnockbackY
public void setKnockbackY(float value) Sets the value of field 'knockbackY'- Parameters:
value
- New value for field 'knockbackY'
-
getKnockbackZ
public float getKnockbackZ()Retrieves the value of field 'knockbackZ'- Returns:
- 'knockbackZ'
-
setKnockbackZ
public void setKnockbackZ(float value) Sets the value of field 'knockbackZ'- Parameters:
value
- New value for field 'knockbackZ'
-