Class StaticSeatExit

java.lang.Object
ac.boar.anticheat.player.data.StaticSeatExit

public final class StaticSeatExit extends Object
Picks the exit spot in the same order the client does when a static seat ejects its rider. The exit position the client claims is never used.
  • Method Details

    • seatOrigin

      public static org.cloudburstmc.math.vector.Vector3f seatOrigin(StaticSeatTracker.Actor actor, org.cloudburstmc.math.vector.Vector3f offset)
    • select

      public static StaticSeatExit.Result select(BoarPlayer player, StaticSeatTracker.Actor actor)
      Null means Boar cannot pick the exit: a block or block read is unknown, or the case is outside this model (a non-finite seat or box, a box width or height of 0 or less, a height above 8, a seat actor with |x| or |z| above 30,000,000 or near the world's min or max Y). The fallback is returned only after all 24 candidates are known to fail.