PhaseClip

[X] Definitive
Phase / no-clip detector — the Phase cheat moves through solid blocks. Samples lower-body and upper-body centers; requires BOTH bands inside a FULL-CUBE solid (not either), so a player standing against a wall has at most one band in a solid. Sustained >=5 ticks.
id: phaseClip  ·  class: PhaseClipCheck  ·  group: Movement

What it detects

Phase / no-clip detector — the Phase cheat moves through solid blocks. Samples lower-body and upper-body centers; requires BOTH bands inside a FULL-CUBE solid (not either), so a player standing against a wall has at most one band in a solid. Sustained >=5 ticks.

Observer signature

inside = isFullCubeSolidAt(lowerY) && isFullCubeSolidAt(upperY); trapped discriminator: if horiz < 0.05 && isFullCubeSolidAt(upperY+1) (enclosed pocket, KB-pinned) -> reset; else streak++, flag at streak >= 5.

False-positive guards

  • Vehicle/gliding/swimming exempt
  • Teleport exempt (tick - lastTeleportTick < 10)
  • Hurt exempt (tick - hurtTick < 3)
  • Server-lag exempt (LAG_WINDOW=8 / BURST_WINDOW=3, skip without touching streak)
  • Climbable/occupiable blocks excluded via isFullCubeSolidAt (ladders/scaffolding/bamboo/cobweb/honey return false)
  • Trapped-pocket discriminator resets a KB-pinned player

Configuration

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

FieldDefault
enabledtrue
setbackVL5.0
decay0.5
threshold1.0
streak5 ticks
LAG_WINDOW8
BURST_WINDOW3

Source

src/main/kotlin/dev/iustitia/checks/movement/PhaseClipCheck.kt  ↗