Class UncertainRunner

java.lang.Object
ac.boar.anticheat.prediction.UncertainRunner

public class UncertainRunner extends Object
  • Constructor Details

    • UncertainRunner

      public UncertainRunner()
  • Method Details

    • uncertainPushTowardsTheClosetSpace

      public void uncertainPushTowardsTheClosetSpace()
      Note: for anticheat developers on other platform, this code if when the player have the flag PUSH_TOWARDS_CLOSEST_SPACE if there isn't, the player can be instantly push out by bruteforce direction to push out then getting the direction with the smallest value (...) I can't remember the max value to be pushed out, maybe around 0.8+? but yep. You can either do uncertainty or calculate it that way. However, without the flag getting into crawling mode is annoying and who knows is mojang going to break it or not.
    • extraDripstoneOffsetNonTickEnd

      public float extraDripstoneOffsetNonTickEnd(float offset)
    • extraOffset

      public float extraOffset(float offset)