Class ClientboundMoveEntityPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>
Direct Known Subclasses:
ClientboundMoveEntityPacket.Pos, ClientboundMoveEntityPacket.PosRot, ClientboundMoveEntityPacket.Rot

public abstract class ClientboundMoveEntityPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • entityId

      protected final int entityId
    • xa

      protected final short xa
    • ya

      protected final short ya
    • za

      protected final short za
    • yRot

      protected final byte yRot
    • xRot

      protected final byte xRot
    • onGround

      protected final boolean onGround
    • hasRot

      protected final boolean hasRot
    • hasPos

      protected final boolean hasPos
  • Constructor Details

    • ClientboundMoveEntityPacket

      protected ClientboundMoveEntityPacket(int p_178988_, short p_178989_, short p_178990_, short p_178991_, byte p_178992_, byte p_178993_, boolean p_178994_, boolean p_178995_, boolean p_178996_)
  • Method Details

    • handle

      public void handle(ClientGamePacketListener p_132528_)
      Specified by:
      handle in interface Packet<ClientGamePacketListener>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getEntity

      @Nullable public Entity getEntity(Level p_132520_)
    • getXa

      public short getXa()
    • getYa

      public short getYa()
    • getZa

      public short getZa()
    • getyRot

      public byte getyRot()
    • getxRot

      public byte getxRot()
    • hasRotation

      public boolean hasRotation()
    • hasPosition

      public boolean hasPosition()
    • isOnGround

      public boolean isOnGround()