Class WrapperPlayClientGround

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientGround

public class WrapperPlayClientGround extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.comphenix.protocol.PacketType
     

    Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    handle
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WrapperPlayClientGround(com.comphenix.protocol.events.PacketContainer packet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Retrieves the value of field 'hasPos'
    boolean
    Retrieves the value of field 'hasRot'
    double
    Retrieves the value of field 'x'
    float
    Retrieves the value of field 'xRot'
    double
    Retrieves the value of field 'y'
    float
    Retrieves the value of field 'yRot'
    double
    Retrieves the value of field 'z'
    void
    setHasPos(boolean value)
    Sets the value of field 'hasPos'
    void
    setHasRot(boolean value)
    Sets the value of field 'hasRot'
    void
    setX(double value)
    Sets the value of field 'x'
    void
    setXRot(float value)
    Sets the value of field 'xRot'
    void
    setY(double value)
    Sets the value of field 'y'
    void
    setYRot(float value)
    Sets the value of field 'yRot'
    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
  • Constructor Details

    • WrapperPlayClientGround

      public WrapperPlayClientGround()
    • WrapperPlayClientGround

      public WrapperPlayClientGround(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'
    • getYRot

      public float getYRot()
      Retrieves the value of field 'yRot'
      Returns:
      'yRot'
    • setYRot

      public void setYRot(float value)
      Sets the value of field 'yRot'
      Parameters:
      value - New value for field 'yRot'
    • getXRot

      public float getXRot()
      Retrieves the value of field 'xRot'
      Returns:
      'xRot'
    • setXRot

      public void setXRot(float value)
      Sets the value of field 'xRot'
      Parameters:
      value - New value for field 'xRot'
    • getHasPos

      public boolean getHasPos()
      Retrieves the value of field 'hasPos'
      Returns:
      'hasPos'
    • setHasPos

      public void setHasPos(boolean value)
      Sets the value of field 'hasPos'
      Parameters:
      value - New value for field 'hasPos'
    • getHasRot

      public boolean getHasRot()
      Retrieves the value of field 'hasRot'
      Returns:
      'hasRot'
    • setHasRot

      public void setHasRot(boolean value)
      Sets the value of field 'hasRot'
      Parameters:
      value - New value for field 'hasRot'