NoKnockback

[!] Inferential
Anti-knockback / Velocity — cancels or scales the ~0.4 horizontal KB a sprint-hit applies so the victim barely moves. Nemesis VelocityA/B proxy.
id: noKnockback  ·  class: NoKnockbackCheck  ·  group: Combat

What it detects

Anti-knockback / Velocity — cancels or scales the ~0.4 horizontal KB a sprint-hit applies so the victim barely moves. Nemesis VelocityA/B proxy.

Observer signature

On AttackEvent records the hit tick + attacker yaw + attacker-sprinting into the victim's context. process accumulates the victim's horizontal displacement over a 3-tick post-hit window, then flags at level 1.0 if summed displacement <= 0.1 despite a sprint-hit.

False-positive guards

  • Gated on attacker-sprinting (only sprint-KB is strong enough)
  • Victim-in-vehicle/gliding/riptide exempt
  • Recent-teleport exempt (tick - lastTeleportTick < 5)
  • Server-lag exempt (tick - lastServerLagTick <= 4 or lastLagBurstTick <= 2)
  • KB-dampening surface at feet exempt (liquid/cobweb/soul sand/honey)
  • Wall in KB direction exempt (multi-band sweep)

Configuration

Defaults (editable in-game via the YACL config screen or /ius config):

FieldDefault
enabledtrue
setbackVL5.0
decay1.0
threshold0.61
window3 ticks
min move0.1 blocks

Source

src/main/kotlin/dev/iustitia/checks/combat/NoKnockbackCheck.kt  ↗