Class WrapperPlayServerExplosion

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerExplosion

public class WrapperPlayServerExplosion extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
    Constructs a new wrapper and initialize it with a packet handle with default values
    WrapperPlayServerExplosion(com.comphenix.protocol.events.PacketContainer packet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Retrieves the value of field 'knockbackX'
    float
    Retrieves the value of field 'knockbackY'
    float
    Retrieves the value of field 'knockbackZ'
    float
    Retrieves the value of field 'power'
    List<com.comphenix.protocol.wrappers.BlockPosition>
    Retrieves the value of field 'toBlow'
    double
    Retrieves the value of field 'x'
    double
    Retrieves the value of field 'y'
    double
    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
    setToBlow(List<com.comphenix.protocol.wrappers.BlockPosition> value)
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The 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

      public List<com.comphenix.protocol.wrappers.BlockPosition> getToBlow()
      Retrieves the value of field 'toBlow'
      Returns:
      'toBlow'
    • setToBlow

      public void setToBlow(List<com.comphenix.protocol.wrappers.BlockPosition> value)
      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'