Match item-use start equipment synchronization and flag ordering
This commit is contained in:
@@ -1561,3 +1561,19 @@ kinetic-map presence and callback mutation/failure ordering. Targeted Clippy
|
||||
passes. Starting use, actual synchronized flags, consumable/kinetic effects,
|
||||
remainder/cooldown components and full inventory/game-tick integration remain
|
||||
pending.
|
||||
|
||||
|
||||
`item_use_start` starts use from a captured held stack, writes the returned
|
||||
duration after its callback, synchronizes equipment before changing using/offhand
|
||||
flags, emits the component's start vibration and resets recent kinetic enemies
|
||||
when the final active stack has a kinetic-weapon component.
|
||||
|
||||
`python3 tools/test_item_use_start_parity.py` compares inherited native
|
||||
startUsingItem and its private equipment packet construction. The
|
||||
[start-use report](../benchmarks/rust-item-use-start-2026-10-07/scoped-parity.json)
|
||||
records **84,873 matching lines per JAR**, including captured stack/level/hand
|
||||
arguments, empty stacks, callback mutation/failure ordering, flag writes, native
|
||||
UseEffects/KineticWeapon presence and clearing a populated kinetic-enemy map.
|
||||
Targeted Clippy passes; all 20 existing horizon-world library tests pass with
|
||||
these changes. Synchronized flag storage, packet encoding/delivery, kinetic
|
||||
combat and complete inventory/game-tick integration remain pending.
|
||||
|
||||
+2
-1
@@ -11,7 +11,8 @@ resident sections, scheduled tick ordering, geometry, contained fluid states,
|
||||
noise/density evaluation, biome and terrain generation kernels, material rules,
|
||||
and parts of feature placement and decoration. Movement/fluid interactions,
|
||||
registered attributes, hunger storage/ticks, synchronized player health and
|
||||
absorption, damage reduction and outer hurt gates have scoped native comparisons.
|
||||
absorption, damage reduction, outer hurt gates, blocking-item damage, item
|
||||
durability and item-use start/tick/release/completion have scoped native comparisons.
|
||||
These kernels still need complete entity/world lifecycle bindings. All pinned block-survival
|
||||
families now have native differential coverage. Full simulation callbacks,
|
||||
complete chunk generation, entity behavior, networking, rendering and playable
|
||||
|
||||
Reference in New Issue
Block a user