Files

5.6 KiB

Quality-of-life modules

All eight additions start disabled. HUDs use the existing FPS card style, font, background/color/scale controls, draggable editor, and grid snapping. Settings and saved waypoint records use profile autosave.

  • Waypoints: F8 (rebindable) or "save current location" adds a named location. Sixteen slots can be renamed or deleted. The newest death gets a separate slot. Choose a world/server group for each world you use; group selection is manual. Locations filter by group and actual dimension. Marker distance, coordinates, range, color, and scale are configurable. Saved data is hidden from the settings panel but included in profile snapshots. Death recording requires the module enabled and a captured alive-to-zero-health transition.
  • Compass: camera-relative direction ticks, heading degrees, width, visible angle, and optional waypoint/death markers. Works with the freelook camera.
  • Session stats: time spent in a world while enabled, horizontal/3D distance, deaths, and positive XP gains. Reset action starts a new session. World or dimension changes reset measurement baselines; teleports and long frame gaps do not add traveled distance. Counters are session-only, not lifetime statistics.
  • Durability alerts: held item/armor selection, percent threshold, notification duration, and repeat interval (zero = once). Repairing or changing items rearms alerts. Damage comes from the native Damage NBT IntTag, not stack auxiliary data.
  • Tool info: held item, remaining/max durability and percent, enchantments with levels, and verified native base attack bonus. This is the item's bonus, not a prediction including enchantments, player attributes, or armor mitigation.
  • Status effects: potion bottle symbols, names/strength, timers, optional bars, adjustable expiry flashing, empty-state hiding, width, and row limit. Infinite effects display "infinite". Bars use the longest duration observed while enabled.
  • Particle controls: percentage of supported named particle requests to keep, with portal/weather/combat/smoke-fire/potion/other category switches. Unchecked categories retain normal behavior. The hook filters definition lookup before emitter creation; existing emitters finish naturally. Legacy unnamed particles and effects that reuse a definition without another lookup are not covered.
  • Sound indicators: native positional SoundInstance start events, names, direction and distance. Configure lifetime, range, row count, footsteps/combat/ ambient/other filters, optional name substring, and nearby-sound hiding. Audio is forwarded unchanged. UI/non-positional sounds and other native audio-instance implementations are not displayed. Indicators show events already started by the client, not arbitrary nearby entities.

Native verification (26.52 / package 1.26.5203.0)

Read-only live checks confirmed Speed I's effect ID, decreasing ticks, and zero amplifier. MobEffectsComponent contains indexed 144-byte instances; ID +0, duration +4, amplifier +0x20. Inactive slots have ID zero. DimensionTypeComponent is a bounded 0/1/2 integer. Native getters still go through the verified sparse ECS access.

The held realm diamond axe reported Damage 546 / max 1561 (1015 remaining), with Unbreaking III, Sharpness V, Efficiency IV, and Mending I. CompoundTag uses a bounded native map; ListTag contains pointers to compound entries with ShortTag id/lvl. Tag type getters and the exact max-damage getter are checked before reading. The attack getter must be a verified read-only integer leaf at +0x218 or +0x228.

All three hook patterns have exactly one match in the captured executable: particle definition lookup RVA 0x21529c0, continuous SoundInstance update RVA 0xb3a4890, and short SoundInstance update RVA 0xb3a9ec0. Particle input is HashedString (native string +8), return is a shared-pointer pair. The emitter's null-definition path returns an invalid handle and cleans its owned arguments normally. Filtering does not skip an owning emitter wrapper destructor. Sound name +0x20, position +0x100, positional flag +0x11c and channel +0x88 were verified against native FMOD setup and live sound objects. Short instances share name +0x20 and channel +0x88, with position +0xa8, positional flag +0xbc and playback state +0xcc. Live portal and horse sounds confirmed these fields. Both start paths are observed; repeated updates to an already-playing channel do not add events.

Tests and remaining live checks

The integration suite covers native-shaped item tags/getter validation, malformed NBT/vector bounds, effect duration/amplifier bounds, waypoint serialization, dimension filtering/actions, death latching, teleport rejection, session XP math, particle sampling, null-handle/pass-through behavior, audio forwarding and start deduplication, reader lifetime across toggles, and actual finite HUD geometry.

In-game interaction still needs verification after loading the rebuilt client: new HUD appearance, saving/reloading waypoint profiles, death-marker capture, audible world sound indicators, and visible reduction of supported particles. The first live build received hundreds of particle requests and suppressed them at the selected density. That check exposed the missing short-sound update path, which is now included and covered by the forwarding/deduplication test.

The reloaded build subsequently received 32 native sound events and 973 particle requests, with 593 particle requests suppressed at the active settings. Minecraft remained responsive. This confirms live event delivery and filtering; the HUD appearance and remaining interactions above still require visual verification.