Rise 5.99 Velocity: Full Source Analysis
Rise 5.99's Velocity module intercepts S12PacketEntityVelocity and S27PacketExplosion in onPacketReceive and reshapes or removes the knockback vector before the vanilla handler applies it.
Published 2026-08-12 · Updated 2026-08-12
Packets This Module Uses
Analysis
Overview
Rise 5.99's Velocity module intercepts S12PacketEntityVelocity and S27PacketExplosion in onPacketReceive and reshapes or removes the knockback vector before the vanilla handler applies it. Nine modes are selectable: Custom scales the vector by separate horizontal and vertical percentages and cancels the packet when both are zero; Reverse negates the horizontal axes; Vulcan cancels the packet outright and additionally cancels C0F confirmations while hurtTime is positive; Tick Cancel lets the knockback through and then zeroes the client's motion with setVelocity once the Ticks window elapses; Minemenclub cancels the first two knockbacks and zeroes the motion after the third; Stack drops every knockback while stationary and two of every three while moving; Follow First Tick cancels the S12 and re-adds its motion to the next position packet; Ground forces the client-side onGround flag on the tick after a hit; and Redesky combines scaling with a C0B sneak injection and a timer-speed window. An Explosion toggle extends the Custom scaling to S27 explosion knockback, and a More Options group adds delayed horizontal/vertical damping, attack-time damping and a temporary timer boost.
Architecture
All interception funnels through onPacketReceive, which checks the packet type, verifies the entity id against the player, and dispatches on the mode string. The receive handler only touches S12 and S27; everything else is timed in onPreMotion (tick counting, timer-speed windows, delayed damping at hurtTime 8, the Ground onGround fake, the Follow First Tick position offset and the Redesky sneak flush), in onStrafe (the setVelocity(0, 0, 0) zeroing for Tick Cancel and Minemenclub), in onPacketSend (Vulcan's C0F cancellation) and in onAttackEvent (attack-time damping).
State is a handful of fields: ticks, cancelTicks, row, the stored motionX/motionY/motionZ, and the receivingVelocity, countingTicks and lastTick booleans, all reset in onEnable. onUpdateAlwaysInGui hides every mode-specific setting except the active mode's, so the GUI only exposes the sliders that apply. The onlyInAir gate skips the receive handler whenever the player is on the ground and the toggle is on, and the same condition guards the pre-motion logic.
Key techniques
Custom and Redesky scale the packet in place: motionX and motionZ are multiplied by horizontal over 100, motionY by vertical over 100, and the scaled packet replaces the original through event.setPacket, so the vanilla handler applies a reduced vector. When both sliders are zero the packet is cancelled instead, which is the full anti-knockback case. Reverse multiplies only the horizontal axes by -1, turning the push backwards. Follow First Tick cancels the S12, stores the vector divided by 8000, sets motionY to 0.03 and on the next PreMotionEvent adds the stored values to the event's x, y and z, so the knockback is converted into a position delta instead of a velocity. Ground sets thePlayer.onGround to true on the tick after a hit, making movement checks treat the player as grounded when the knockback should have lifted them.
Tick Cancel and Minemenclub defer the zeroing: they count cancelTicks in onPreMotion and, once the threshold (the Ticks setting, default 3) is reached, call setVelocity(0, 0, 0) in onStrafe, but only when Speed, LongJump and Fly are all disabled so the module never fights its own movement modules. Stack uses a row counter: while moving it cancels the first two knockbacks and lets the third through, and while stationary it cancels everything; Minemenclub forces row to 3 when Fly or Speed is active so the zeroing never runs against them.
Mode-specific streams
Redesky is the AAC5-targeted mode: on the S12 it sends a C0BPacketEntityAction START_SNEAKING through addToSendQueueWithoutEvent, cancels the packet and arms receivingVelocity; the next onPreMotion sends STOP_SNEAKING. The sneak pair rides alongside the cancelled knockback so the server sees a sneaking state change around the hit. The same mode, and Custom with More Options, run a timer window: hurtTime == 9 resets ticks, a timerSpeed between 0.1 and 2.0 is applied while ticks stays below timerTicks (0-9), and the speed is restored to 1.0 once the window closes. hurtTime == 8 applies the delayed horizontal/vertical damping to the stored motion, and onAttackEvent applies horizontalAttack and verticalAttack to the live motion while hurtTime is positive.
Vulcan adds its own C0F cancellation while hurtTime is positive, desyncing the transaction stream around the hit, and the Explosion toggle scales or cancels S27 the same way as S12: Custom applies the horizontal/vertical percentages to the explosion offsets, every other mode cancels the packet outright when the toggle is on. The S27 branch only fires when the explosion toggle is enabled, so explosion knockback is untouched by default.
source Velocity.java (module)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |
| 191 | |
| 192 | |
| 193 | |
| 194 | |
| 195 | |
| 196 | |
| 197 | |
| 198 | |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | |
| 216 | |
| 217 | |
| 218 | |
| 219 | |
| 220 | |
| 221 | |
| 222 | |
| 223 | |
| 224 | |
| 225 | |
| 226 | |
| 227 | |
| 228 | |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | |
| 239 | |
| 240 | |
| 241 | |
| 242 | |
| 243 | |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | |
| 265 | |
| 266 | |
| 267 | |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | |
| 286 | |
| 287 | |
| 288 | |
| 289 | |
| 290 | |
| 291 | |
| 292 | |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | |
| 301 | |
| 302 | |
| 303 | |
| 304 | |
| 305 | |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | |
| 315 | |
| 316 | |
| 317 | |
| 318 | |
| 319 | |
| 320 | |
| 321 | |
| 322 | |
| 323 | |
| 324 | |
| 325 | |
| 326 | |
| 327 | |
| 328 | |
| 329 | |
| 330 | |
| 331 | |
| 332 | |
| 333 | |
| 334 | |
| 335 | |
| 336 | |
| 337 | |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | |
| 343 | |
| 344 | |
| 345 | |
| 346 | |
| 347 | |
| 348 | |
| 349 | |
| 350 | |
| 351 | |
| 352 | |
| 353 | |
| 354 | |
| 355 | |
| 356 | |
| 357 | |
| 358 | |
| 359 | |
| 360 | |
| 361 | |
| 362 | |
| 363 | |
| 364 | |
| 365 | |
| 366 | |
| 367 | |
| 368 | |
| 369 | |
| 370 | |
| 371 | |
| 372 | |
| 373 | |
| 374 | |
| 375 | |
| 376 | |
| 377 | |
| 378 | |
| 379 | |
| 380 | |
What this file does
The entire module lives in this one file. onPacketReceive holds the S12 branch with the entity-id check and the mode dispatch, and the S27 explosion branch gated by the explosion toggle; onPreMotion carries the tick counting, the timer window, the delayed damping at hurtTime 8, the Ground onGround fake, the Follow First Tick position offset and the Redesky sneak flush; onStrafe runs the setVelocity(0, 0, 0) zeroing for Tick Cancel and Minemenclub; onPacketSend cancels C0F confirmations in Vulcan mode; and onAttackEvent applies the attack-time damping. The mode setting is a plain string ModeSetting, so every mode shares the same class and the same state fields.
The modes that convert knockback into something else are the notable ones. Follow First Tick cancels the S12 and stores the fixed-point vector divided by 8000 into motionX/motionY/motionZ, then adds those values to the next PreMotionEvent position, so the server sees the movement as a position delta rather than a velocity response. Ground arms receivingVelocity and fakes onGround on the next tick. Tick Cancel and Minemenclub arm countingTicks and zero the motion with setVelocity once cancelTicks reaches the threshold, gated so Speed, LongJump and Fly are never fought. Stack and Minemenclub use the row counter plus MoveUtil.isMoving() to decide which knockbacks are dropped.
The timer window in Custom and Redesky is worth calling out: hurtTime == 9 resets ticks and snapshots the live motion, the timerSpeed setting (0.1 to 2.0) applies while ticks is below timerTicks, and the speed is restored to 1.0 the moment the window closes or the player is younger than 3 ticks. Because timerSpeed multiplies the client's tick rate, a value above 1.0 briefly accelerates the game loop after a hit, which the delayed-damping sliders are meant to compensate for.
source MoveUtil.java (movement helper)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |
| 191 | |
| 192 | |
| 193 | |
| 194 | |
| 195 | |
| 196 | |
| 197 | |
| 198 | |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | |
| 216 | |
| 217 | |
| 218 | |
| 219 | |
| 220 | |
| 221 | |
| 222 | |
| 223 | |
| 224 | |
| 225 | |
| 226 | |
| 227 | |
| 228 | |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | |
| 239 | |
| 240 | |
| 241 | |
| 242 | |
| 243 | |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | |
| 265 | |
| 266 | |
| 267 | |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | |
| 286 | |
| 287 | |
| 288 | |
| 289 | |
| 290 | |
| 291 | |
| 292 | |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | |
| 301 | |
| 302 | |
| 303 | |
| 304 | |
| 305 | |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | |
| 315 | |
| 316 | |
| 317 | |
| 318 | |
| 319 | |
| 320 | |
| 321 | |
| 322 | |
| 323 | |
| 324 | |
| 325 | |
| 326 | |
| 327 | |
| 328 | |
| 329 | |
| 330 | |
| 331 | |
| 332 | |
| 333 | |
| 334 | |
| 335 | |
| 336 | |
| 337 | |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | |
| 343 | |
| 344 | |
| 345 | |
| 346 | |
| 347 | |
| 348 | |
| 349 | |
| 350 | |
| 351 | |
| 352 | |
What this file does
MoveUtil.isMoving() is the only helper the Velocity module reads. It returns true when the player's movementInput has a nonzero moveForward or moveStrafe, i.e. a key is currently held, and it is what distinguishes a stationary player from a moving one in the Stack and Minemenclub modes: Stack cancels every knockback while stationary and only the first two of three while moving, and Minemenclub applies the same row logic with a shortcut that forces row to 3 when Fly or Speed is enabled. The Tick Cancel zeroing in onStrafe does not consult isMoving directly, but it is gated on Speed, LongJump and Fly being disabled, so the helper is the module's only external dependency.
The rest of the file is the client's general movement toolbox: strafe() variants that rewrite motionX/motionZ from the facing yaw at a target speed, forward(), stop() and getSpeed() helpers, and prediction utilities used by other combat and movement modules. Only isMoving is relevant to the Velocity module, which is why the box is included: it shows the exact input state the row-counting logic reads.
anticheat Countering Checks
The anticheat code that detects or counters the techniques this module uses. Full source, with the detection mechanism explained below each box.
anticheat KnockbackHandler (AntiKB, prediction offset)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |
| 191 | |
| 192 | |
| 193 | |
| 194 | |
| 195 | |
| 196 | |
| 197 | |
| 198 | |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | |
| 216 | |
| 217 | |
| 218 | |
| 219 | |
| 220 | |
| 221 | |
| 222 | |
| 223 | |
| 224 | |
| 225 | |
| 226 | |
| 227 | |
| 228 | |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | |
| 239 | |
| 240 | |
| 241 | |
| 242 | |
| 243 | |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
How it counteracts this module
Grim's KnockbackHandler is a PacketSendListener on ENTITY_VELOCITY that sandwiches the packet between two server transactions: sendTransaction() before the velocity and a second transaction through tasksAfterSend after it. The velocity is recorded into firstBreadMap keyed by the first transaction id, and tickKnockback promotes an entry into lastKnockbackKnownTaken once a transaction with a larger id arrives, which proves the packet reached the client. From that moment the knockback vector is required movement: the prediction engine must see it in the player's motion.
onPredictionComplete compares the prediction offset against offsetToFlag (config Knockback.threshold, default 0.001). A player whose movement lacks the required vector accumulates the offset into a threshold (decay 0.999, ceiling 4) and is set back when the offset is at least 0.1 (immediate-setback-threshold) or the threshold reaches maxAdvantage 1. Among Rise 5.99's modes, Custom at 0/0, Vulcan, Stack while stationary and Minemenclub's zeroed window are direct hits: the required vector never appears and the offset is the full knockback. Tick Cancel's late zeroing also loses because the vector was required from the moment the sandwich confirmed, before the Ticks window elapses. Follow First Tick re-adds the motion as a position delta on the next C03, but Grim predicts velocity, so the instant position jump of the knockback magnitude still diverges from the predicted profile.
The mode this check does not catch is one that also swallows the sandwich. Redesky's sneak pair does not help, since Grim's transaction clock is independent of sneak state. The honest bypass surface is transaction eating: if the client cancels the second transaction receipt and its echo, the velocity is never promoted out of the uncertain firstBreadMap bucket and is never required, so no offset accrues. November's GRIM mode is built exactly this way; the cost is a transaction ledger that diverges from the server's, which Grim's transaction-order accounting and the vanilla inventory/UI confirmations notice over time.
anticheat AntiVelocityBasic (pending knockback matching)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
How it counteracts this module
Hawk's MoveEvent matches every move's current velocity against the list of pending knockbacks. Each pending entry is a vector plus the time the server sent it, and it stays eligible while the elapsed time is within the player's ping plus 200ms. A match requires the move's Y to be within 0.01 of the knockback's Y (unless the player collides with a block above or below, jumps, swims or steps), and X and Z to fall inside maxDiscrepancy, computed as weirdConstant times baseMultiplier times sprintMultiplier plus an 0.003 epsilon, where the constants come from walk speed, speed potions and the sprint multiplier. When a knockback entry becomes older than ping plus 200ms without any move matching it, failedKnockback is set (outside vehicles), and AntiVelocityBasic.check punishes with the flag message 'may be using anti-velocity (basic)' at 5 VL.
The class comment claims detection down to a 10% difference, which is the size of the maxDiscrepancy window relative to a typical knockback vector. A full cancellation (Custom at 0/0, Vulcan, Stack while stationary, Minemenclub's zeroed window) leaves the entry with no matching move, so it expires and flags. A partial reduction (Custom 50/50, REDUCE style scaling) stays under the tolerance only when the scaled-down remainder still sits inside maxDiscrepancy; the stronger the original hit, the larger the absolute gap a fixed percentage leaves, so moderate to heavy reductions flag. Follow First Tick is also caught: its position-delta re-add produces a large instantaneous Y change that fails the 0.01 Y match.
The check is content-blind and cheap: it needs only the pending list and the move deltas, with no velocity prediction. Its bypass surface is the tolerance itself: small reductions that keep the movement within maxDiscrepancy pass, and the ping-plus-200ms window forgives a knockback the player simply has not moved into yet. Among Rise 5.99's modes, only tiny percentage reductions in Custom mode sit inside that tolerance; every cancel-based mode is caught.
anticheat VelocityA (sent vector vs reported rise)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
How it counteracts this module
Azure's VelocityA compares the vertical component of the knockback the server sent against the rise the player actually reports. On the send side, onPacketSend records verticalVelocity from the S12's fixed-point Y field divided by 8000.0 whenever the entity id matches the player, skipping damage causes that produce no knockback (starvation, fire tick, drowning, poison, wither, thorns, fall, lava, fire). On the move side, onMove only proceeds when the player rose (to.getY() greater than from.getY()), computes deltaY, and flags when deltaY is positive, below the 0.42 jump height, and below 77% of the recorded verticalVelocity. The violation message prints the percentage as round(100 times deltaY over verticalVelocity) and applies a 10000ms cooldown with 4 VL.
Because verticalVelocity is read from the packet the server itself sent, client-side scaling cannot change the denominator. Rise 5.99's Custom mode at 50% vertical produces a rise around half the sent vector, ratio 0.5, which is well under the 0.77 threshold and flags as Velocity Type A (50%). Any vertical percentage from 1 through 76 flags; 80% and above stays under the threshold. The check's blind spot is full cancellation: a cancelled knockback means the player never rises, so the from.getY() >= to.getY() early return fires and nothing is flagged. Horizontal-only changes (Custom horizontal 0 with vertical 100, Reverse, and the delayed horizontal sliders) are also invisible to it, since it only inspects the vertical axis.
Among Rise 5.99's modes, Custom at partial vertical, Redesky at partial vertical, and the delayed vertical damping in the More Options group all produce reduced rises that flag. Tick Cancel, Minemenclub, Stack, Vulcan and Follow First Tick cancel or zero the movement entirely, which the check does not see at all: it needs a rise, any rise, to have something to compare. The 0.42 cap also means a normal jump, which is exactly 0.42, is never mistaken for knockback.
anticheat UnusedVelocity (unused knockback ledger)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
How it counteracts this module
NCP's movement model queues the vertical velocity the server applies and later consumes it to explain the player's actual movement. SurvivalFly calls UnusedVelocity.checkUnusedVelocity on every move after the vertical velocity tracker's updateBlockedState, and the method reads the pos and neg UnusedTracker instances of the SimpleAxisVelocity tracker. UnusedTracker.addValue records a violation amount only when the direction has been blocked since the entry was added, meaning the server pushed velocity in a direction the player never moved. quickCheckDirection reports the violation count, the accumulated amount and the update count, then resets the results.
In this build the check is a debug ledger: quickCheckDirection logs through DebugUtil and returns false with a TODO for a real frequency or amount check, so the player cannot fail it yet. The mechanism it would enforce is the queue model: getOrUseVerticalVelocity consumes queued velocity to explain a vertical move, and a cancelled knockback leaves the queued velocity unused, which is exactly the violation the tracker accumulates. Every Rise 5.99 cancel mode (Custom at 0/0, Vulcan, Stack stationary, Minemenclub zeroing, Tick Cancel, Follow First Tick) would trip that ledger once it is enabled, because the vertical push is never consumed.
The honest statement is the debug-only status itself: a velocity module today faces NCP's SurvivalFly envelope, not this check, and unused velocity only appears in debug output until the TODO is implemented. Partial reductions leave a partial unused remainder, so the ledger would catch them too; the check as shipped cannot flag anything, which is why this entry documents the direction NCP is heading rather than an active counter.
anticheat VelocityListener (claimed velocity feed)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
How it counteracts this module
Spartan's VelocityListener is a MONITOR-priority ProtocolLib adapter on ENTITY_VELOCITY. For the self entity it reads x, y and z through BackPlib.getSafeInt divided by 8000.0, builds a CPlayerVelocityEvent carrying the claimed vector, forwards the cancellation state of the original packet, and runs VelocityEvent.event on the CheckThread. VelocityEvent stores the event as claimedVelocity, pushes it onto the claimedVeloGravity and claimedVeloSpeed queues (each capped at two entries), and calls executeRunners, which dispatches the claimed velocity to Spartan's checks.
The claimed-velocity queues are the compensation layer Spartan's movement checks read: they compare the player's reported movement against the server's velocity vector, with gravity applied for the gravity queue, so a client that cancels the S12 receive-side is still measured against the vector the server sent. The listener itself does not flag; the flagging lives in the movement checks that consume claimedVelocity, which is why this file is the feed rather than the verdict. Because Spartan records the original packet contents, client-side scaling of the S12 fields (Custom and Redesky percentages) does not change what Spartan expects, so partial reduction still shows as a movement deficit.
Among Rise 5.99's modes, every mode that removes or reduces the movement the server's vector predicts (Custom, Vulcan, Tick Cancel, Minemenclub, Stack, Follow First Tick) is measured against the claimed vector. The bypass surface is the queues' size and the ground profile: the last two claims only, and modes that keep the vertical component while removing horizontal movement (Reverse) present movement closer to the claimed gravity profile and stay under the checks' tolerances. WATCHDOG_SAFE style ground-only vertical applies are the same shape on other clients.