Villagers remember players through gossip (major and minor, positive and
negative, and trading) that fades by the day and spreads when villagers
meet, saved with each villager. Hitting a villager earns a minor negative
mark, killing one in front of others a major one, and each trade a small
positive one; the reputation changes the prices, as does Hero of the
Village. Villagers that meet swap gossip, pass surplus food to hungry
neighbours (farmers to anyone) and wares to the profession that wants them,
pick up food and seeds from the ground into an eight-slot inventory, and
willing pairs (twelve food points, awake, adult) make a baby after about
fourteen seconds when a free bed is within 48 blocks. Frightened villagers
and gossiping groups that slept lately call for an iron golem, and golems
defend a village against a player whom a villager nearby holds at minus
100. Bottles from structure loot keep their amplifier.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Drinking an ominous bottle gives Bad Omen; inside a village it turns into
Raid Omen, and when that runs out a raid starts, or grows, around the
village points villagers have claimed (the raid_trigger statistic and the
voluntary exile trigger fire on the first omen). Raids are saved in
data/minecraft/raids.dat and send waves of pillagers, vindicators, evokers,
witches and ravagers (ravagers carrying pillagers, evokers or vindicators)
by difficulty and omen level, from a ring that closes in as the countdown
runs down, with the raid horn and a red notched boss bar that shows the
raiders left, Victory or Defeat. Raiders walk to the village, move between
beds, take back a dropped captain banner, celebrate a lost village, are
enchanted with Quick Charge or Sharpness at high omen levels and are
dropped from the raid when idle or far away. Killing one makes the player a
hero; a won raid grants Hero of the Village and the hero_of_the_village
trigger. Villagers hide in their beds during a wave, ring the bell before
one, celebrate a victory with fireworks, and toss gifts to a hero. /raid
start, stop, check, spawnleader, setomen, glow and sound are available.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Every ten minutes or so, in daylight and a fifth of the time, a patrol of
pillagers spawns 24 to 48 blocks from a player who is not near a village,
once the world is five days old and outside mushroom fields. The leader
wears the ominous banner and heads for a distant target in ten block hops
with its companions following; patrols hold their ground, shout to nearby
raiders and attack together once something comes close. Natural spawns lead
a patrol one time in seventeen. A fallen banner always drops, and a captain
pillager drops an ominous bottle that gives Bad Omen when drunk. Patrol
state, the banner's patterns and the bottle's amplifier are saved as vanilla
NBT.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A creaking heart in a pale oak trunk now follows its logs: placed or updated between two logs on its axis it wakes at night (12600 to 23400 in the overworld) or goes dormant by day, and stays uprooted without them. An awake heart with a player within 32 blocks spawns a linked creaking within 16 blocks, keeps its UUID in the saved block entity, reports the distance to it as a comparator signal, and lets it go when the day comes, it strays more than 34 blocks or a player stands inside it. The creaking freezes while any player looks at it, wakes when one looks from within 12 blocks, then hunts the nearest visible player and hits every 40 ticks. Bound to a heart it takes no damage; hits only make it sway and, when a player did it, make the heart send trail particles and sometimes spread resin clumps over nearby logs. Breaking the heart makes its creaking twitch to death, and removing the block any other way tears it down in a burst of crumbling pale oak. It has the vanilla model, animations (walk, attack, invulnerable, death), glowing eyes, sounds and NBT home_pos, and the trail particle exists now.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Dispensers now follow DispenserBlock's behaviour table: arrows, eggs, snowballs, experience bottles, thrown potions, firework rockets (flying straight until they hit something) and fire charges are shot out with the vanilla power and spread; buckets place or pick up water, lava, powder snow and mobs through the new Behaviours bucket calls; flint and steel, bone meal, TNT, shears (sheep, mooshrooms, bogged, beehives), brushes on armadillos, honeycomb waxing, respawn anchors, glass bottles (water, honey), water potions on mud, boats, minecarts, armor stands, shulker boxes, carved pumpkins (which now build snow and iron golems for players too), wither skulls, spawn eggs and worn equipment on players, armor stands and mobs that may pick up loot. Every dispense plays the vanilla click, fail or launch sound and the smoke puff, and droppers keep the plain drop or container insert. Experience bottles can also be thrown by the player.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Chunks saved with isLightOn now read their SkyLight and BlockLight arrays back like vanilla instead of being relit: a missing sky layer repeats the bottom layer of the section above it, and a missing block layer is dark. Such chunks skip the light job, mesh as soon as their neighbours are lit, and only relight when a freshly generated neighbour arrives. tools/test_light_parity.py builds a scene of slabs, stairs, snow, trapdoors, lanterns, leaves and lava in a vanilla world, edits it, and requires every saved light value and every incremental relight to match Horizon's engine.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Entities and physics move to 0.75 now that the dragon, vehicles,
decorative entities and most mobs are in; the gap lists and next steps
follow the code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chunks gain inhabited time while a player is near (saved as
InhabitedTime), giving vanilla's local difficulty. Zombies, husks,
zombie villagers and skeletons spawn with armour sets by it, piglins with
golden pieces; worn armour protects them, is drawn with the humanoid
armour layers, drops 8.5% of the time and is saved. Zombie, drowned and
zombified piglin weapon odds now follow 26.3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Villagers claim a free bed and a bell, work at their job site by day
(work sounds, and up to two restocks a day with demand catch-up), meet
at the bell in the evening and sleep in their bed at night, lying as
vanilla draws sleepers. They wake at dawn, when hurt or when the bed
goes. Memories, restock counts and the last restock are saved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Villagers claim the nearest free job site within 48 blocks and take its
profession, lose a fresh profession when the site goes, flee zombies and
raiders, and shake their heads when they have nothing to sell.
Right-clicking a villager or wandering trader opens its trades; offers,
experience, level, profession and job site are saved as vanilla NBT.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Allay: given an item it keeps the player as its friend, flies to matching drops within 32 blocks, carries up to a stack and throws it to the player (or a liked note block) one item a tick within 3 blocks, pausing pickups for three seconds after each throw; it dances by a playing jukebox, duplicates when given an amethyst shard mid-dance, heals over time, cannot be hurt by its player, and hands its item back to an empty hand; animation and NBT. Mobs now save and load what they hold (equipment mainhand and offhand), and models whose root holds another part named root (allay, vex, frog, baby axolotl) no longer apply that offset twice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Camel: always tame, saddled and ridden like a horse (the rider at the hump, lower while it sits), dashing forward on the jump bar with a 55-tick cooldown and faster while sprinting, sitting down and standing up now and then (no moving meanwhile, up at once in water or when panicking), eating cactus, the keyframe animations (walk, sit, sit pose, stand up, idle, dash) and its NBT. Mobs whose health is above zero no longer keep a death clock from a save, and a dead wither stops healing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parched: the desert skeleton with 16 health, a 70-tick bow interval and arrows of weakness for 30 seconds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Building a T of soul sand or soul soil under three wither skeleton skulls (upright along X or Z) summons the wither: eleven seconds of invulnerable charging that heal it and end in a power 7 blast, then flight toward its target while the centre head fires skulls on a ranged-attack clock and the side heads pick their own targets, blocks around it broken when hurt, regeneration, immunity to arrows below half health and to the undead, a purple boss bar with boss music, the nether star drop, its animation, texture and scale. Wither skulls fly like fireballs (blue ones keep their speed), hit for 8 with withering and explode. Block items such as heads aimed at a block are now placed instead of equipped. Vexes no longer drop their swords.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ravager: melee charges speeding up while hunting, trampling leaves it runs into, the 10-tick bite with its head lunge, stunned for two seconds by a raised shield half the time (else flinging the defender), then a roar that hurts everything but illagers within 4 blocks and flings it away, and its NBT.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Evoker: the spellcaster goals with their warm-ups and intervals (summoning three vexes for 30 to 120 seconds, fangs in a ring when the target is close or a line of sixteen toward it, turning blue sheep red), fleeing players, the spellcasting arm pose. Vex: flying through blocks around its bound origin, charging its target with an iron sword, copying its evoker's target, wasting away after its life. Evoker fangs rise from the floor after their delay and bite for 6. Guardian beams are only drawn for guardians.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shulker: attached to a block face (re-attaching or teleporting when it is lost), idle peeks, opening to fire a homing bullet every one to five and a half seconds at a player within 20 blocks, arrows bouncing off the closed shell, a chance to teleport below half health, dyed shells, the lid and head animation and the rotation onto its face, and its NBT. ShulkerBullet steps toward its target along axes and levitates what it hits for 10 seconds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Guardian: the swimming move control with its wobble, water travel, stroll and targeting of players, squid and axolotls, the laser charging 80 ticks (60 for the elder) before indirect magic plus a bite, spikes hurting melee attackers while still, flopping on land, the tail, spikes and eye animation, the rendered beam, and the spawn rules. The elder curses players within 50 blocks with mining fatigue every minute.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Structure pieces now spawn their entities: the swamp hut's witch and black cat, the monument's three elder guardians, end city sentry shulkers and the elytra item frame, mansion evokers, vindicators and allays, ocean ruin drowned, and mineshaft chest minecarts with their loot rolled in. Chunks keep their structure references (saved as structures.References), so structures_at answers advancement location predicates, and natural spawning uses structure spawn_overrides (guardians in monuments, witches in huts, fortress mobs on nether bricks).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Structure templates now place their saved entities (StructureTemplate.placeEntities: moved, turned and mirrored with the template, finalized for jigsaw pieces, ignored for mansions and end cities), carried in the proto chunk and spawned with the chunk: villages get their villagers and animals. /locate structure (an id or a #tag) searches ring and random-spread placements like ChunkGenerator.findNearestMapStructure; seed 42 matches vanilla for villages, monuments, swamp huts, igloos, strongholds and outposts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HumanoidArmorLayer for the player's model (in third person and the inventory), the armour parts posed like the body. Shift-clicking armour or an off-hand item in the inventory puts it in its empty slot (InventoryMenu.quickMoveStack), and shift-clicking an armour slot takes it back. The GUI clip handles rectangles with corners in any order.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F5 cycles first person, third person behind and in front (Camera.setup with getMaxZoom pulling the camera in front of blocks); the hand and crosshair show only in first person. The local player renders as a PlayerModel kept in step each tick (body turning, walk animation, swing, crouching and riding poses), in the world and in the inventory's player box following the cursor. Players now use the player skin instead of the zombie texture.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ShieldSpecialRenderer's plate and handle under item/shield's gui display transform, instead of the missing-icon square.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Advancements screen: one tab per displayed root, the tree laid out by a port of TreeNodePosition in AdvancementTree.addAll order, visibility from AdvancementVisibilityEvaluator, connection lines, frames, the progress tooltip with its split title bar, dragging, scrolling and the L key. /advancement grant|revoke with only/from/until/through/everything and criteria, with vanilla's messages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
recipe_unlocked matches the criterion's recipes key, so unlocking one
recipe no longer completes every recipe advancement; inventory_changed
honours the occupied, full and empty slot counts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The advancement tree loads from the data packs; criteria are tested
with vanilla's entity, item, block and location predicates and loot
conditions, and triggered by inventory changes, location (every second),
kills, deaths, eating, filling buckets, placing blocks, sleeping,
dimension changes, breeding, taming, riding and totems. Completed
advancements grant their rewards (experience, loot, recipes), show the
advancement toast and are announced in chat; progress is saved to
players/advancements/<uuid>.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picked up, dropped, crafted, used (placing blocks) and broken items,
damage dealt and taken, jumps, fish caught, animals bred, enchanting,
leaving the game, being killed by a mob, and opening chests, barrels,
shulker boxes, hoppers, droppers, dispensers and every crafting station
now count, as in vanilla.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pause menu's Statistics button opens StatsScreen: the General tab
lists every custom statistic with vanilla's number, distance, time and
tenths formats, the Items tab the mined/broken/crafted/used/picked
up/dropped columns with sorting, and the Mobs tab kills and deaths per
mob. Teleports no longer count as distance travelled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phantoms circle an anchor high above the player, swoop at them every
eight to twelve seconds, bite on contact and keep away from cats (which
hiss); they spawn over players who have not slept for three days. The
statistics behind that are tracked as vanilla does: play time, the
time-since counters, movement by kind, deaths, kills, blocks mined and
sleeps, saved to players/stats/<uuid>.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Saddles fit adult pigs and striders; a saddled one can be ridden and
steered with a carrot or warped fungus on a stick, whose use boosts it
and wears the stick (a worn-out stick becomes a fishing rod). Saddles,
horse armour and donkey chests drop when their wearer dies, and saddled
pigs and striders keep their saddle in the save.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Horses get random health, speed and jump strength, coat colours with
markings, grazing, rearing and AbstractEquineModel's animation. Feeding
heals, grows foals and builds temper; riding an untamed horse ends with
it tamed or bucking the rider off. Saddles, horse armour and donkey
chests fit with a click, a saddled mount follows its rider with the
charged jump bar, its health replaces the food bar, and offspring
inherit their parents' stats (a horse and a donkey have a mule).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Piglins leave gold-wearing players alone, pick up and admire gold, barter
gold ingots for a roll of the bartering table, fight with crossbows or
golden swords, hunt baby hoglins, flee zombified piglins and get angry
when their chests are opened or their gold mined. Brutes always attack.
Hoglins headbutt their targets into the air, babies flee, and both turn
into zombified piglins and zoglins after 15 seconds out of the Nether.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pillagers charge their crossbows, keep their range and fire; vindicators
hunt with iron axes (Johnny attacks everything). IllagerModel's crossed
arms, crossbow hold and charge, and weapon swings are ported, and a calm
vindicator hides its axe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Iron golems hunt monsters (not creepers), close in, swing for a random
half to one and a half times their damage and throw the target up, show
cracks as they weaken, take iron ingots for repairs, offer poppies to
villagers and hold a grudge against a player who hits them. Snow golems
pelt monsters with snowballs, leave a snow trail and melt in hot biomes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They no longer attack on sight: once hit they stay angry for 20 to 39
seconds, move faster, growl and rally the others nearby. They spawn with
golden swords.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blazes hover toward targets above them, slow their fall, smoke and fire
three-fireball volleys; ghasts float about, face their target, cry and
shoot exploding fireballs credited to them. The blaze rods spin and ghast
tentacles sway. Blazes, endermites, silverfish, experience orbs and the
fishing bobber pointed at texture paths 26.3 moved, so they were
invisible.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cats get their variants, collars and the feline model's sitting,
crouching, sprinting and lying poses. Wild cats flee players unless
tempted with fish, which may tame them; tame cats sit on command, follow
their owner, lie on beds, sit on chests and lit furnaces, stalk rabbits
and have tame kittens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wolves get their biome variants, the tame and angry textures, the collar
layer and WolfModel's sitting, begging and shaking poses. Bones tame them;
tame wolves sit on command, follow and teleport to their owner, defend it
and join its fights, heal on meat, take collar dyes and breed into tame
pups. Mob particle bursts (hearts, smoke, splashes) now show.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wire the paused witch, enderman and cube-mob modules: witches drink and
throw potions, endermen teleport, stare-aggro and carry blocks, slimes and
magma cubes hop with their size, squish and split. Slime sizes save, the
outer slime layer renders, and mob-applied effects use the player's effect
list (so they show and tick like potions).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A combat tracker records the player's damage, its causing mob and the
fall, and builds CombatTracker's message: falls from ladders or high
places, assisted falls, being slain or shot by a named mob, kill credit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spectators fly through blocks without overlays, a hotbar or a hand, and
do not interact, pick up items or trigger plates; adventure players cannot
build. The game mode is saved and restored.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four crystals on the exit portal rebuild the pillars one by one and bring
the dragon back, as DragonRespawnStage does; breaking one of them aborts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dragon with its phases, path nodes, fireballs and breath, end crystals
that heal it, the boss bar and boss music, and the kill: XP, the exit
portal, the egg and a new gateway. The fight state is saved where 26.3
saves it. Creative players are now invulnerable, as in vanilla.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Map data now lives in data/minecraft/maps/<id>.dat and the id counter in
data/minecraft/maps/last_id.dat (SavedDataStorage resolving the
minecraft:maps/<id> and maps/last_id identifiers), so vanilla and Horizon
read each other's maps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Frogspawn hatches into 2-5 tadpoles that swim, flop on land, wag their
tails and grow into frogs after 24000 ticks. Frogs take the warm, cold or
temperate variant from the biome. AgeableMob ages (babies, breeding
cooldowns) are now saved and loaded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Books and quills open BookEditScreen: pages of 14 lines of 114 pixels and
1024 characters, up to 100 pages, page buttons that add pages, Done and
the signing screen (15-character title, finalize warning) that turns the
book into a written book by the player. Written books open BookViewScreen.
Lecterns take a book, open LecternScreen with Take Book, send a 2-tick
redstone pulse on page turns (with the library's unpowering tick) and drive
comparators from the page. Both book components and the lectern block
entity are saved; open book and sign screens no longer pause on focus loss.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CartographyTableMenu: zooming a map out with paper (a fresh map one scale
up), cloning it with an empty map, and locking it with a glass pane, the
new map ids made when the result is taken, the take sound, and the screen's
previews with the error and lock sprites. Quitting now closes the open
menu first so its items go back to the inventory, and map textures upload
with the drawn frame's HUD batch only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Empty maps create a map centred on the player's grid cell; held maps reveal
the world with MapItem.update (dominant map colour per pixel, height and
water-depth shading, the dithered edge, the ceiling noise in the Nether)
and carried maps track the player marker. Maps save as data/map_<id>.dat
with idcounts.dat, their 128x128 textures live in reserved atlas slots,
and they render held in both hands over the map background and full-face
in item frames (the map=true frame models). Block facts now carry the
MapColor id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BeaconBlockEntity: beam sections tinted and blended by stained glass,
pyramid levels from beacon_base_blocks every 80 ticks, primary and
secondary powers for players in range (amplified when doubled), and the
activate, ambient, deactivate and power-select sounds; saved with the
vanilla keys. The 230x219 BeaconScreen has the power buttons, the upgrade
button, payment slot and confirm/cancel. BeaconRenderer's rotating beam and
glow scroll through a new wrapped-sprite mode of the entity shader.
/setblock and /fill now replace block entities with the new block's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>