Class EntityMovementFlags

java.lang.Object
ac.boar.anticheat.util.EntityMovementFlags

public final class EntityMovementFlags extends Object
Reads entity movement packets the way the wire encodes them: the delta flags (by this session's protocol version) and the byte angles.
  • Method Details

    • isDeltaOnGround

      public static boolean isDeltaOnGround(org.cloudburstmc.protocol.bedrock.packet.MoveEntityDeltaPacket packet, int protocolVersion)
    • isDeltaTeleport

      public static boolean isDeltaTeleport(org.cloudburstmc.protocol.bedrock.packet.MoveEntityDeltaPacket packet, int protocolVersion)
    • isDeltaForceMoveLocal

      public static boolean isDeltaForceMoveLocal(org.cloudburstmc.protocol.bedrock.packet.MoveEntityDeltaPacket packet, int protocolVersion)
    • isDeltaForceCompletion

      public static boolean isDeltaForceCompletion(org.cloudburstmc.protocol.bedrock.packet.MoveEntityDeltaPacket packet, int protocolVersion)
    • wireByteAngle

      public static float wireByteAngle(float angle)