added a SHIT ton of modules
This commit is contained in:
1 parent
b1634d195c
commit
361892bf0b
64 files changed
+5346
-482
No files matched your search
@@ -0,0 +1,334 @@
|
||||
# World and player modules (26.52)
|
||||
|
||||
All new modules start disabled. Expand a module with right click. Settings,
|
||||
text names, keybinds, enabled states, and HUD positions autosave in your profile.
|
||||
|
||||
| Module | Controls and behavior |
|
||||
| --- | --- |
|
||||
| Block outlines | Color, black outline toggle, width. Outlines the selected block cell using the game's actual hit result. |
|
||||
| Atmosphere | Custom fog toggle/color, world color, night mode and darkness. Color alpha controls blend strength. Night mode darkens the rendered image without changing time. |
|
||||
| Armor HUD | Equipped head/chest/legs/feet item names, compact display and hiding empty slots. |
|
||||
| Name changer | Editable display name. The name getter substitutes it for local player display calls; the original entity string is never changed. |
|
||||
| Better nametags | Player name, optional health/distance, maximum distance, scale, color and background. Native player names are suppressed during relevant display calls. |
|
||||
| Target HUD | Aim at a player while holding a sword, axe, bow/crossbow, trident, mace or spear. Shows name, client-reported health, distance and equipped items. Optional weapon requirement, equipment and health bar; default linger is two seconds. |
|
||||
| Time changer | Custom ticks (0–23999), sunrise/day/sunset/night presets. Changes the visual celestial calculation on the rendering thread; never writes the world's tick/time state. |
|
||||
| Freelook | Enable the module, then hold Left Alt (rebindable). Mouse movement rotates only the render camera. Releasing returns to the normal view. Sensitivity and status HUD controls are provided. Works with the game's chosen first/third-person perspective. |
|
||||
| Coordinates | Feet position and optional horizontal speed in blocks per second. |
|
||||
| Zoom | Hold C by default, rebindable, with optional toggle activation. Magnification 1.25–12x, smooth zoom toggle, transition speed and smooth/linear easing. Composes with FOV changer; restores immediately on menus, focus loss, stale world data or disable. |
|
||||
| Glint changer | RGBA color picker for the native named enchantment glint uniform. Other shader parameters and input color buffers are unchanged; disabling returns future draws to vanilla values. |
|
||||
| Music mini player | Track/artist, playing/paused status, progress and previous/play/pause/next buttons. Background, scale, color, width, progress, controls and hide-when-idle settings. Blank player follows Windows' current session; next-player action cycles available source IDs and automatic mode. |
|
||||
| Inventory tools | Steal transfers chest items into your inventory; dump transfers inventory items into the open chest. Middle-click sorts the hovered chest or inventory panel by item name. Three buttons appear over container screens; the sort button becomes stop while working. Hotbar dumping defaults off. Action delay and button X/Y positions are configurable. |
|
||||
| Anti AFK | After 30 seconds idle by default, briefly jumps and alternates left/right movement. Jump-only and strafe-only modes, idle interval (10–300 seconds), hold time (50–1000ms), action keys and FPS-style status HUD. Settings/enabled state autosave. |
|
||||
|
||||
Anti AFK requires a fresh world snapshot, Minecraft focus and a hidden menu
|
||||
cursor. Real keyboard/raw mouse activity and held physical keys reset the timer.
|
||||
Client/game menus, focus loss, stale world data, world changes and disabling
|
||||
release owned inputs. A focus-loss callback releases keys immediately even if
|
||||
rendering pauses while minimized. Returning starts a fresh idle countdown. Its
|
||||
tagged synthetic input does not count as user activity or trigger module hotkeys.
|
||||
Tests cover interval/hold timing, alternating directions, activity interruption,
|
||||
pause/resume, physical key ownership, rebinding and failed release retries.
|
||||
Verify in your Realm by enabling the utility module while Minecraft stays
|
||||
focused, observing movement/countdown, and then checking that menus, manual play,
|
||||
Alt-Tab and disabling release keys. Realm idle-kick behavior itself has not been
|
||||
verified in the automated test.
|
||||
|
||||
Inventory tools use native container transactions on the container tick thread,
|
||||
not guessed slot coordinates or raw inventory writes. Same-name stacks are kept
|
||||
separate; count/NBT remain owned by the game's stack operations. Armor, crafting
|
||||
and hotbar sorting are excluded. They stop on focus/menu/controller changes,
|
||||
cursor-held items, manual clicks elsewhere, and transfer acknowledgement timeout.
|
||||
Unknown cursor state refuses operations. The verified interfaces are container
|
||||
tick `0x4df8350`, group size `0x33e7550`, group item `0x33e6f80`, take-all
|
||||
`0x4dfac60`, place-all `0x4dfae00`, and auto-place `0x4df9f60`. Each signature
|
||||
matches uniquely in the captured 26.52 executable. Hovered group is at `+0x1098`,
|
||||
distinct from selected group at `+0x1048`; container model is at `+0x12c0`.
|
||||
Simulation tests cover sorting, transfers, separate stacks, empty slots and
|
||||
cancellation. Actual server transactions still require an in-game check with
|
||||
ordinary test items in a chest, then a full chest, closed screen and focus switch.
|
||||
|
||||
Outlines hide when the client menu/game cursor is visible or Minecraft loses
|
||||
focus. Edges crossing the camera near plane are clipped rather than discarded;
|
||||
a 75ms selection grace handles intermittent missed block-hit updates and resets
|
||||
on menus, targets or world changes. This reduces selection/near-plane flicker.
|
||||
|
||||
The music card now includes an album-art toggle and a placeholder when no cover
|
||||
is available. It reads the session thumbnail, limits encoded size to 4MB and
|
||||
decoded dimensions, scales to at most 256px, decodes RGBA with Windows Imaging
|
||||
Component, and uploads an immutable D3D11 texture on the rendering thread. Cover
|
||||
data is cached by player/track/artist/album; player/track changes clear stale art.
|
||||
Tests check decoded pixel colors, invalid images and real D3D11 texture upload.
|
||||
|
||||
Music controls are clickable while the client menu is open; drag the upper part
|
||||
of the card to move it. The player field can also select an exact Windows source
|
||||
ID, and module settings provide the same playback actions. Metadata is polled on
|
||||
a cancellable worker, never synchronously on the rendering thread. Turning the
|
||||
module off/unloading stops and joins that worker. Missing sessions and denied API
|
||||
access show an explicit idle/error message. Players must expose a Windows media
|
||||
session; this does not play local files or guarantee integration with every app.
|
||||
The API is documented by [Microsoft](https://learn.microsoft.com/en-us/uwp/api/windows.media.control.globalsystemmediatransportcontrolssession).
|
||||
|
||||
Glint uses the uniquely verified float4 uniform setter at `0x52f2250`, matches
|
||||
the FNV-1a hash of `GlintColor` (`0x71ac3c48991afd1e`), checks native slot bounds,
|
||||
and passes a temporary replacement buffer to the original setter. Standard draws
|
||||
using that uniform are affected; render paths/resource packs which bypass it may
|
||||
retain their own color. Verify held enchanted items, armor, and inventory glint
|
||||
in game, including disable/restoration.
|
||||
|
||||
The integration suite tests matching versus unrelated glint uniforms, rejected
|
||||
slot/count cases, unchanged source buffers, music HUD geometry, and live media
|
||||
API startup/cancellation/shutdown. Outside the sandbox the read-only Windows API
|
||||
check found an active media session. No test sends playback commands. Minecraft
|
||||
rendering and playback actions still need an in-game check.
|
||||
|
||||
Target HUD now has a compact head/name/health percentage/bar layout. Its head is
|
||||
a neutral placeholder because snapshots do not contain player skins. Health and
|
||||
distance remain beneath the bar. Equipment expands into five additional rows;
|
||||
it defaults off for new profiles, while saved profile preferences are retained.
|
||||
Unknown health shows `--%` and an empty track. Zero/invalid maximum health never
|
||||
produces a fabricated percentage. The original two-second linger is retained.
|
||||
|
||||
FPS, watermark, CPS, clock, sprint status, freelook status, coordinates, armor and
|
||||
target HUDs share the FPS card's fill, border, padding, rounded corners, muted
|
||||
labels, semibold values, background toggle, scale and color settings. Keystrokes
|
||||
uses the same surrounding card with its key grid inside. Crosshair geometry keeps
|
||||
its existing visual controls.
|
||||
|
||||
The armor HUD uses readable item names rather than item textures and does not show
|
||||
durability. Block outlines currently show a block cell (including for non-cube
|
||||
blocks). World color/night mode filter the rendered game image before client HUD
|
||||
cards, so vanilla HUD pixels also receive that filter. The filter pauses when the
|
||||
game shows a menu cursor; fog uses the game's actual dimension fog calculation.
|
||||
Health is what the client has received; unavailable values are shown as unknown.
|
||||
Target information expires when leaving/changing worlds, and rendering stops
|
||||
using snapshots older than half a second.
|
||||
|
||||
## Verified game interfaces
|
||||
|
||||
The new signatures each match exactly once in the captured executable sections
|
||||
of Minecraft Windows 1.26.5203.0:
|
||||
|
||||
| Interface | RVA |
|
||||
| --- | --- |
|
||||
| ClientInstance update | `0x5da7c00` |
|
||||
| LevelRenderer renderLevel call / target | `0x4be899` / `0x47f8570` |
|
||||
| Render camera matrices | `0x46cff30` |
|
||||
| Active render camera helper | `0x9ed0a0` (unique tag anchor at `0x9ed1f1`, resolved through native unwind data) |
|
||||
| Visual celestial time | `0x2312080` |
|
||||
| Actor name getter | `0x1a14ac0` |
|
||||
| Dimension brightness-dependent fog color | `0x2308050` |
|
||||
|
||||
Read-only live inspection confirmed local entity registry and versions, the
|
||||
player's position/rotation, camera origin/projection, armor item names, inventory
|
||||
selected-slot getter, and paired entity/block hit results. The implementation
|
||||
uses the native component storage's read-only `get_at` method after checking
|
||||
sparse versions and packed membership. This avoids constructing/mutating a
|
||||
registry or assuming an external EnTT build matches Bedrock's custom page sizes.
|
||||
Immutable snapshots carry copied data to the HUD; entity pointers are not kept
|
||||
by modules. Freelook saves/restores the camera quaternion around matrix generation.
|
||||
|
||||
The isolated integration suite tests sparse versions/membership and the native
|
||||
storage ABI, projection and quaternion math, time/fog/name display isolation,
|
||||
profile text round trips, and actual HUD geometry. A real D3D11 WARP device checks
|
||||
the color/darkness shader's output pixels and renderer state restoration. Existing
|
||||
FOV, viewmodel, sprint, crosshair, trading, notification and profile tests still
|
||||
pass. These checks do not replace in-game visual verification after loading.
|
||||
|
||||
Zoom tests exercise the actual shared FOV hook both with and without the FOV
|
||||
override, unchanged hand projection, restoration, menu cancellation and invalid
|
||||
factor handling. Target HUD geometry covers compact/expanded equipment and
|
||||
unknown/zero-maximum health. In game, check holding/releasing C, toggle mode,
|
||||
transition controls, changing FOV while zooming, opening menus and switching focus.
|
||||
|
||||
SDK layouts were compared with the MIT-licensed
|
||||
[26.52 ModBase](https://github.com/b01dev/MCBE_DX12_ModBase) and primary
|
||||
[LeviLamina headers](https://github.com/LiteLDev/LeviLamina); signatures, offsets
|
||||
and storage behavior above were verified directly against this game's binary and
|
||||
read-only process data. No external SDK implementation is linked into the client.
|
||||
|
||||
## In-game checks
|
||||
|
||||
Enable modules individually after reloading. Check outline width/color on a cube;
|
||||
fog in the distance; tint/night toggles and restoration; every armor slot;
|
||||
name changes in a third-person display; other players' tags; target HUD with/without
|
||||
a weapon and its linger; sunrise/night presets; and freelook while standing still
|
||||
and moving. Releasing Alt, opening either menu, losing focus, disabling the module,
|
||||
switching profiles and unloading should return normal camera/input behavior.
|
||||
|
||||
## Inventory buttons, tab list and XP HUD (26.52)
|
||||
|
||||
Read-only inspection of an open double chest confirmed that the model at
|
||||
controller +0x12c0 owns the inventory/hotbar/container group views. The old
|
||||
slot-count function used virtual slot 17, which returns zero for sparse UI views.
|
||||
The fix verifies the slot-4 capacity getter and reads the ItemStack vector at
|
||||
+0x100/+0x108 (152-byte stride). The live chest contained 54 slots and inventory
|
||||
27. A fresh container tick establishes screen availability; an OS cursor flag
|
||||
is not required. Transfers remain blocked while unfocused or in the client menu.
|
||||
|
||||
The server player roster comes from the singleton LevelComponent, rather than
|
||||
nearby ActorOwner components. Level +0x4e0 points to the roster map; map head/size
|
||||
are +8/+16 and the node player name is +56. Copied names are sorted and validated
|
||||
before publication. No player, skin, or server data is modified. Unknown or stale
|
||||
rosters are not replaced with a nearby-player approximation.
|
||||
|
||||
XP uses local AttributesComponent IDs 4 (level) and 5 (experience fraction),
|
||||
136-byte entries, current value +0x70. Live inspection found level 28 and fraction
|
||||
0.2983785. XP-to-next-level uses the three vanilla level ranges; remaining XP is
|
||||
rounded up from the bar fraction. These layouts are specific to the verified build.
|
||||
|
||||
Tests cover sparse-view getter validation/capacity, malformed roster chains,
|
||||
empty rosters, XP range boundaries and invalid attribute values, multi-column
|
||||
roster geometry, menu previews and clearing collection on disable. In game,
|
||||
enable inventory tools and check chest buttons; enable tab list and hold Tab;
|
||||
enable XP progress and compare level/percentage to the vanilla bar. Verify tab
|
||||
contents with a player farther away than entity rendering range. Notification
|
||||
cards use the clickgui palette and simple fade/slide, with explicit task progress
|
||||
only. In-game verification of the rebuilt DLL still requires loading it.
|
||||
|
||||
## HUD editor grid snapping
|
||||
|
||||
The clickgui's top bar has a `hud editor` popup with snap/grid toggles and a
|
||||
4-64 pixel grid size (default 10). Hold Shift while dragging to bypass snapping.
|
||||
Only dragged HUD elements snap; opening the editor leaves existing layouts alone.
|
||||
Mouse displacement is measured from the original grab point, rather than rounding
|
||||
each frame's delta, so slow dragging does not get stuck between grid cells.
|
||||
Screen edges take priority over grid alignment, including HUD cards larger than
|
||||
the screen. Editor preferences use a reserved profile entry and participate in
|
||||
normal autosaving, profile switching and defaults for older profiles.
|
||||
Tests cover accumulated movement, free movement, screen edges/oversized cards,
|
||||
preference serialization, clamping and restoration when absent from old profiles.
|
||||
|
||||
## Inventory action correction
|
||||
|
||||
The old function at RVA 0x4df9f60 was auto-take into the cursor, not quick move.
|
||||
It invokes model virtual slot 9 and therefore left the first stack on the cursor,
|
||||
triggering the module's cursor cancellation. Steal/dump now bind the actual
|
||||
controller quick-move action at RVA 0x4dfb4d0 (same four-argument ABI), which
|
||||
resolves destination routes and invokes model virtual slot 15. Its 112-byte
|
||||
signature was verified unique in the captured 1.26.5203.0 executable.
|
||||
|
||||
Sorting now uses the native model slot-to-slot swap at RVA 0x33e9880, with a
|
||||
verified unique 96-byte signature. Slot descriptors explicitly use the game's
|
||||
32-byte string plus slot-index layout, independent of debug STL layout. The
|
||||
native swap queues one complete transaction and never borrows the cursor.
|
||||
Sorting waits for the source change before scheduling the next swap, respecting
|
||||
server update delays and preserving complete native stack data. Tests include
|
||||
delayed acknowledgement and inventory/hotbar quick-move routing. In-game checks
|
||||
still require reloading the rebuilt DLL and checking steal, dump and sort.
|
||||
|
||||
## Menu cursor ownership
|
||||
|
||||
ImGui's Win32 cursor updates are disabled with NoMouseCursorChange. Previously,
|
||||
MouseDrawCursor caused its WM_SETCURSOR handler to call SetCursor(nullptr) on
|
||||
Minecraft's window thread, leaving an invisible native cursor after close.
|
||||
The menu now draws a software pointer only when the OS cursor is already hidden;
|
||||
otherwise the native inventory pointer remains visible. Closing restores clipping
|
||||
and posts WM_SETCURSOR to let the native window procedure choose its cursor on
|
||||
its own thread. No ShowCursor counter manipulation or forced gameplay pointer.
|
||||
Check opening/closing with Right Shift and Escape, both in gameplay and with a
|
||||
chest/trade screen open, then moving the pointer without leaving Minecraft.
|
||||
|
||||
## Sorter compatibility correction
|
||||
|
||||
The live open chest used the legacy model path (model +0xa0 was null), and its
|
||||
slots were correctly populated with unsorted item names/counts. The direct
|
||||
slot-to-slot model swap was rejected on this path. This supersedes the direct
|
||||
swap implementation described above. Sorting now uses native controller actions:
|
||||
take-all 0x4dfac60, cursor swap 0x4dfa820, and place-all 0x4dfae00. Each signature
|
||||
was checked unique against the captured executable. The controller actions also
|
||||
perform native selection/UI bookkeeping that direct model calls bypass.
|
||||
|
||||
A staged state machine waits for the picked-up stack and empty source slot,
|
||||
then the destination and displaced cursor stack, then cursor clearance and
|
||||
place-back confirmation. It honors the configured action delay, accepts only
|
||||
the expected held stack during its own operation, and does not continue on
|
||||
controller/focus changes. A declined swap attempts to return the original stack
|
||||
to its still-empty source. Timeouts provide a concise notification. Tests cover
|
||||
multi-step sorting, delayed confirmation, rejected-swap recovery, empty slots
|
||||
and separate same-name stacks. Reload and check sorting in a chest and inventory;
|
||||
in-game success has not been verified by these isolated tests.
|
||||
|
||||
## Whole-stack pickup correction
|
||||
|
||||
The recorded failed sort had `sort_taken = arrow x10`, matching the reported
|
||||
pickup of only five arrows. Binary inspection confirmed controller 0x4dfac60
|
||||
calls model slot 12 (0x33e9c20), whose legacy request is subtype 1 and computes
|
||||
half the stack. The previous name `take_all` was incorrect. Sorting now binds
|
||||
only the controller left-click/swap action at 0x4dfa820 for pickup, replacement,
|
||||
place-back and recovery; no half-stack action is called. The model slot-10 legacy
|
||||
request uses subtype 0 (whole stack). This supersedes the pickup binding in the
|
||||
previous section. Tests now explicitly observe an entire arrow x10 stack on the
|
||||
cursor during sorting, along with odd-count x7 stacks and final count conservation.
|
||||
|
||||
## Recorded sort stop and directional placement
|
||||
|
||||
Live verification showed full pickup succeeded (charcoal x8 held, source slot 53
|
||||
empty). The recorded stop reason was timeout, and the chest remained unchanged
|
||||
after recovery. Binary analysis distinguished full take (controller 0x4dfa820,
|
||||
model slot 10, source -> cursor) from full place (controller 0x4dfae00, model slot
|
||||
11, cursor -> destination). The prior use of the take action on an occupied
|
||||
cursor was incorrect. Sorting now takes once, places into the destination, then
|
||||
places the displaced stack back into the source. The test take action rejects an
|
||||
occupied cursor, rather than incorrectly modeling every call as a symmetric swap.
|
||||
Additional controller ticks cannot overwrite an active owner's fresh snapshot;
|
||||
phase timeouts govern transactions instead of display freshness. Recorded stop
|
||||
reasons distinguish timeout, focus, controller, cursor, native action failure and
|
||||
explicit stop. These changes supersede the same-action sequence above.
|
||||
|
||||
## Third-person orbit freelook
|
||||
|
||||
Freelook now temporarily overrides the native view-perspective getter to back
|
||||
third person (1) while the hold key is active. Getter RVA 0xfb7430 is matched by a
|
||||
unique signature against the captured 26.52 binary; the caller's native perspective
|
||||
is returned unchanged outside freelook. CameraComponent orientation +0x30 and
|
||||
position +0x40 are substituted only around matrix generation, then restored.
|
||||
The camera position moves around the current local-player eye pivot according to
|
||||
the look quaternion and adjustable radius (default 4, range 1-8 blocks). Input
|
||||
continues to suppress camera/player mouse-turn packets during the hold. Release,
|
||||
menus, loss of focus, disabling, profile switches and unloading remove the override.
|
||||
No game perspective setting is saved/rewritten. Math tests cover side/front/full
|
||||
rotation, fixed pivot and radius at steep pitch. Check in game that the local body
|
||||
is visible, the camera orbits, aim stays fixed, and releasing Alt restores the prior
|
||||
view. The orbit currently does not shorten its radius for walls/obstacles.
|
||||
|
||||
## Freelook player-angle lock
|
||||
|
||||
Read-only inspection verified ActorRotationComponent (16 bytes), head/body yaw
|
||||
components (8 bytes each), and RenderRotationComponent (8 bytes). While holding
|
||||
freelook, the local entity's current/previous pitch/yaw and head/body/render angles
|
||||
are held at the entry values before/after client update and before rendering.
|
||||
This supplements raw-input suppression, which does not cover all Bedrock input
|
||||
paths. Position/velocity and movement keys are not modified. No component pointers
|
||||
are retained across updates; registry/entity identity changes start a new lock.
|
||||
Release/menu/focus loss/disable removes the angle lock, allowing normal turning.
|
||||
Tests verify angle preservation despite attempted changes, continued translation,
|
||||
independent orbit rotation, release/re-entry and changed player identity.
|
||||
|
||||
## Native freelook input verification
|
||||
|
||||
A live held-Alt trace showed `was_looking=1`, camera yaw/pitch staying zero,
|
||||
`frozen_look.held=0`, and changing player angles. Thus Win32 raw-input deltas were
|
||||
not delivered and the angle-lock lookup failed. ActorRotation's verified native
|
||||
16-byte `get_at` starts with `mov rax,rdx` before loading its payload pages, unlike
|
||||
the 8-byte getter previously accepted. The protected ECS accessor now validates
|
||||
that specific alternate prefix as well. A test executes the actual leaf layout
|
||||
against controlled sparse/payload storage to cover the missing ABI variant.
|
||||
|
||||
Freelook no longer relies on WM_INPUT for orbit movement. Native pitch/yaw changes
|
||||
are measured against the held player angle, accumulated as camera-only deltas,
|
||||
and the player/head/body/render angles are restored. Normal movement messages are
|
||||
forwarded; WASD/jump remain active. Camera sensitivity scales the native angular
|
||||
deltas. Tests cover angular wraparound, fixed player angles and the native getter.
|
||||
|
||||
The rebuilt native-input version was then monitored live during a held-Alt mouse
|
||||
movement test (20 samples). `frozen_look.held` stayed true; player current/previous
|
||||
pitch and yaw remained 16.716339 / -120.978310 throughout, while camera orbit yaw
|
||||
and pitch changed across the samples. This verifies the angle lock and camera
|
||||
input routing in the running game, rather than only in isolated math fixtures.
|
||||
|
||||
The native look target is now consumed by changes relative to the last observed
|
||||
native target. Reapplying a cached absolute target no longer produces repeated
|
||||
orbit deltas; reads of the restored player baseline do not reset that reference.
|
||||
A regression checks that a repeated target contributes zero camera movement,
|
||||
then a new target contributes only its incremental pitch/yaw change. This fixes
|
||||
the observed continuous orbit after stopping the mouse.
|
||||
Reference in new issue
Block a user