A monster room's chest took its loot table and seed from the level random in vanilla, and its spawner got the chosen mob's spawn data, but the worldgen world ignored both, so the random sequence and the block entities diverged. A block entity also now survives a set of the same kind of block (a waterlogging chest in a ruined portal), as in a vanilla proto chunk. The chunk harness stops reporting default block entities and vault reward tables as differences.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merged local main into the mobs branch. Conflicts were in the mob event
enum (kept both LeashBreak and CureZombieVillager), the LAN and leads
module lists (kept all), horse NBT (chests are written for llamas,
donkeys and mules, with llama data kept), and chunk saving, which now
goes through mob_tree_nbt (main's passenger trees) with write_leash
applied inside it so leashes are still saved.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Nether roof and End sky sections are all air in vanilla and Horizon keeps none, and structure templates keep their stored integer width while vanilla re-saves block entities with its own, so neither is a generation difference.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Brings the llamas, breezes, sniffers, happy ghasts and copper golems on top of the raids, scoreboards, warden, sculk, creaking and golem-construction work already on main. Sniffer eggs now schedule their first hatch stage when placed, boosted on moss.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rewrote a negated float comparison in the compass wobble check, merged two identical branches in the pack overlay mirroring, and replaced the empty item model test stub with small unit tests so the workspace passes clippy and tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Work in progress on the block update differential harness fixtures and redstone/piston update fixes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the stopwatches store saved in data/minecraft/stopwatches.dat, the /stopwatch create, query, restart and remove commands, and the execute if stopwatch condition, with the parse tree and parse fixture updated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resource packs now honour pack.mcmeta overlay directories and filter block patterns when layering files over the vanilla resources.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the vanilla updateShape/neighborChanged oracle, the Rust fixture example and the Python driver, plus a handle_neighbor_changed entry point on Behaviours.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Work in progress on vanilla's item model pipeline in horizon-assets: definition parsing, resolution, generated model baking, special renderers and a differential harness against a Java oracle.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remote players can now open and click containers, and the host gets a LAN menu and action hooks, building on the first LAN server.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A carved pumpkin or jack o'lantern placed on two snow blocks, on an iron T, or on a copper block now brings a golem to life: the pattern blocks vanish with break particles and a snow or iron golem appears; on copper the block turns into the matching copper chest facing the way the pumpkin did.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A Java oracle builds vanilla's real Brigadier command tree with the loaded registries and data-pack tags, exports the tree, and parses a corpus of command strings. The corpus is generated by walking that tree with valid and invalid samples for every argument type plus hand-written edge cases. A Rust example parses the same corpus with Horizon's dispatcher and the Python driver compares success, exact error text and cursor, and end-of-input completion suggestions, with tree-diff and mismatch summary helpers. Currently 79 percent of 39685 inputs match at permission level 4. Entity selector errors now rewind to the start of the input like vanilla.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A world can now be opened to the local network from World Options in the pause menu (LAN on or off, port, command access, forcing the game mode, plus the default and personal game mode, cheats and difficulty), or with horizon-ctl lan open. The hosted world runs a server inside the game that speaks the vanilla 26.3 protocol: server list status, offline-mode login, the configuration phase with the synchronized registries and tags (sent as known-pack references to vanilla clients and in full to clients that know no packs), then the play state with chunks and light, time, weather, the player list, the host and other guests as visible players, mobs and dropped items, block changes, chat and keep-alives. Network I/O runs on its own threads and a world that is not open pays one check per tick. A vanilla 26.3 client and a second Horizon client were verified joining and seeing each other and the terrain.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Happy ghast: an adult floats about, drifts toward a player holding snowballs or a harness, stays within 32 to 64 blocks of where it is, heals slowly (a point a second in rain) and takes a harness by interaction (shears take it off again, and it drops with the ghast); a harnessed adult can be ridden and flown with the movement keys, look direction and jump, and the rider lands on top when getting off. Ghastlings are smaller, follow players and adults, panic fast and grow up in 24000 ticks or faster with snowballs; a dried ghast block now hatches one. Harness and body models, tentacle animation, sounds and saving of the harness are in.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The new oracle drives vanilla's own chunk stages (structure starts and references, biomes, terrain with surface and carvers, then biome decoration with every placed feature and structure piece) through real WorldGenRegion instances, and the chunk_dump example runs the same stages in the same order in Horizon. The Python runner compares every block state, quart biome and block entity over terrain sites and structure sites found by scanning each seed, in the overworld, Nether and End, with phases that stop before features or run structure pieces only.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The command clears the player's warden warning level or sets it from 0 to 4. A mob's death is now heard with the facts of the mob that died, so a dying warden stays silent to sensors.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sniffer: wanders, scents and sniffs, walks to diggable ground it has not explored, digs for a few seconds and drops a torchflower seed or pitcher pod, then stands up happy, with a cooldown of eight minutes before it sniffs again; follows torchflower seeds, panics fast, lays a sniffer egg instead of bearing young when bred, and keeps its explored positions in its save. Sniffer eggs now schedule their hatching when placed (faster on moss), crack twice and hatch a snifflet that takes 48000 ticks to grow up; the keyframe animations, the snifflet model and the lower digging body, dust and sounds are in.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Place a saved structure template at a position with rotation, mirroring, integrity, seed and strict mode. Templates come from the world's generated structures first, then the vanilla template files. Block entities and saved entities are placed along with the blocks, and the template ids are offered as suggestions.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Players and mobs now report footsteps, swimming, landings, splashes, damage, deaths, eating, drinking, container use, shots and landed projectiles, blasts, lightning and primed TNT to the vibration system, with sneaking and wool respected. The darkness effect fades in and out over 22 ticks, closes the fog in to 15 blocks, dims the lightmap with its pulse and hides the sun, moon and stars. Active sculk sensors shed redstone dust, charge and shriek level events show their particles, and the player's warning level is saved with the player data.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
New commands: /recipe, /damage (with at, by and from), /rotate (angles or facing), /swing, /playsound and /stopsound (per sound source, with the minimum volume rule), /particle (dust, block and the other particle options), /attribute (get, base set, reset and modifiers on the player; max health, speed and attack damage on mobs), /ride, /spreadplayers (with teams and a height limit), /forceload (force loaded chunks stay generated and simulated), /fillbiome (with a replace filter and biome tags), /worldborder (set, add, center, damage, warning and get, with the shrink and grow animation, the wall that stops the player and border damage, saved in world_border.dat) and /loot (replace, insert, give and spawn from loot tables, killed mobs, mined blocks and fishing). The sound engine learned to play a sound on a chosen sound source and to stop playing sounds by event or source.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Villagers killed by a zombie, husk, drowned, zombie villager or zombified piglin rise as zombie villagers on Normal (half the time) and Hard (always), keeping their type, profession, level, trades, experience, gossip, equipment and baby state. Splash and lingering potions now give their timed effects to nearby mobs, so a weakness potion followed by a golden apple starts a cure of 3600 to 6000 ticks, sped up by nearby iron bars and beds; the zombie villager shakes, plays the cure sound and swaps weakness for strength. When the clock runs out it becomes a villager again with nausea, the curing player gains major and minor positive gossip (so trades get cheaper), the cured_zombie_villager advancement triggers, and the conversion sounds play. ConversionTime, ConversionPlayer, VillagerData, Offers, Gossips and Xp are saved, curing zombie villagers never despawn, and zombie villagers now draw their level badge and baby textures.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>