Class SEntityPacket

    • Field Detail

      • entityId

        protected int entityId
      • xa

        protected short xa
      • ya

        protected short ya
      • za

        protected short za
      • yRot

        protected byte yRot
      • xRot

        protected byte xRot
      • onGround

        protected boolean onGround
      • hasRot

        protected boolean hasRot
      • hasPos

        protected boolean hasPos
    • Constructor Detail

      • SEntityPacket

        public SEntityPacket()
      • SEntityPacket

        public SEntityPacket​(int p_i46936_1_)
    • Method Detail

      • entityToPacket

        public static long entityToPacket​(double p_218743_0_)
      • packetToEntity

        public static double packetToEntity​(long p_244299_0_)
      • updateEntityPosition

        public Vector3d updateEntityPosition​(Vector3d p_244300_1_)
      • packetToEntity

        public static Vector3d packetToEntity​(long p_218744_0_,
                                              long p_218744_2_,
                                              long p_218744_4_)
      • toString

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

        @Nullable
        public Entity getEntity​(World p_149065_1_)
      • getyRot

        public byte getyRot()
      • getxRot

        public byte getxRot()
      • hasRotation

        public boolean hasRotation()
      • hasPosition

        public boolean hasPosition()
      • isOnGround

        public boolean isOnGround()