类 ClientboundMoveEntityPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundMoveEntityPacket
所有已实现的接口:
Packet<ClientGamePacketListener>
直接已知子类:
ClientboundMoveEntityPacket.Pos, ClientboundMoveEntityPacket.PosRot, ClientboundMoveEntityPacket.Rot

public abstract class ClientboundMoveEntityPacket extends Object implements Packet<ClientGamePacketListener>
  • 字段详细资料

    • 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
  • 构造器详细资料

    • ClientboundMoveEntityPacket

      protected ClientboundMoveEntityPacket(int pEntityId, short pXa, short pYa, short pZa, byte pYRot, byte pXRot, boolean pOnGround, boolean pHasRot, boolean pHasPos)
  • 方法详细资料

    • handle

      public void handle(ClientGamePacketListener pHandler)
      指定者:
      handle 在接口中 Packet<ClientGamePacketListener>
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • getEntity

      @Nullable public Entity getEntity(Level pLevel)
    • 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()