Rise 5.99 InvMove: Full Source Analysis
Rise 5.99's InvMove lets the player move while a GUI is open.
Published 2026-08-12 · Updated 2026-08-12
Packets This Module Uses
Analysis
Overview
Rise 5.99's InvMove lets the player move while a GUI is open. On every PreMotionEvent with a non-chat screen active it writes the real keyboard state into the forward, back, left, right and jump KeyBinding pressed flags, so the vanilla movement pipeline runs while the container is open and the tick's C03 carries nonzero position deltas. A Slow Down setting damps motionX and motionZ while the screen is up, skipped for the client's own ClickGUI and StrikeGUI, and an optional Packet mode rewrites the window-click stream: each C0E click is replaced by a C16 OPEN_INVENTORY_ACHIEVEMENT plus the C0E and a C0D close, while close-window and achievement packets are cancelled, keeping the server-side inventory state consistent with the movement.
Keybind forcing
The handler activates whenever mc.currentScreen is non-null and is not GuiChat. For each of the five affected bindings it calls setKeyPressed(GameSettings.isKeyDown(binding)), which mirrors the physical keyboard state into the pressed flags that the vanilla movement code reads. Because the flags are re-asserted on every pre-motion tick, the vanilla EntityPlayerSP update computes motion from the forced keys exactly as if no GUI were open, and the tick's C03 position packet reflects that motion. The jump binding is included, so the module enables hopping while a chest is open, not just walking.
Slowdown and packet mode
The Slow Down setting multiplies motionX and motionZ by its value (0.1 to 1, default 1) while a screen is up, with ClickGUI and StrikeGUI exempt so the client's own GUI does not damp the player. Packet mode changes the wire behavior of inventory interactions: C0D close-window packets are cancelled, every C0E click is replaced by C16 OPEN_INVENTORY_ACHIEVEMENT followed by the original C0E and a C0D close for the inventory window, and C16 achievement packets are cancelled, all routed through PacketUtil.sendPacketWithoutEvent so the rewrite never re-enters the send event. The net effect is that the server-side window stays open across the click, which matters on servers that tie movement validation to inventory state.
Wire fingerprint
The primary signal is the C03 stream itself: position-changing moves while the server-side inventory window is open. The packet mode adds a secondary fingerprint: one extra C16 OPEN_INVENTORY_ACHIEVEMENT per rewritten click, plus the suppressed C0D and C16 traffic. Vanilla has no way to move under an open container, so any position delta attributed to an open window is anomalous, and the C16 spam is itself observable on the C03 corpus where inventory-open state checks live.
source InvMove.java
| 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 | |
What this file does
The module is entirely this file. The constructor registers Slow Down (1 default, 0.1 to 1) and Packet (false default), and builds the affectedBindings array from the five movement and jump keybindings. onPreMotion is the movement half: it checks for a non-chat screen, re-asserts the pressed flags from the physical keyboard, and applies the slowdown multiplier to the motion fields, exempting the client's own GUIs.
The packet half lives in onPacketSend. With Packet enabled, C0D close-window packets are cancelled outright, each C0E click is replaced by the C16 achievement open plus the click and a C0D close for the inventory window, and C16 achievement packets themselves are cancelled, all sent through PacketUtil.sendPacketWithoutEvent so the replacement traffic bypasses the event bus. With Packet disabled the module only forces keys and dampens motion; no inventory traffic is altered.
source PacketUtil.java (send bypass)
| 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 | |
What this file does
PacketUtil is the send utility the packet mode relies on. sendPacketWithoutEvent routes through addToSendQueueWithoutEvent on the fork's NetHandlerPlayClient, which enqueues a packet for the network thread without firing the client's send event, and sendPacket is the normal event-visible path. The distinction is what makes the C16, C0E and C0D replacement sequence safe: a click rewritten through the silent path is not re-intercepted by InvMove's own onPacketSend, so the injected C16 cannot be cancelled by the module's own C16 branch.
The class also carries the TimedPacket holder used by other modules for delayed sends. For this module the two send methods are the whole interface: the silent path carries the rewrite, and the event path would be the only way the injected traffic could loop back into the interception logic.
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 InventoryMoveCheck (open-screen movement)
| 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 | |
How it counteracts this module
CheaterDeleter's InventoryMoveCheck is a modern-version port (1.16+ C2S packet views) that watches for position-changing moves while a screen handler is open. onMovement returns early for fall flying, spectators and players near non-solid collision, then, when the packet changes position and the current screen handler is non-null, it flags 'Inventory Move' at MINOR severity with a 100ms cooldown. The invalidateMove helper grants a 500ms grace after the screen opens, then flags growing horizontal deltas on any axis where the server-side velocity is exactly zero, plus an upward move while the server velocity is falling.
Rise's module at the default Slow Down of 1 is a direct hit: full-speed motion under an open container produces per-tick deltas that grow past the previous delta with zero server-side velocity, so the check flags within a few ticks of the grace expiring. The Slow Down setting is the honest bypass surface: damped motion makes each delta smaller than the last, which defeats the growing-delta test, and a close-window packet resets the check's wasOpen state, which the module's packet mode suppresses on purpose. The y-axis branch also catches the forced jump key when the server velocity is falling.
anticheat InventoryMove (leniency-window movement)
| 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 | |
How it counteracts this module
Photon's InventoryMove runs on PlayerMoveEvent with a 0.005 squared-distance gate and a long list of bypasses: vehicles, flying, elytra, liquids, recent damage ticks, recent teleports and low TPS all disable it for the move. Movement past the breaking-time leniency (300ms base plus the speed potion bonus, with an optional ping half) flags at 5 VL with a cancel teleport back to the move origin at 60 VL. A separate jump branch flags upward acceleration at 25 VL, once per open, with slabs and bounce materials exempt.
Rise's module at default slowdown moves continuously under the inventory, so every move after the 300ms leniency adds 5 VL and the 60 VL cancel lands after roughly twelve seconds of sustained movement; the packet mode does not change this because the check is event-driven off the position stream, not the window packets. The forced jump key is the sharper hit: the module can hop under a chest, and the jump branch flags at 25 VL whenever the open state has not already consumed the once-per-open allowance. Damped slowdown still moves, so it only stretches the time to the cancel threshold, it does not evade the check.
anticheat InventoryMoveProtocol (score-accumulated alerts)
| 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 | |
How it counteracts this module
Negativity's InventoryMoveProtocol alerts on PlayerMoveEvent when an inventory is open. It requires an open inventory view, no trident, elytra, vehicle, water or piston nearby, fall distance under 0.5, and server-side velocity under 0.1, then scores the move: starting to sprint or sneak since the inventory opened adds 5 each, and a horizontal distance at least as large as the previous move and at least the walk speed adds the delta difference plus 1. An alert fires when the time since open reaches 3 ticks and the score exceeds 2.
Rise's module at default slowdown walks at full speed under the container, so the distance gate is met every tick and the score stays above 2 from the third tick on; the sprint key also works under the forced bindings, which adds the sprint-transition 5. The Slow Down setting is the designed bypass: damped motion falls below the walk-speed gate once the decay takes hold, and the velocity filter means knockback-assisted movement is not scored. The module's packet mode does not affect this check, which keys off the Bukkit position event rather than the window stream.
anticheat InventoryMove (sprint-sneak-rotation under GUI)
| 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 | |
How it counteracts this module
Hawk's InventoryMove is a MovementCheck over the MoveEvent stream: it punishes when the move carries a rotation update, sprinting or sneaking while an inventory is open (hasInventoryOpen() != 0) and the move is not a teleport accept, with VL 3 per violation, a rubberband punishment, 0.999 decay and a 5-second timeout. The check comments note the known grace edges: rotation can legitimately persist one tick after opening, and teleport grace is handled by the teleport-accept flag.
Rise's module triggers the sprinting branch whenever the player holds the sprint key under a forced keybind state, because the vanilla sprint logic runs under the GUI once the bindings are pressed, and the rotation branch fires if the player looks around while the container is open. The check does not measure distance, so the Slow Down setting is irrelevant to it; any sprinting, sneaking or look rotation under an open inventory accumulates VL. The packet mode's C16 and C0D traffic is invisible to this check, which reads the movement event only.