Class BoarPlayer

java.lang.Object
ac.boar.anticheat.player.data.PlayerData
ac.boar.anticheat.player.BoarPlayer

public final class BoarPlayer extends PlayerData
  • Field Details

  • Constructor Details

  • Method Details

    • isClosed

      public boolean isClosed()
    • sendLatencyStack

      public void sendLatencyStack(Acknowledgment ack)
      Register an acknowledgment to be associated with the current Bedrock batch.
    • sendLatencyStack

      public void sendLatencyStack()
      Emit a keepalive ping (no acknowledgment). Used by serverTick for liveness detection when the server is idle and not sending packets
    • queueAcknowledgment

      public void queueAcknowledgment(Acknowledgment ack)
      Register an acknowledgment to ride the next outbound bedrock batch's injected NSL. Identical semantics to sendLatencyStack(Acknowledgment) under the default batched transport.
    • isMovementExempted

      public boolean isMovementExempted()
    • kick

      public void kick(String reason)
    • tick

      public void tick()
    • postTick

      public void postTick()
    • getYOffset

      public float getYOffset()
    • getFrictionInfluencedSpeed

      public float getFrictionInfluencedSpeed(float slipperiness)
    • getInBlockState

      public BoarBlockState getInBlockState()
    • onClimbable

      public boolean onClimbable()
    • getJumpPower

      public float getJumpPower()
    • getJumpBoostPower

      public float getJumpBoostPower()
    • jump

      public Vec3 jump(Vec3 vec3)
    • getBlockJumpFactor

      public float getBlockJumpFactor()
    • getBlockPosBelowThatAffectsMyMovement

      public org.cloudburstmc.math.vector.Vector3i getBlockPosBelowThatAffectsMyMovement()
    • getOnPos

      public org.cloudburstmc.math.vector.Vector3i getOnPos(float offset)
    • isRegionUnloaded

      public boolean isRegionUnloaded()
    • containsFluid

      public boolean containsFluid(Box box)
    • doesNotCollide

      public boolean doesNotCollide(float offsetX, float offsetY, float offsetZ)