Rise 5.99 ChestAura: Full Source Analysis
Rise 5.99's ChestAura opens nearby chests for the player: on every PreMotionEvent it first drains a pending open, a right-click through mc.playerController.onPlayerRightClick with the chest position…
Published 2026-08-13 · Updated 2026-08-13
Packets This Module Uses
Analysis
Overview
Rise 5.99's ChestAura opens nearby chests for the player: on every PreMotionEvent it first drains a pending open, a right-click through mc.playerController.onPlayerRightClick with the chest position, a down facing and a hit vector at the block, which emits the vanilla C08 block-placement packet and swings, then scans mc.theWorld.loadedTileEntityList for TileEntityChest entries within the Range setting (default 5, maximum 6 blocks), records each one in a clickedChests ledger so every chest is opened at most once per world, and arms the next open. The module does not loot; it walks the player from chest to chest, one open per tick, and the ledger clears on enable and on world change.
The open path
onPreMotion bails while a GuiContainer is on screen, then, if chestToOpen is armed, calls onPlayerRightClick with the player, the world, the held item, the chest position, EnumFacing.DOWN and a hit vector at the block. That vanilla controller call is what serializes the C08 with the block position, the facing and the hit coordinates, and the server reacts by opening the chest GUI. On a successful return the module swings, clears chestToOpen and returns, so exactly one open happens per tick.
Target scan
The scan iterates mc.theWorld.loadedTileEntityList in list order, keeps TileEntityChest instances whose distance from the player's position is below the Range setting, skips positions already in clickedChests, adds the new position to the ledger and arms chestToOpen. Target selection is tile-entity list order, not nearest-first, and the range slider spans 1 to 6 blocks in 0.1 steps with a default of 5.
Ledger lifecycle
clickedChests guarantees every chest is attempted once per world: a chest whose open the server rejects is still ledgered, so retries are impossible until the world changes. onEnable clears the ledger and the pending target, and onWorldChanged resets the ledger so a rejoin or a world switch re-enables looting. The module never closes the opened GUI and never clicks inside it; both are left to the player or to a companion Stealer module.
source ChestAura.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 | |
What this file does
The module file is the whole feature. onPreMotion holds the state machine: the pending open, the swing, and the tile-entity scan that arms the next chest; the clickedChests ledger and the chestToOpen field carry the state between ticks; onEnable and onWorldChanged reset the ledger so a rejoin or world switch re-enables looting. The open is delegated to mc.playerController.onPlayerRightClick, the same call the vanilla client uses for a manual right-click, which is why the wire footprint is the standard C08 block-placement packet with the chest's position and a down facing. The C0E window-click traffic that follows the opens is produced by the player or a companion looting module, never by this file.
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 NoCheatPlus blockinteract Direction (interact against the look ray)
| 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 | |
How it counteracts this module
Every chest open is a Bukkit PlayerInteractEvent with action RIGHT_CLICK_BLOCK, and NoCheatPlus's BlockInteractListener runs its checks on that event with the clicked block, the reported face and the player's latest queued C03 look. The Direction check extends AbstractBlockDirectionCheck: it traces a ray from the eye position along the look direction taken from the flying queue and accumulates the distance between that ray and the clicked face into directionVL, decaying the level by 0.9 on passes.
ChestAura never rotates toward the chest it opens, so any chest outside the current view cone adds its full face-to-ray distance, and the default actions cancel at vl>15; a walk through a room opening chests to the side or behind accumulates the violation quickly. The one-per-tick cadence keeps blockinteract Speed's 55-per-2000ms window untriggered, so direction and reach are the load-bearing checks here.
anticheat NoCheatPlus blockinteract Reach (interaction distance)
| 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 | |
How it counteracts this module
The interact Reach check measures the eye position to the center of the clicked block and compares it with SURVIVAL_DISTANCE 5.2 (5.6 in creative). ChestAura's Range setting defaults to 5 and reaches 6, and the distance is measured to the block center, so a chest 5.5 blocks away at foot level sits at about 5.6 from an eye at 1.62 and crosses the bound; at the maximum range the excess reaches nearly a full block, and each out-of-range open adds distance minus 5.2 to reachVL, decayed by 0.9 on in-range interactions.
Chests opened close to the player pass; the exposure is exactly the long edge of the range slider, which is where the aura's value lies, since it opens chests the player could not comfortably reach by hand. The default actions cancel the interact, so the open is denied at the event layer rather than just scored.
anticheat Hawk BlockInteractReach (block AABB distance)
| 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 | |
How it counteracts this module
Hawk's BlockInteractReach runs on the C08-driven InteractWorldEvent and measures the distance from the head position (lag-compensated in vehicles) to the target block's AABB, punishing with a resync when it exceeds MAX_REACH, default 3.1 blocks in survival and 5.0 in creative.
The default Range of 5 puts virtually every open past the survival bound: a chest 4 blocks away horizontally at eye level measures about 4.0 to the AABB face and flags immediately, so on a Hawk server the aura can only open chests within arm's reach, which removes most of its purpose. The check is packet-level and content-blind; the ledger and the one-per-tick pacing change nothing.
anticheat NoCheatPlus FastClick (window click rate, loot phase)
| 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 | |
How it counteracts this module
ChestAura only opens; the click stream that follows is what the module exists to enable, and NCP FastClick is the ledger that scores it. FastClick accumulates InventoryClickEvent traffic into five 200ms buckets, comparing the newest bucket against the short-term limit of 4 and the window against the normal limit of 15, with the interact_time path adding (155 / duration) * 100 when a click lands within 155ms of the container opening.
A chest drained at stealer speeds (the sibling Stealer module defaults to 5ms delays) puts roughly 40 clicks per bucket, an order of magnitude over the short-term limit, and the first click usually lands inside the interact window because the aura opens the chest and the drain starts immediately. The honest boundary is the same as every window-click check: the aura itself, opening one chest per tick, emits no C0E traffic of its own, so this entry bites on the loot phase the aura feeds rather than on the opens.