Class HorseJumpEffect

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

public final class HorseJumpEffect extends Object
  • Constructor Details

    • HorseJumpEffect

      public HorseJumpEffect()
  • Method Details

    • trackSpawn

      public void trackSpawn()
    • update

      public void update(int amplifier, int rawDuration, long sentInput, long ackInput)
    • remove

      public void remove()
    • invalidateClock

      public void invalidateClock()
    • tick

      public void tick()
    • known

      public boolean known()
    • uncertainActiveBoost

      public float uncertainActiveBoost()
      The boost of the acknowledged amplifier, for an effect we are not sure about. Call only when known() is false (HorseTicker.travelTick). NaN for a horse not tracked from its spawn. A tracked unknown effect always came from update(). Missing or removed effects are known. Uses the saved amplifier even on the expiry tick, when duration is already zero.
    • boost

      public float boost()