From 39e8bbb2f4d81e1046e88e96d5b0c06c4a3bd487 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Wed, 14 Oct 2026 17:10:00 +0200 Subject: [PATCH] Cobwebs and sweet berry bushes slow the player Entity.applyEffectsFromBlocks now runs WebBlock.entityInside and SweetBerryBushBlock.entityInside for the player through Player.makeStuckInBlock (no slowdown while flying, impulse context reset), with Weaving's lighter cobweb hold and the sweet_berry_bush damage of a grown bush while the known movement is at least 0.003 on X or Z. The scene motion harness gains cobweb and berry-bush fixtures run through vanilla's real applyEffectsFromBlocks. Co-Authored-By: Claude Opus 5.5 --- .../examples/scene_motion_probe.rs | 6 ++ crates/horizon-client/src/effects.rs | 3 + crates/horizon-client/src/health.rs | 5 ++ crates/horizon-client/src/motion.rs | 71 +++++++++++++++++-- .../parity/VanillaSceneMotionOracle.java | 13 ++-- tools/test_native_scene_motion.py | 47 +++++++++++- 6 files changed, 133 insertions(+), 12 deletions(-) diff --git a/crates/horizon-client/examples/scene_motion_probe.rs b/crates/horizon-client/examples/scene_motion_probe.rs index e5309912b..a5c61c065 100644 --- a/crates/horizon-client/examples/scene_motion_probe.rs +++ b/crates/horizon-client/examples/scene_motion_probe.rs @@ -442,6 +442,12 @@ fn main() -> Result<()> { world.player.freeze_immune = boots; } "frozen" => world.player.ticks_frozen = op["value"].as_i64().unwrap() as i32, + "weaving" => world.player.status.weaving = op["value"].as_bool().unwrap(), + "flying" => { + let flying = op["value"].as_bool().unwrap(); + world.player.may_fly = flying; + world.player.flying = flying; + } "trigger" => world.player.jump_trigger_time = op["value"].as_i64().unwrap() as i32, "delay" => world.player.no_jump_delay = op["value"].as_i64().unwrap() as i32, "move" => world.move_self(vector(&op["value"]))?, diff --git a/crates/horizon-client/src/effects.rs b/crates/horizon-client/src/effects.rs index 7c245987a..4e113bfbb 100644 --- a/crates/horizon-client/src/effects.rs +++ b/crates/horizon-client/src/effects.rs @@ -283,6 +283,7 @@ impl PlayerEffects { levitation: self.amplifier("levitation"), resistance: self.amplifier("resistance"), fire_resistance: self.get("fire_resistance").is_some(), + weaving: self.get("weaving").is_some(), water_breathing: self.get("water_breathing").is_some() || self.get("conduit_power").is_some(), protection: Vec::new(), @@ -378,6 +379,8 @@ pub struct StatusFlags { pub levitation: Option, pub resistance: Option, pub fire_resistance: bool, + /// Weaving: cobwebs hold half as much (`WebBlock.entityInside`). + pub weaving: bool, pub water_breathing: bool, /// Armor enchantment protection per damage type id (`EnchantmentHelper.getDamageProtection`). pub protection: Vec<(String, f32)>, diff --git a/crates/horizon-client/src/health.rs b/crates/horizon-client/src/health.rs index f9c0ed51c..46b4f4542 100644 --- a/crates/horizon-client/src/health.rs +++ b/crates/horizon-client/src/health.rs @@ -81,6 +81,8 @@ pub enum HealthEvent { StarvationDamage(f32), /// `LivingEntity.aiStep` hurting a fully frozen entity. FreezeDamage(f32), + /// `SweetBerryBushBlock.entityInside` pricking a moving entity. + SweetBerryBushDamage(f32), Updated { id: u8, value: f32, @@ -106,6 +108,9 @@ impl HealthEvent { match self { Self::StarvationDamage(amount) => format!("damage starve {:08x}", amount.to_bits()), Self::FreezeDamage(amount) => format!("damage freeze {:08x}", amount.to_bits()), + Self::SweetBerryBushDamage(amount) => { + format!("damage sweet_berry_bush {:08x}", amount.to_bits()) + } Self::Updated { id, value, dirty } => { format!("updated {id} {:08x} {dirty}", value.to_bits()) } diff --git a/crates/horizon-client/src/motion.rs b/crates/horizon-client/src/motion.rs index 779e50b8a..dde0b02af 100644 --- a/crates/horizon-client/src/motion.rs +++ b/crates/horizon-client/src/motion.rs @@ -775,7 +775,7 @@ impl MotionWorld<'_, '_, '_> { } /// `Entity.applyEffectsFromBlocks` for the blocks Horizon's player reacts /// to inside its movement path: powder snow (`PowderSnowBlock.entityInside` - /// and the FREEZE / EXTINGUISH effects). Pressure plates, tripwires and + /// and the FREEZE / EXTINGUISH effects), cobwebs and sweet berry bushes. Pressure plates, tripwires and /// rails are the world tick's scan. pub fn apply_effects_from_blocks(&mut self) -> Result<()> { use horizon_world::entity_move::MovementRecord; @@ -955,9 +955,14 @@ impl MotionWorld<'_, '_, '_> { } }; if inside && visited.insert(p.pack()) { - if powder_snow { - self.powder_snow_inside(p)?; - entered.push((step, p)); + match name { + "minecraft:powder_snow" => { + self.powder_snow_inside(p)?; + entered.push((step, p)); + } + "minecraft:cobweb" => self.web_inside(), + "minecraft:sweet_berry_bush" => self.sweet_berry_bush_inside(state)?, + _ => {} } // ServerPlayer.onInsideBlock self.player.events.push(MotionEvent::EnterBlock { state }); @@ -965,6 +970,60 @@ impl MotionWorld<'_, '_, '_> { } Ok(iterations + 1) } + /// `Player.makeStuckInBlock`: the next move is scaled by `multiplier` + /// (and the fall forgotten) unless flying; the impulse context resets + /// either way. + fn make_stuck_in_block(&mut self, multiplier: Vec3) { + if !self.player.flying { + self.player.fall_distance = 0.0; + self.player.stuck_multiplier = multiplier; + } + self.player.impulse.try_reset(); + } + /// `WebBlock.entityInside`: stuck at a quarter of the speed, half with + /// the Weaving effect. + fn web_inside(&mut self) { + let multiplier = if self.player.status.weaving { + Vec3::new(0.5, 0.25, 0.5) + } else { + Vec3::new(0.25, f64::from(0.05_f32), 0.25) + }; + self.make_stuck_in_block(multiplier); + } + /// `SweetBerryBushBlock.entityInside` for the player: slowed, and pricked + /// (`sweetBerryBush` damage, 1) by a grown bush while its known movement + /// is at least 0.003 on X or Z. + fn sweet_berry_bush_inside(&mut self, state: BlockStateId) -> Result<()> { + self.make_stuck_in_block(Vec3::new(f64::from(0.8_f32), 0.75, f64::from(0.8_f32))); + let age = self + .assets + .registry + .state(state) + .and_then(|s| s.properties.get("age")) + .map_or("0", |a| a.as_str()); + if age == "0" { + return Ok(()); + } + // Player.isClientAuthoritative: ServerPlayer.getKnownMovement, this + // tick's movement. + let known = self.player.position.subtract(self.player.old_position); + if known.x * known.x + known.z * known.z > 0.0 + && (known.x.abs() >= f64::from(0.003_f32) || known.z.abs() >= f64::from(0.003_f32)) + { + let id = self + .resources + .health + .damage + .id("minecraft:sweet_berry_bush") + .ok_or("missing sweet_berry_bush damage type")?; + self.player.events.push(MotionEvent::Health( + crate::health::HealthEvent::SweetBerryBushDamage(1.0), + )); + let rules = self.scene.health_rules; + self.player.hurt(&self.resources.health, rules, id, 1.0)?; + } + Ok(()) + } /// `PowderSnowBlock.entityInside` for the player: stuck while the block /// at its feet is powder snow, with a snowflake now and then (server). fn powder_snow_inside(&mut self, p: BlockPos) -> Result<()> { @@ -977,9 +1036,7 @@ impl MotionWorld<'_, '_, '_> { if !in_block { return Ok(()); } - // Entity.makeStuckInBlock - EntityMoveWorld::reset_fall_distance(self)?; - self.player.stuck_multiplier = Vec3::new(f64::from(0.9_f32), 1.5, f64::from(0.9_f32)); + self.make_stuck_in_block(Vec3::new(f64::from(0.9_f32), 1.5, f64::from(0.9_f32))); // ServerPlayer.getKnownMovement: this tick's movement. let known = self.player.position.subtract(self.player.old_position); let random = &mut self.scene.random; diff --git a/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaSceneMotionOracle.java b/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaSceneMotionOracle.java index 446f40501..4ff64b7da 100644 --- a/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaSceneMotionOracle.java +++ b/mods/horizon/src/test/java/dev/horizonlab/parity/VanillaSceneMotionOracle.java @@ -74,8 +74,9 @@ public final class VanillaSceneMotionOracle { return VanillaBlockLandingOracle.sound(s); } static final class Sources extends DamageSources { - DamageSource fall,stalagmite,starve,freeze;Sources(){super(null);} + DamageSource fall,stalagmite,starve,freeze,sweetBerryBush;Sources(){super(null);} @Override public DamageSource freeze(){return freeze;} + @Override public DamageSource sweetBerryBush(){return sweetBerryBush;} @Override public DamageSource starve(){return starve;} @Override public DamageSource fall(){return fall;} @Override public DamageSource stalagmite(){return stalagmite;} @@ -188,7 +189,9 @@ public final class VanillaSceneMotionOracle { @Override public boolean isAutoSpinAttack(){return false;} @Override public boolean isSpectator(){return false;} @Override public boolean isNoGravity(){return false;} - @Override public boolean hasEffect(Holder effect){return false;} + // No effects but Weaving (WebBlock.entityInside), set without the effect's callbacks. + boolean weaving; + @Override public boolean hasEffect(Holder effect){return weaving&&effect==net.minecraft.world.effect.MobEffects.WEAVING;} @Override public MobEffectInstance getEffect(Holder effect){return null;} @Override public MoveSimulationType getMoveSimulationType(){return MoveSimulationType.SERVER_AND_CLIENT;} @Override public boolean isClientAuthoritative(){return false;} @@ -205,7 +208,7 @@ public final class VanillaSceneMotionOracle { String name=stat==net.minecraft.stats.Stats.DAMAGE_ABSORBED?"absorbed":stat==net.minecraft.stats.Stats.DAMAGE_TAKEN?"taken":stat==net.minecraft.stats.Stats.DAMAGE_RESISTED?"resisted":null; if(name==null){name=stat.getPath();if(!Set.of("swim_one_cm","walk_under_water_one_cm","walk_on_water_one_cm","climb_one_cm","sprint_one_cm","crouch_one_cm","walk_one_cm","aviate_one_cm","fly_one_cm").contains(name))throw new AssertionError(stat);}events.add("health-stat "+name+" "+value); } - @Override public boolean hurtServer(net.minecraft.server.level.ServerLevel level,DamageSource source,float damage){var sources=((Level)level).sources;events.add(String.format("damage %s %08x",source==sources.fall?"fall":source==sources.stalagmite?"stalagmite":source==sources.starve?"starve":source==sources.freeze?"freeze":"unknown",Float.floatToIntBits(damage)));return super.hurtServer(level,source,damage);} + @Override public boolean hurtServer(net.minecraft.server.level.ServerLevel level,DamageSource source,float damage){var sources=((Level)level).sources;events.add(String.format("damage %s %08x",source==sources.fall?"fall":source==sources.stalagmite?"stalagmite":source==sources.starve?"starve":source==sources.freeze?"freeze":source==sources.sweetBerryBush?"sweet_berry_bush":"unknown",Float.floatToIntBits(damage)));return super.hurtServer(level,source,damage);} @Override public void teleportRelative(double x,double y,double z){setPos(getX()+x,getY()+y,getZ()+z);} @Override protected void playStepSound(BlockPos p,BlockState state){} @Override public void gameEvent(Holder event,Entity source){} @@ -283,7 +286,7 @@ public final class VanillaSceneMotionOracle { var trace=new Trace();trace.out=new PrintWriter(OutputStream.nullOutputStream());trace.fail=-1; var level=(Level)allocate.invoke(unsafe,Level.class);level.chunks=VanillaSceneCollisionOracle.scene(description,trace);level.border=new Border(); level.rng=net.minecraft.util.RandomSource.create(0);level.sources=(Sources)allocate.invoke(unsafe,Sources.class); - level.sources.fall=damageSources.get("minecraft:fall");level.sources.stalagmite=damageSources.get("minecraft:stalagmite");level.sources.starve=damageSources.get("minecraft:starve");level.sources.freeze=damageSources.get("minecraft:freeze"); + level.sources.fall=damageSources.get("minecraft:fall");level.sources.stalagmite=damageSources.get("minecraft:stalagmite");level.sources.starve=damageSources.get("minecraft:starve");level.sources.freeze=damageSources.get("minecraft:freeze");level.sources.sweetBerryBush=damageSources.get("minecraft:sweet_berry_bush"); level.waypoints=(Waypoints)allocate.invoke(unsafe,Waypoints.class);level.waypoints.level=level; level.rules=new Rules();level.difficulty=net.minecraft.world.Difficulty.NORMAL; var server=(VanillaBlockLandingOracle.Server)allocate.invoke(unsafe,VanillaBlockLandingOracle.Server.class); @@ -370,6 +373,8 @@ public final class VanillaSceneMotionOracle { ((EntityEquipment)field(LivingEntity.class,"equipment").get(p)).set(net.minecraft.world.entity.EquipmentSlot.FEET,stack); } case "frozen"->p.frozen=op.get("value").getAsInt(); + case "weaving"->p.weaving=op.get("value").getAsBoolean(); + case "flying"->{var a=p.getAbilities();a.mayfly=a.flying=op.get("value").getAsBoolean();} case "trigger"->trigger.setInt(p,op.get("value").getAsInt()); case "delay"->delay.setInt(p,op.get("value").getAsInt()); case "ack_attributes"->{p.attrs.getAttributesToUpdate().clear();p.attrs.getAttributesToSync().clear();} diff --git a/tools/test_native_scene_motion.py b/tools/test_native_scene_motion.py index 09eeee966..dd8270f7c 100644 --- a/tools/test_native_scene_motion.py +++ b/tools/test_native_scene_motion.py @@ -145,10 +145,55 @@ def powder_snow_corpus(): ops += restore(tower) yield dict(position=vec((25.5,4,23.5) if yaw in (0,180) else (23.5,4,25.5)),ops=ops) +def stuck_corpus(): + """Cobwebs and sweet berry bushes in the player's path ("snow_tick" runs + the real applyEffectsFromBlocks): WebBlock.entityInside with and without + Weaving, SweetBerryBushBlock.entityInside at every age (the slowdown, and + sweet_berry_bush damage while moving through a grown bush), falling into + them, crossing both, and flying through (Player.makeStuckInBlock).""" + def place(name,positions,properties=None): + return [op('block',name=name,position=list(p),**({'properties':properties} if properties else {})) for p in positions] + def restore(positions): + return [op('block',name='minecraft:stone' if p[1]<=3 else 'minecraft:air',position=list(p)) for p in positions] + def tick(forward=0.,strafe=0.,jump=False): + return op('snow_tick',vec((strafe,0,forward)),jumping=jump) + field=[(x,y,z) for x in range(24,27) for y in (4,5) for z in range(24,29)] + low=[(x,4,z) for x in range(24,27) for z in range(24,29)] + rng=random.Random(0x57454253) + walks=[(0,0,False),(.98,0,False),(.98,0,True),(0,.98,True),(-.98,.3,False),(.3,-.98,True)] + for block,blocks,variants in [('minecraft:cobweb',field,[{}]),('minecraft:sweet_berry_bush',low,[{'age':str(a)} for a in range(4)])]: + for properties in variants: + for weaving in ([False,True] if block=='minecraft:cobweb' else [False]): + for start in [(25.5,4,23.5),(25.5,4,25.5),(25.5,9,25.5),(24.2,4,26.7)]: + for walk in walks: + ops=[op('seed',rng.randrange(1<<31)),op('weaving',weaving),op('yaw',single(rng.choice([0,30,90,180,-135])))]+place(block,blocks,properties) + ops += [tick(*walk) if i<50 else tick() for i in range(70)] + ops += restore(blocks) + yield dict(position=vec(start),ops=ops) + # Damage cooldown and health: a long walk back and forth through ripe bushes. + for age in [1,2,3]: + for health in [20,3,1]: + ops=[op('health',single(health))]+place('minecraft:sweet_berry_bush',low,{'age':str(age)}) + ops += [tick(.98 if (i//25)%2==0 else -.98) for i in range(120)] + yield dict(position=vec((25.5,4,23.5)),ops=ops) + # A web beside a bush and powder snow under a web. + for yaw in [0,90,180,270]: + ops=[op('yaw',single(yaw))]+place('minecraft:cobweb',[(25,4,25),(25,5,25)])+place('minecraft:sweet_berry_bush',[(25,4,26),(24,4,25)],{'age':'3'}) + ops += place('minecraft:powder_snow',[(26,3,25),(26,2,25)])+place('minecraft:cobweb',[(26,4,25)]) + ops += [tick(.98,(.98 if i%20<10 else 0),i%15==0) for i in range(80)] + yield dict(position=vec((25.5,4,23.5) if yaw in (0,180) else (23.5,4,25.5)),ops=ops) + # Flying through: no slowdown or fall reset (Player.makeStuckInBlock). + for block,properties in [('minecraft:cobweb',None),('minecraft:sweet_berry_bush',{'age':'3'})]: + for walk in [(.98,0,False),(0,.98,False)]: + ops=[op('flying',True)]+place(block,field if block=='minecraft:cobweb' else low,properties) + ops += [tick(*walk) for _ in range(40)]+[op('flying',False)]+[tick(*walk) for _ in range(30)] + yield dict(position=vec((25.5,4.5,23.5)),ops=ops) + def corpus(): yield from attribute_corpus(False) yield from pose_corpus(False) yield from powder_snow_corpus() + yield from stuck_corpus() def food(level=20,saturation=5,exhaustion=0,timer=0): return op('food',food=level,saturation=single(saturation),exhaustion=single(exhaustion),timer=timer) # Actual ServerPlayer.checkMovementStatistics with all query contexts. These @@ -464,7 +509,7 @@ def main(): 'java':subprocess.check_output(['java','--version'],text=True).splitlines()[0],'fixtures':len(fixtures), 'operations':operations,'sources_sha256':tested,'resources':resource_hash,'input_sha256':input_hash, 'references':references, - 'scope':('Client sprint scene executes the real LocalPlayer.aiStep prefix through sprint decisions, stopping at the riding/parent movement boundary, followed by real LocalPlayer.modifyInput and the native server actor simulation. Sprint setters dispatch to that server actor, sharing its actual FoodData and collision conditions. Compares local sprint timer/input history and actual attribute changes, movement, distance exhaustion and hunger. Actual local crouch selection precedes new keyboard input; slowdown, sprint eligibility and pose-dependent dimensions share resident state. No effects, equipment, vehicles or fluid physics. Full client/server tick and networking remain unfinished. ' if args.sprint_input else '')+'Stored PlayerMotion binds resident client chunks and registered attributes/coefficients to air travel, jumping, Entity.move, step resolution, ground/support updates, restitution and speed factors. Repeated native Player.travel/jump/move and actual Player.aiStep / direct LivingEntity.aiStep compare position, velocity, bounds, collision/ground flags, support, climb state, fall-reset field, both sync flags, speed, head yaw, jump trigger and jump delay by exact bits. Prepared-local-input Player.aiStep paths verify the stored speed refresh after movement, with empty inventory and no nearby entities. Travel uses the actual Player.getSpeed movement-attribute query, independently of that stored base-living speed field; both getter and setter execute native bodies. Dry aiStep includes small-velocity cleanup, input damping, held/released jump timing and server frost-modifier removal. Snapshots also compare all allocated attribute instances, base/cache/dirty state, modifier values/operations/permanence and pending update/sync membership. Per-reference JVM holder/instance hashes are replayed so pending callback order and resulting ordered events also match. Dry resident scene with standing, crouching and crawling bounds, cached eye height, native pose-fit selection and ledge backoff; zero frozen ticks, empty equipment, no interpolation, fluids, vehicles, effects or other entities. The oracle controls pose storage and invokes actual native refreshDimensions on changes; full synchronized pose schema and network notifications remain separate. Actual pending attribute refresh runs after player movement and before pose selection in simulation operations, clamping health/absorption and rebuilding scale-dependent dimensions. Native ServerPlayer waypoint-receive and inherited transmit callbacks are compared as ordered requests; the waypoint manager and its network delivery remain controlled consumers. Direct refresh operations and the full enclosing tick remain separate boundaries. Actual LivingEntity.checkFallDamage, registered Block.fallOn/bounceOn and Player/LivingEntity.causeFallDamage are composed, including float-narrowed fall-distance accumulation, reset, last-climb clearing, safe-fall and damage-multiplier attributes, impulse exemptions and ordered landing particle/sound/statistic/hit-ground/damage requests. Farmland pushes the stored player and replaces actual chunk state; repeated turtle-egg changes preserve hatch. Block state at the landing fixture is compared after every operation. World RNG is a seeded native legacy stream. Actual ServerPlayer/Player/LivingEntity hurt dispatch now updates native synchronized health and player absorption, modified armor/toughness reduction, exhaustion, damage cooldown/last-source state and velocity synchronization. Native health storage and dirty flags are compared after every operation. Damage sources use actual decoded/tagged pinned damage registries. ServerPlayer jump statistics and exhaustion are included; dead-or-dying state disables movement input and jumping. Empty equipment/hands/effects, configurable difficulty and natural regeneration, damage gamerules enabled, loaded client and no spawn-extra fall particles define this scene domain. Ordered health/statistic/combat-record/broadcast/sound/criterion/death requests are compared; criterion argument payloads retain the separate combat gate. Actual health changes are applied, but audiovisual playback, persistent statistics, combat tracker internals, full death/drop/respawn services, block neighbor/drop/block-entity callbacks, movement emission, block-inside and networking remain controlled consumers. Actual FoodData.tick and ServerPlayer.tickRegeneration now share the same stored health, attributes, exhaustion and registered starvation damage. Snapshots compare food level, saturation, exhaustion, timer and tick count. Cases cover all four difficulties, regeneration rule changes, absorption during starvation, Peaceful recovery, timer overflow and nonfinite food values. Simulation operations compose clock setup, actual player movement and actual food ticking in their native order, including fall damage followed by regeneration in the same tick. Explicit clock operations establish cooldown/hurt-time/game-time/tick-count state; full enclosing native tick/doTick methods are not invoked by those setup operations. Input preparation has its own client comparison. ServerPlayer.checkMovementStatistics executes on accepted resident deltas after movement and before food ticking. Additional direct method fixtures cover all 512 overlapping passenger/swim/eye-water/water/climb/ground/sprint/crouch/glide flag combinations, invulnerable abilities, centimeter rounding, overflow, signed zero and nonfinite deltas. Those query contexts apply only to the statistics method; fluid/vehicle/glide physics remain unbound. ServerGamePacketListener packet acceptance/rejection and scheduling are not executed. Powder snow operations (snow_tick) run the clock, the powder snow flags and old position of baseTick, then actual aiStep with the real Entity.applyEffectsFromBlocks (movement-path block sweep, StepBasedCollector, PowderSnowBlock.entityInside: stuck multiplier, ALTERNATIVE snowflake particles from the level random, FREEZE/EXTINGUISH, ServerPlayer.onInsideBlock criteria) and the server freezing phase (thaw, frost modifier, freeze damage every 40 ticks); leather boots are a component-less stack and #freeze_immune_wearables is emulated by them. Outside snow_tick block-inside effects stay disabled on both sides. No full Player.tick, consumable item-use lifecycle, local input lifecycle, nonempty inventory/equipment ticks, full freezing, complete death lifecycle or full gameplay parity claim.'}) + 'scope':('Client sprint scene executes the real LocalPlayer.aiStep prefix through sprint decisions, stopping at the riding/parent movement boundary, followed by real LocalPlayer.modifyInput and the native server actor simulation. Sprint setters dispatch to that server actor, sharing its actual FoodData and collision conditions. Compares local sprint timer/input history and actual attribute changes, movement, distance exhaustion and hunger. Actual local crouch selection precedes new keyboard input; slowdown, sprint eligibility and pose-dependent dimensions share resident state. No effects, equipment, vehicles or fluid physics. Full client/server tick and networking remain unfinished. ' if args.sprint_input else '')+'Stored PlayerMotion binds resident client chunks and registered attributes/coefficients to air travel, jumping, Entity.move, step resolution, ground/support updates, restitution and speed factors. Repeated native Player.travel/jump/move and actual Player.aiStep / direct LivingEntity.aiStep compare position, velocity, bounds, collision/ground flags, support, climb state, fall-reset field, both sync flags, speed, head yaw, jump trigger and jump delay by exact bits. Prepared-local-input Player.aiStep paths verify the stored speed refresh after movement, with empty inventory and no nearby entities. Travel uses the actual Player.getSpeed movement-attribute query, independently of that stored base-living speed field; both getter and setter execute native bodies. Dry aiStep includes small-velocity cleanup, input damping, held/released jump timing and server frost-modifier removal. Snapshots also compare all allocated attribute instances, base/cache/dirty state, modifier values/operations/permanence and pending update/sync membership. Per-reference JVM holder/instance hashes are replayed so pending callback order and resulting ordered events also match. Dry resident scene with standing, crouching and crawling bounds, cached eye height, native pose-fit selection and ledge backoff; zero frozen ticks, empty equipment, no interpolation, fluids, vehicles, effects or other entities. The oracle controls pose storage and invokes actual native refreshDimensions on changes; full synchronized pose schema and network notifications remain separate. Actual pending attribute refresh runs after player movement and before pose selection in simulation operations, clamping health/absorption and rebuilding scale-dependent dimensions. Native ServerPlayer waypoint-receive and inherited transmit callbacks are compared as ordered requests; the waypoint manager and its network delivery remain controlled consumers. Direct refresh operations and the full enclosing tick remain separate boundaries. Actual LivingEntity.checkFallDamage, registered Block.fallOn/bounceOn and Player/LivingEntity.causeFallDamage are composed, including float-narrowed fall-distance accumulation, reset, last-climb clearing, safe-fall and damage-multiplier attributes, impulse exemptions and ordered landing particle/sound/statistic/hit-ground/damage requests. Farmland pushes the stored player and replaces actual chunk state; repeated turtle-egg changes preserve hatch. Block state at the landing fixture is compared after every operation. World RNG is a seeded native legacy stream. Actual ServerPlayer/Player/LivingEntity hurt dispatch now updates native synchronized health and player absorption, modified armor/toughness reduction, exhaustion, damage cooldown/last-source state and velocity synchronization. Native health storage and dirty flags are compared after every operation. Damage sources use actual decoded/tagged pinned damage registries. ServerPlayer jump statistics and exhaustion are included; dead-or-dying state disables movement input and jumping. Empty equipment/hands/effects, configurable difficulty and natural regeneration, damage gamerules enabled, loaded client and no spawn-extra fall particles define this scene domain. Ordered health/statistic/combat-record/broadcast/sound/criterion/death requests are compared; criterion argument payloads retain the separate combat gate. Actual health changes are applied, but audiovisual playback, persistent statistics, combat tracker internals, full death/drop/respawn services, block neighbor/drop/block-entity callbacks, movement emission, block-inside and networking remain controlled consumers. Actual FoodData.tick and ServerPlayer.tickRegeneration now share the same stored health, attributes, exhaustion and registered starvation damage. Snapshots compare food level, saturation, exhaustion, timer and tick count. Cases cover all four difficulties, regeneration rule changes, absorption during starvation, Peaceful recovery, timer overflow and nonfinite food values. Simulation operations compose clock setup, actual player movement and actual food ticking in their native order, including fall damage followed by regeneration in the same tick. Explicit clock operations establish cooldown/hurt-time/game-time/tick-count state; full enclosing native tick/doTick methods are not invoked by those setup operations. Input preparation has its own client comparison. ServerPlayer.checkMovementStatistics executes on accepted resident deltas after movement and before food ticking. Additional direct method fixtures cover all 512 overlapping passenger/swim/eye-water/water/climb/ground/sprint/crouch/glide flag combinations, invulnerable abilities, centimeter rounding, overflow, signed zero and nonfinite deltas. Those query contexts apply only to the statistics method; fluid/vehicle/glide physics remain unbound. ServerGamePacketListener packet acceptance/rejection and scheduling are not executed. Powder snow operations (snow_tick) run the clock, the powder snow flags and old position of baseTick, then actual aiStep with the real Entity.applyEffectsFromBlocks (movement-path block sweep, StepBasedCollector, PowderSnowBlock.entityInside: stuck multiplier, ALTERNATIVE snowflake particles from the level random, FREEZE/EXTINGUISH, ServerPlayer.onInsideBlock criteria; WebBlock.entityInside with and without Weaving and SweetBerryBushBlock.entityInside at every age through Player.makeStuckInBlock, with sweet_berry_bush damage on the known movement) and the server freezing phase (thaw, frost modifier, freeze damage every 40 ticks); leather boots are a component-less stack and #freeze_immune_wearables is emulated by them. Outside snow_tick block-inside effects stay disabled on both sides. No full Player.tick, consumable item-use lifecycle, local input lifecycle, nonempty inventory/equipment ticks, full freezing, complete death lifecycle or full gameplay parity claim.'}) print(f'Scoped scene motion parity passed: {report}',flush=True) if __name__=='__main__':main()