On a busy machine the /list reply sometimes came after the client had
left. Each step now waits for a new chat line, up to 15 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The world was saved 20 wall-clock seconds after force-loading the area, so
on a busy machine chunks were still generating or their fluids flowing,
and random ticks changed blocks while the client was being sent its
chunks: which chunks differed varied from run to run. Wait until every
force-loaded chunk is loaded and 600 game ticks have passed, with
random_tick_speed 0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Mac mini no longer excludes options, chunk_generation,
world_border_render and mob_ai: their float maths now matches vanilla's
on Apple silicon.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Beardifier, density pow/log, Marsaglia's Gaussian, dripstone, ores, fancy
trunks, icebergs, end spikes, strongholds, note pitches, sculk charge
particles, the warden's and brains' weighted shuffles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rust's float functions use the platform libm, and vanilla's own Math
results differ between x86-64 (Intel stubs, close to glibc) and AArch64
(fdlibm, with sin/cos evaluated using fused multiply-adds). jmath picks
the same implementation HotSpot uses on the machine, so options, the
world border's alpha and RandomPos match vanilla on an Apple silicon Mac
as well as on Linux.
The vanilla protocol client no longer records the game-time sync sent
every 20 ticks: whether one arrives before the first chunk batch depends
on when the client joined.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
horizon_client::recipe_book_screen lays out RecipeBookComponent's drawing
(background, search EditBox, tab buttons, the filter CycleButton, the page
of RecipeButtons with its number and arrows, the alternatives overlay,
tooltips) and GhostSlots as vanilla's GUI calls with their poses, and the
game paints them. The new harness builds vanilla's widgets for 600 random
states (VanillaRecipeBookScreenOracle) and compares every call: 600/600.
Ingredients keep their HolderSet order (tags in TagLoader order), which is
how the overlay and ghost slots cycle; the book centres over the menu on
narrow screens as widthTooNarrow does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GuiBannerResultRenderer's flag model and pattern layers, lit with
Lighting.Entry.ITEMS_FLAT and clipped to the 20x40 rectangle, through the
GUI item pipeline. The block entity render harness gains loom result cases
(the oracle submits vanilla's renderToTexture under the PiP pose): 407/407.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The anim harness now runs vanilla's TheEndGatewayBlockEntity on a client and
a server stand-in (triggerCooldown every 2400 ticks and on entry, block event
1) and compares the beam render state; 40 cases match.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The oracle's player stays 5000 blocks east between scenarios, and
Mob.checkDespawn draws for it once a mob idles past 600 ticks
(warden_alone).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Warden.nextStep: a step every 0.55 walked; mob steps raise a step
game event, which the mob AI probe delivers to wardens through the
listener the game uses (warden::listen).
- Warden.tick runs the vibration ticker before super.tick.
- The probe applies melee hits on mobs, reads a warden's target from its
brain, and plays the player's death sound for a lethal hit; warden_player
and warden_cow stop before the killing blow.
- getViewVector(0) uses the head's previous yaw, and AirAndWaterRandomPos
the float quarter turn: tempted ghastlings stroll as vanilla's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Animal babies and dropped items stay out of the comparison, as before the
merge: the probe does not model them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A zombie villager's profession comes from its constructor's random, not
the one finalizeSpawn draws from. Allays and withers are no longer marked
persistent to escape despawning: they are kept as removeWhenFarAway and the
wither's checkDespawn keep them, and canPickUpLoot follows the allay's and
the sulfur cube's overrides. A sulfur cube's size sets its attribute
bases, and strength and speed effects count in attribute values. The
oracle's stand-in level gets the sound seed random Level.playSound draws
from.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The parent's half of VillagerMakeLove.tryToGiveBirth (eating, the child's
bed and type, resting) runs in its own tick, before it ages; the partner's
follows as an event. A baby's NearestBedSensor keeps its bed when the
reused path heads elsewhere, as vanilla checks for a POI there. Footsteps
come from the block under the feet (Entity.mainSupportingBlockPos), not
the column below the centre. The oracle faces newborns' heads with their
bodies (LivingEntity draws the head yaw from Math.random), and the breeding
scenarios leave one free bed per section (PoiManager hands them out in hash
order).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gossip and gifts between villagers (TradeWithVillager) move into the
library so the mob_ai probe runs them as the game does; both villagers now
lock their gaze on each other, as lockGazeAndWalkToEachOther does. The
probe reads the oracle's villager flags, prints villager data (food,
inventory, gossip, reputation) and adds babies as they are born. The
oracle seeds TriggerGate's shuffles too, which were left to the clock.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
VanillaProtocolClient joins a server with vanilla's own codecs;
test_dedicated_server_parity.py compares a vanilla and a Horizon dedicated
server serving the same world.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shrieker summons the warden during the block ticks, so it ticks in the
same tick's entity phase: the oracle and the fixture now seed it (its
random, sensor delays and RunOne shuffles) before that phase, not after.
The heartbeat is a client sound: its pitch no longer draws from the
level random, and the fixture leaves it out as vanilla's server never
sends it. sculk: 435/435.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps both sides' oracle scenarios: the creaking hearts, hurts, leads and
animal flags of parity-base on this branch's entity list, with a heart's
creakings adopted under their creation seed. Restores the villager meeting,
birth and golem-check events the unfinished WIP had begun to replace.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Streaming kept, decorated and generated chunks within circles a fixed
margin wider than the render distance, but finishing a chunk needs its
3x3 neighbours decorated and theirs generated: squares whose corners
fall outside those circles. At render distance 2 the corner chunks around
the player never finished, so their neighbours never lit and the player
was never placed. Each step now also keeps what a finished chunk's
neighbourhood needs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>