How parity is tested
"Parity" means: the game behaves the same as on the official Vanilla server. That is the goal of Vanillite, and these tests are how we work towards it and measure how far we are. Parity applies to everything you see in game: redstone timing, mob behaviour, item physics, world generation. Where we know it is not reached yet, it is listed under Known limits.
It does not apply to the inside of the server. File formats, threads and memory layout are chosen for speed. A player cannot see the difference.
Two kinds of exactness we aim for:
- World generation should be bit-exact. The same seed should give the same world, block for block (see World generation). It does in nearly all tested areas; in rare cases a few blocks differ, because Java's sine and cosine cannot be matched bit for bit under Vanillite's licence (Known limits).
- Randomness during play follows the same rules. On a running server, Vanilla draws random numbers from the system, so no server can repeat them. Vanillite uses the same probabilities and draws its random numbers in the same order. Players, mobs and the rest of the level draw from one shared stream, like in Vanilla. In the tests, Vanilla's randomness is made repeatable, so mobs can be compared tick by tick, random numbers included.
Goldens
Most tests compare with goldens: reference values recorded from the real Vanilla server. A small Java program runs Vanilla's own code and writes down its results; Vanillite's tests must produce exactly the same values. Each golden is tied to the exact Minecraft version it was recorded on. A missing or outdated golden makes the test fail; it is never skipped.
Scenarios
A scenario is a small, scripted situation, for example "place these blocks, then wait 20 ticks". It runs on Vanilla and in Vanillite. After every tick both sides write down the blocks in the area, the scheduled block and fluid updates, and the entities; light scenarios also write down the sky and block light as the player sees it, and mob scenarios each mob's rotation, health, target, current goals, path and random number state. A scenario can also run commands, use an item on a block or an entity, throw potions, strike lightning, let the day pass or restart the server in the middle, and it can switch on an experimental feature of the world (the features key). The two records must match exactly. Each scenario also runs once on one thread and once in parallel, to catch differences caused by multithreading.
Scenarios that cross dimensions (a portal, /tp to another dimension) run on the real server with its three worlds ticked one after another, the order of the vanilla profile. Both sides record a region in any dimension and follow each entity across worlds. Scenarios about advancements and statistics run there too: both sides also record which advancement criteria and statistics the players have completed.
Client view. Some of these scenarios also compare what each player's client receives. Vanilla's server records the packets it sends to the players, the Vanillite test server records its own, and both are turned into the same list of events per tick: entities that appear and disappear, boss bars, joining and respawning, block changes, game events, abilities, the held slot and inventory slots, scoreboard, team and map updates, and, where a scenario asks for it, the player's own attribute values. Entity numbers, the order of packets inside a tick and similar details are ignored. The test players here send real packets (joining, accepting a teleport, finishing loading) and the End is generated by the server's own generator. This covers the End with its dragon, portals, teleports and death and respawn, and a pool of water and lava. Fights between players are checked the same way: the victim's motion, the hurt animation, damage events and teleports.
Command feedback. Some scenarios also keep the messages that commands send back, and whether they succeeded or failed. Vanilla's text and Vanillite's text must match, including the error messages and their hover and click parts. This covers /tick, data pack commands, advancements, /data, /loot, /compute with all number providers of Minecraft 26.3, selectors and wrong input. Wrong input includes broken item and entity data: the error of a syntax error in SNBT (the text in braces) has Vanilla's wording and cursor position, and an item whose component has a bad value (for example an enchantment level out of range or an unknown registry name) fails while the command is read, with the message of that component.
Where a scenario still differs from Vanilla, the first differing tick and the reason are written in a list of known differences (one small file per scenario, so changes to different scenarios never collide). The test fails if that tick moves, so every fix and every new difference is noticed.
Quick tier. Developers hand a change over only after the quick check, and that check now also runs the fast scenarios (cargo xtask parity quick, on all cores, about a minute). The slowest ones are listed in a skip file and left out there. The full set of fast scenarios still runs on every landing. So a parity regression shows up when a change is handed over, not only after it landed. The parity test program uses the same memory allocator as the release builds: with the system's allocator its fast tier peaked at 2.5 GiB of RAM with one scenario per core and was stopped on a shared check machine; now it stays at about 870 MiB, with the same results.
Same packets with many threads
Vanillite can share the work of one tick between several threads (see Threads and ticks). A test checks that this changes nothing a player can see. On the real test server, a scripted crowd walks over pressure plates, tripwires, berry bushes, fire and walls, a piston switches back and forth, and one player places stone into the cell another player enters in the same tick. The crowd runs twice: once with one thread, once with the tick phases on helper threads. Every connection's packets must be byte for byte equal, tick by tick. A third run lets the server work with stale blocks on purpose, and its packets must differ: that proves the test can see such an error. The check with 16 players is part of the quick check; the one with 64 players runs every night.
Random scenarios
Hand-written scenarios only find what someone thought of. So a generator makes scenarios from random seeds: towers, pools, loose blocks, mobs, and a test player that sends the same packets as a real client. That player walks, sprints, sneaks, jumps, falls, swims, mines, builds, uses items, fights, clicks its inventory and rides. Each scenario is recorded on Vanilla and compared tick by tick. A difference is shrunk to the smallest scenario that still shows it. The nightly run uses new seeds. Every difference found becomes a fixed scenario with its entry in the list of known differences, until it is fixed and the entry is removed.
Fluid fuzzer. Water and lava are among the hardest things to match, because a flood touches thousands of blocks. A second generator (cargo xtask parity fluids) floods real and made-up terrain at random: Vanilla itself generates a village, a beach, windswept hills, a river and caves, and the fuzzer turns random air into water and lava (sources and flowing levels) and random blocks into waterlogged ones. Some floods start at once, some over the first ticks. Every region crosses a chunk border, and some scenarios unload the chunks on one side during the run and load them again later. Each scenario is compared tick by tick with Vanilla in the vanilla, paper and performance profiles, and a difference is shrunk like above. The nightly run on the test machine includes it. Three cases it produced run as fast scenarios. It also found a difference without any fluid: block ticks that a chunk had saved ran in another order than in Vanilla. Vanilla keeps them waiting until the chunk starts ticking; Vanillite now does the same, so worlds loaded from disk drain their ticks in Vanilla's order. A later round looked at floods on terrain that is generated during the run (a "fresh site"). There the test worlds now also run the post-processing of a chunk when it settles, as Vanilla's recorder does: a seagrass that is marked for post-processing schedules its water tick before the first recorded tick, like in Vanilla. Vanilla's own order of post-processing for chunks generated during a run changes from run to run, so such scenarios compare the scheduled block and fluid ticks as sets, not as a list. Vanilla also generates some fresh sites differently from run to run. So the fuzzer records a scenario that differs on such a site again, up to five times (it stops once the first three recordings agree), and the scenario passes when Vanillite equals one of the recordings exactly. A golden of a fresh-site scenario can keep such alternative recordings next to it in the same way.
Coverage of Vanilla's code
How do we know what the scenarios do not test? A coverage map answers that. The Vanilla server runs every scenario with a coverage tool attached (JaCoCo, a standard Java tool), and the result shows which parts of Vanilla's own code ran. Reports go by system (mobs, blocks, items, fluids, and so on) and list the biggest parts that no scenario touches yet.
First map (2026-11-27): the scenarios ran 56.3 % of the instructions of Vanilla 26.3's gameplay code (37.4 % of its branches, 56.5 % of its methods). Over all of Minecraft's code, including the parts a server barely uses, it was 42.6 %. Since then the map is made every night on a test machine, and each night's figures (gameplay and per system) are added to a history, so the trend shows whether the gaps close. The scenarios added for the weakest areas since the first map (scoreboard and teams, command results and messages, data pack functions, loot, trading and trade prices, maps, structure blocks, ticking block entities, menus of workstations and containers, fox, panda, bee and horse behaviour, the item scenarios of the last gap table, and a second round of seven: special crafting recipes, horse and llama menus, a trial spawner cycle, brushing, the creaking heart protector and more command feedback) are not in a published number yet. The map leaves out code a release server never runs: the data generator's trade lists, the development commands and the client half of the vault.
The map also steers the random scenarios above: the generator picks the behaviours, mobs, items and blocks whose Vanilla code is least covered more often. So the nightly random run looks first where little has been compared. The map is a work tool, not a result: the code that runs is not the same as the code that is checked, and the reports are not committed to the repository.
Long runs (soak)
Some things only show after hours of play: crops, mob spawning, the day cycle, weather, chunks that load and unload. Five soak scenarios (a farm, a village, a redstone build, weather with the day cycle, chunk borders) run for whole game days, tens of thousands of ticks, with the game rules of a real server on. Vanilla is recorded once and only a short checksum per tick is kept. Vanillite runs the same scenario and compares the checksum of every tick. At the first tick that differs, the run stops, Vanilla is run again up to that tick, and the two states of that tick are compared in full into a report. They run every night on a separate test machine. The nightly run keeps its memory in bounds (the Vanilla recorders get a fixed heap, the fuzz runs a limited number of recorders), so it finishes on that machine instead of being stopped for lack of memory.
For this to work, the Vanilla recording itself must be repeatable: two recordings of the same scenario must give the same checksums. The recording tool was changed so that loading speed no longer changes counters, the numbering of reloaded entities, the weather timers or the start of the End dragon fight. Scenarios across dimensions got the same treatment: before every tick the recorder now lets the chunks around each player finish loading, and the three worlds are created in a fixed order (Overworld, Nether, End). Before, the order in which Vanilla made them changed from run to run, and with it the login packet and the order of the ticks. Now 40 of the 44 dimension scenarios record byte-identical in five runs. The better recordings also showed that Vanillite kept the chunks around a player loaded one ring too narrow; that is fixed, and three differences are gone with it.
Two more causes of changing recordings were found with the real worlds below. Vanilla keeps the places that villagers choose from (beds, job sites) in sets ordered by object identity, so their order, and with it the random numbers of the villagers' retry delays, changed with every start of Vanilla; the recorder now fixes that order. And the Nether and the End are flat in every scenario, also after a restart: an item that went through a portal reached a generated Nether whose lava destroyed mushrooms at a tick that depended on worker timing.
A nightly run then showed three differences (weather from tick 1, the village from tick 952, chunks from tick 5774). They were not all in Vanillite: Vanilla's recordings were kept by scenario only, so the nightly compared against recordings from before the recorder fixes. A recording is now stored under the scenario and a hash of the recorder's sources, so it is made again whenever the recorder changes. Two more fixes: the test harness names mobs by their UUID like the recorder (cows whose chunk unloads and loads again keep their names), and the server test world lets the chunks settle before every tick like the recorder. A dimension scenario with the End dragon's portal matches its golden now. The village soak runs on the real server, because the simpler test world has none of the natural spawners Vanilla runs from tick 1 (phantoms, patrols, cats). It differed from tick 1 because a player's chunk tickets followed a placement only one tick late; they now follow it at once, like in Vanilla, and natural spawning goes through the chunks in Vanilla's order. Then the movement of a slime differed from tick 279. The causes were real differences in how mobs move: a mob now remembers the block it stands on like Vanilla (so a slime landing on the edge of a slime block bounces like there), split slimes keep their head direction, spawn attempts that fail still use up an entity number, and the custom spawners (cats, patrols, phantoms) run after the random ticks, like Vanilla. Later rounds fixed more small differences: mobs outside the chunks where entities tick are no longer pushed, and no longer found by the pushes of others, like in Vanilla; the range of a mob's sensors is Vanilla's; sleeping villagers look straight ahead. The last rounds found two more causes. Vanilla's list of points of interest by type (beds, job sites, the bell) was walked in an order that depended on object identity, so a zombie's search for a village place picked the bell in Vanilla and the composter here; the recorder now walks it in registry order, as Vanillite does. And a climbing spider is no longer pushed by other entities, a sleeping villager, fox or player ignores pushes, and the wandering trader's spawner draws from the test's seed on both sides. The village now matches Vanilla for all 48,000 ticks.
Worlds and machines built by people
Small scenarios miss what players really build. So there is also a corpus of real worlds and schematics: 77 of them, from big redstone computers, piston doors and farms to TNT cannons, hopper chains, villager halls, mob farms and lag machines, and command block maps and data pack minigames. Each one is listed with where it comes from, its licence, a checksum and what it contains. None of them is in the repository: the test tool downloads them and checks the checksum.
Each world is prepared once with the real Vanilla server (schematics are pasted into an empty world, and the game is frozen before the first tick). Old worlds are no longer upgraded by Vanilla first: Vanillite upgrades their chunks, entities and player data itself when they load, with its own data fixers (see the table below). Then it runs on Vanilla and on Vanillite with the same triggers (for example, every lever flips after one second and a scripted survival player presses every button) and the same soak method as above: Vanillite compares a checksum of every tick, including the blocks, scheduled updates, entities and block entities with their saved data. At the first tick that differs, a full report is written. The nightly run on the test machine includes it. The reports are the work list: they show which machine behaves differently and in which part of the game.
The scripted player stands where the world saved its player, or next to the machine for a schematic, protected from harm. Worlds run with random ticks on and, unless a world says otherwise, without natural mob spawning. Loaded worlds tick like in Vanilla: loaded entities get their random numbers the way Vanilla seeds them, and entities and block entities tick in Vanilla's order. A summary lists a world as inactive when nothing in its observed region changes, because then a match proves nothing. Passive worlds get a trigger so they do something: items dropped onto a hopper field, a redstone block that pulses a long redstone line, a lever that selects a cell of a trading hall, or summoned slimes.
Result of the first 65 worlds (1200 ticks per world): the first run matched 33 of 64 worlds. After five rounds of fixes, all 65 worlds match Vanilla tick for tick and none is inactive, in the developers' own check. Most fixes were real differences in Vanillite, for example moving pistons (what they support and who they carry), the random numbers of loaded entities, leaf distance, the rounding of dropped items, signed zeros in movement and dying mobs that must not be pushed. Later rounds fixed pistons that move boats, shulkers and items, collisions with a box an entity already reaches into, a villager's check for open sky under glass, the order in which a chunk's entities load, minecarts with contents below the world, hoppers that take and eject items in Vanilla's order (the comparator sees the smaller count at once), mobs that need a clear line of sight to pick a target (also through scaffolding), entities that a piston pushes into a portal, items that slide with the friction of the block they stand on, and the numbering of entities in a loaded world no longer depending on how fast chunks load. Small scenarios pin these causes. The last two worlds differed because of the recording, not because of Vanillite: the Vanilla recordings changed from run to run (see "Long runs" above). The result of a nightly run after the last round is not published here yet.
Command and data pack worlds. 12 more worlds are built for commands: six command block maps and minigames (a data pack minigame with about 2,900 functions, a parkour generator, an escape room, a boss with 43 always-on command blocks, an adventure map with 554 command blocks) and six data packs (a MIPS processor emulated in functions, a chess pack, an AFK display, a speedrun timer and more). They load with all three dimensions, the world's data packs and the saved command data (scoreboard, command storage, boss bars, game rules, scheduled functions), and the record of every tick also holds the scoreboard and the command storage. The tool scans each world for command blocks, buttons, levers, pressure plates, signs with click commands and trigger objectives. A seeded activation fuzzer then presses them in a random but repeatable order: every command world runs once per seed, and the summary counts how many command blocks ran. These worlds found real differences, now fixed: the number providers of Minecraft 26.3 in functions and /compute, data pack function lines longer than the command length limit, the scores and team of destroyed entities (they were not removed), and /data commands that copied the command storage instead of changing it in place (a pack that emulates a MIPS processor ran 11 times faster). They also found that a pressure plate a player is teleported onto reacted one tick early, and that a player in the void did not fall out of the world; both are fixed: a player's block effects (pressure plates, tripwires) now run in the connection tick after the level tick, like in Vanilla. Three more differences are fixed too: a /give with an invalid item component value now fails while the command is read, like in Vanilla; a player who dies in the void now gives up its chunk tickets at the end of its death, so its chunks stop ticking (the level's random numbers no longer differ afterwards); and a zombie villager now targets the player like in Vanilla, because mobs see a player's eyes at the eye height of its pose. The last round fixed the remaining differences except one: a mob that stands on a ladder and moves into another block now leaves the ladder like in Vanilla, and a world's saved game rules are kept (they were overwritten only on the Vanilla side, so a world with block drops turned off dropped blocks there). The identity numbers (UUIDs) of summoned entities that command blocks keep in their output are random in Vanilla too, so the test now masks them in the record, and these worlds match. The MIPS pack also became faster: after cheaper edits of big command storage and cheaper command parsing, 300 ticks of it take about 31 seconds in Vanillite and about 36 seconds in Vanilla (the developers' own measurement on one machine, not a published benchmark). One pack still differs from Vanilla at a known tick, and it is not Vanillite's fault: it force-loads a large area in the first tick, and when that area starts to tick depends on Vanilla's chunk threads, so Vanilla cannot repeat it. Each such difference is in the list of known differences.
Sessions of real players
The server can record a session (debug.session-recording, see Performance settings): the world as it was and every packet the players sent. Commands from a fixed list of game commands are kept too (no chat text, no administration), with player names replaced by anonymous ids. The recording is played back on Vanilla and on Vanillite and compared tick by tick, like a scenario. So play that nobody wrote down in advance can also be checked. For test servers only. It also works on a world in Vanillite's own format: the overworld's files are copied for the recording (the tick waits only for the copy) and converted to Vanilla's format in the background, so the replay is the same as for any other world. A snapshot of such a world is checked before it is used; light that is the same level everywhere in a section is now compared as the uniform layer the Anvil format stores, so a correct conversion is no longer rejected.
A tester can mark the running session with /vanillite session mark (see Admin commands: /vanillite), for example after something looked wrong. The recording also counts what the players did (digging, using blocks and items, entity and inventory actions, commands, time spent moving). Marked sessions are replayed first, at least up to their last mark; then come the others, busiest first. Sessions in which nothing happened are skipped.
The replay copies the new recordings from the recording server with read-only access to a second test machine and replays them one recording at a time within a time budget. It runs there all the time, not only at night: a worker starts a new round every 20 minutes outside the nightly window and keeps the results of every recording, with the divergent ones and a way to repeat them. Players who stay together are replayed in one shared region (up to one million blocks); players too far apart are replayed one by one, each in a region of its own. Tick records share the blocks that did not change, so a long replay of a big region fits into memory. The worker keeps the world copies of the recorders on disk, not in the memory-backed temporary folder, so they no longer count against its memory limit.
Long recordings are not replayed from the start every time. A running recording writes a checkpoint every 10 minutes (debug.session-checkpoint-minutes): the chunks around the recorded players with their block entities, entities and points of interest, and the players' state, written in the background. The replay plays each segment between two checkpoints on its own, from that checkpoint. After a difference the replay resyncs: Vanilla saves its state at the differing tick, Vanillite continues from that state, and so one early difference does not hide the ones after it.
Real sessions found differences no scenario had shown. One example was a player's food that differed from tick 1148: Vanilla clears "on ground" when the server's own movement step of a player moves it up without landing, so a jump packet right after a landing is no jump and costs no hunger. Vanillite only ever set the flag. It now does the same, and a scenario (a player jumping right after a landing) keeps it fixed.
A recording can also be watched. The replay viewer (/vanillite replay, see Admin commands: /vanillite) loads a recording into a world of its own and plays it tick by tick: the recorded players join as test players that send their recorded packets, and the server works out the rest itself. You watch as a spectator, can pause, change the speed, jump to a time, follow a player, or jump to just before the first difference the nightly replay found. A test server uses it to look at what the nightly replay compared.
| Test | Status |
|---|---|
| Game data (blocks, items, registries, packets, commands) is generated from the official server file when Vanillite is built (Data and version updates). | Built |
| Game data compared with what Vanilla holds in memory: registries, block states, items, packet IDs and the Vanilla data pack (biomes, dimensions, tags). | Built |
| Network packets recorded from Vanilla must be read and written back byte for byte. | Built, including chat, text, block and inventory messages and the locator bar, server data and hurt animation packets, and the packets for the F3 tick time chart, a projectile's power, a single inventory slot and the disconnect message. The entity data of every summonable entity type and of the player is also checked against Vanilla's list (index and type of each value). |
| Commands are parsed like Vanilla: the same input gives the same result or the same error. | Built. This includes the syntax errors of SNBT and the bad component values of items. |
| Random number generators, noise and density functions compared value by value with Vanilla. | Built |
| Worlds generated by seed and compared chunk by chunk with Vanilla, for each generation step. | Built for biomes, terrain, features, structures (where they start, their pieces, whole large structures, every bastion variant) and light. Features are also checked when chunks are decorated in a different order (trees and ores crossing chunk borders, Nether decorations). A separate check compares a whole area block by block with a world a Vanilla server generated, in the Overworld, the Nether and the End. A test also builds the terrain of many chunks on six threads in a scattered order and compares every chunk with the chunk built alone, to catch wrong terrain from shared state. A regression test checks that neighbouring chunks are decorated in Vanilla's order (see World generation). |
| Old worlds: chunks, entity chunks and player data of Minecraft 1.20 to 1.21.9 upgraded by Vanillite's data fixers, compared with the result of Vanilla 26.3's own world upgrade. | Built for eight worlds: the records are the same, record for record, including Vanilla's own quirks. Not covered: level.dat, saved data such as raids and scoreboards, and mod data. |
| Worldgen sweep: many seeds, all world types. | Built. Vanilla's own generator makes whole areas (one at the spawn and one far away, per seed) of Overworld, Nether, End, Amplified, Large Biomes and flat worlds, and Vanillite must match block by block, including biomes, heights, block entities and where structures start. Flat worlds with villages and strongholds are covered, and so is a data pack dimension whose noise generator carries its noise settings inline. It runs every night on the test machine; the differences it found are fixed, except the rare ones from Java's sine and cosine (for example one iceberg in a Large Biomes seed, 24 blocks in 3 chunks; see Known limits). |
| Light sweep: many seeds, all world types, many block changes. | Built. Vanilla's own light engine lights areas of every dimension and world type. Then a script changes blocks in batches: roofs, shafts, caves, light sources, shaped blocks, chunk and section borders, the height limits, and an unload and reload of chunks. After the generation and after every batch, the light a client would receive must match Vanilla's cell by cell. It runs every night on the test machine next to the worldgen sweep; the differences it found are fixed (light below and above the world's height limits, and how far a relight reaches). The light update after a block change follows Vanilla's own queue and must give the same cells as a full recompute. |
| Recorded scenarios replayed and compared tick by tick. | Built. Scenarios: loading a flat chunk; 129 block scenarios (setting blocks, falling sand and anvils, grass spreading also at dusk, leaves decaying, ice melting, snowfall, rain, sponges, coral, copper, crops, other plants growing, saplings growing into trees, bone meal, double plants dropping once, fire spreading and burning out, bubble columns, scaffolding with entities on it, dripleaf, sculk catalysts and the items they hear, turtle and sniffer eggs, frogspawn, a creaking heart and the creaking that protects it, cake and candles, cauldrons, the composter, hoppers filling a composter (also a full hopper that empties a ready one), the jukebox, shelves, hoppers, droppers and crafters reaching a jukebox, a shelf or a chest minecart, a hopper that fails to take an item and what a comparator sees, comparators reading a loot chest nobody opened, building golems and withers (also from a dispenser; a wither breaking a bee nest), a dispenser placing a shulker box next to a comparator, a dispenser opened without sculk noise, a shulker box whose lid animation updates an observer, lamps and doors placed next to a trapped chest or a playing jukebox, a copper golem's chests, a respawn anchor, eyeblossoms, daylight detectors, dried ghasts, piglins at a nether portal, projectiles hitting blocks, dispensers shooting projectiles, potions and fire charges, shearing and equipping mobs, launching boats or placing spawn eggs and buckets, pistons pushing entities (also boats, and items inside a block; and moving pistons as support), entities hurt by or landing on blocks, pressure plates (also one that a player is teleported onto), tripwires (also a second tripwire hook), lily pads, cactus and cobwebs touched by any entity, experience orbs, TNT, minecarts and boats touching blocks, honey blocks sliding items, TNT, minecarts and boats, boats bouncing off slime blocks, a minecart in a bubble column, a chain of 400 TNT with obsidian and stone, exploded banners and pots, sculk, mud and growing snow pushing entities up, players pushed up by farmland turning to dirt, beacons, note blocks, a fence binding leashed mobs, a shrieker hearing a chest open, locked containers, spectators and containers, furnaces that give experience per recipe, mining speed from the player's own attributes, a bed at the world border, the random sequence of chest loot, spawners, trial spawners (also a whole cycle with bad omen, and one that sees through glass) and their placement rules, brushing that rolls loot tables, experience from breaking blocks, turtle eggs, kelp and corals placed or broken by a player, redstone ore placed against, waterlogging, decorated pots, hanging signs, signs and their click commands, a conduit, shelves with a campfire and a pot, the packets of structure, jigsaw and test blocks, spawners on Peaceful, placing blocks next to entities and more); 16 fluid scenarios (water and lava finding their way down slopes in the Overworld and the Nether, infinite water sources and decay, waterlogged blocks, blocks washed away, kelp, seagrass and bubble columns, lava starting fires, buckets from dispensers and players, pistons, waterfalls, dripstone filling cauldrons, chunk borders with restarts, the client view; items, experience orbs, primed TNT and players are pushed by currents and bubble columns like in Vanilla), plus three random flood scenarios from the fluid fuzzer; 20 scenarios across dimensions (nether and end portals for players, items, mobs and vehicles with their passengers, End gateways, an ender pearl through a portal, an item that a piston pushes into a portal, /tp, execute in, command blocks between dimensions, a player pushing and touching entities, the End dragon, dying and respawning in the Nether, a respawn anchor losing its charge, and the client view of these); seven advancement scenarios (flint and steel, a crossbow shot, sliding down a honey block, a trade, curing a zombie villager, arrow kills, and conditions on items, components, players and locations); ten redstone scenarios (wire, torch burnout, repeaters, comparators, observer clock, pistons with slime and 0-tick tricks, a flying machine, update order), eight light scenarios (light sources, roofs, caves, flowing water, a platform high in the sky, light above and below the height limits of the world, and relights far from the change), six chunk loading cases (scheduled ticks after a reload, water, redstone and falling blocks at the border of loaded chunks, a redstone change that loads the next chunk), two restart scenarios (forced chunks, saved random sequences), two lightning scenarios, command scenarios (command blocks, a command block chain, execute also with stored results, conditions and if function (a function tag stops at the first failure like in Vanilla), item tests with components, /summon with passengers, the results of commands on entities and on the world, the messages and errors commands send back (also the subcommands of /bossbar, /team and /scoreboard, and /forceload, /time, /stopwatch, /rotate, /experience, and all 26.3 number providers of /compute, including the values of the environment, enchantment levels and the target entity, and the syntax errors of SNBT and the bad component values of items), /scoreboard, /team, /time (including the query that Vanilla 26.3 no longer has), attribute modifiers, /recipe give * and the recipes it unlocks), data pack functions with macros, schedules, predicates (also with block tags) and item modifiers, display entities, villager trade offers and their prices (also after a reputation event while the menu is open), map updates, structure blocks, ticking block entities (furnace-like processing read through a probe chest), clicks in the crafting grid (also special crafting recipes and shift-clicked results), the menus of workstations, containers and of horses, donkeys and llamas, and vehicle packets, a /loot scenario, two data pack loot scenarios (the 14 loot item modifiers that Vanillite had left out, loot conditions that look at equipment, effects, team, position and light, and, in the game's own loot, conditions on the killer and the tool, items copied from entities, tags as references and slot sources), two game rule scenarios (no block drops, TNT that does not explode), a piston at the world border, game events heard by a shulker, armor stands and hanging decorations, two player-versus-player fights (sprint knockback and critical hits; a hit against a shield), 72 item scenarios (buckets, tools, throwables, a thrown ender pearl, tridents, the mace, the totem, fireworks, the fishing rod, burning items, igniting a creeper, eating and drinking (also food that cannot be planted), shields, spears (also jab and Lunge, and the attack packet), bows and arrows (and what they may hit), crossbows shooting fireworks, a sword's sweep that spares allies, the mace and allies, melee hits on end crystals and fireballs, a wind charge jump and a wind charge's owner, throwables in bubble columns, a trident whose owner respawns, a trident that shakes or clips a target, a riptide with a spectator, the attributes of equipment, enchanted armour, enchantments that act on the world (when a block is hit, when the wearer moves or ticks, and enchantments that summon mobs, join teams or fire projectiles), tools wearing out through Unbreaking and other enchantments, arrows and tridents lying still in blocks, items splashing into water, an item pushed out of a block it is stuck in, item entities (also on moving pistons and next to bamboo, how their age decides when they merge, and how the block an item stands on sets its friction), effects on mobs and their sounds, healing on Peaceful, a helmet on a player, projectiles hitting targets, items with patched components next to items with default ones, items in Adventure mode, shears on a leash, placing armor stands, spawn eggs on Peaceful, bucket and mob bucket flags, oozing seeds, mobs hurt by thorns, the effects a dying player passes on, minecart entity data, and boats placed against entities and borders; item entities and players use their own random number generators like Vanilla), potion and effect scenarios, nine minecart scenarios (slopes, powered rails, curves, collisions, detector and activator rails, a spawner minecart, a minecart with loot, minecarts and boats broken by damage, and the experimental minecart movement along the track with its own packet), a player falling from different heights (fall damage and knockback), a player jumping right after a landing (no jump hunger), water pushing a player, a player standing on a sculk catalyst, a player sleeping in a bed at night and by day (the night skip, waking up, the spawn point), six player death scenarios (a creeper, /damage, a fall, a sculk catalyst, a death with every slot, the item on the cursor and the crafting grid full, and a death with an open barrel: drops, experience, statistics and who gets the credit), 219 mob scenarios, at least one for every mob kind (zombies, skeletons, creepers, the animals, villagers and the wandering trader, the Nether and End mobs, a snow golem's snow trail, a flapping chicken, laying eggs, dyed sheep, spawn eggs and buckets that pass on the animal's variant, also into liquids and for sulfur cubes, spawn eggs used on a mob of their type, sulfur cubes that take the traits of their block (also the explosive one), slimes and magma cubes of every size bouncing on flat and uneven ground, piglins guarding containers, mobs finding a new path when a block changes, step sounds, a creaking's gaze, an enderman that is stared at, riding mobs, zombie horsemen with spears charging and dying, boats in bubble columns, babies with their smaller size (also one that grows up in a full boat), wither, warden, breeze and dragon parts, critical hits, killing the ender dragon with /kill, foxes hunting, pandas with their genes, bees pollinating, taming and feeding a horse, a mob burning in daylight, but not under glass (and burning longer or shorter after lightning, with Fire Protection), a zombie villager that cannot see its target behind glass, mobs that are not pushed outside the chunks where entities tick, the first wave of a raid, mob conversions that copy leash, passengers, team and flags, loot pickers that leave saddles and armour, zombies that call for help, dolphins that follow a boat, rearing horses, climbable blocks, endermen that keep their anger and frozen creakings, a mob that cannot board a vehicle right after leaving one, pets that follow their owner through water and teleport to it, a creeper that does no melee damage and ignores goats, a drowned swimming in a current, and more), and 18 random scenarios found by the generator. 603 scenarios in all. All but 6 match Vanilla tick for tick, random ticks included. The 6 that still differ at a known tick: piglins at a nether portal (the recording Vanilla server does not spawn one), two client-view scenarios about the End dragon (the level's random numbers differ in the first ticks of the fight, because chunks the fight keeps loaded start to tick one tick earlier than in Vanilla, and a /kill of the dragon from the Overworld does not reach it in the End), one death scenario (at the respawn Vanillite now tells the client that every entity the dead player saw is gone, like Vanilla, and the drops, the cursor and the closing of the barrel match; only from tick 21 the new player's client gets the drops of the cursor and the crafting grid a moment later than in Vanilla, because Vanillite pairs the new player with the tracked entities at the next tracker update, Vanilla at once), a raid (it starts, counts down and spawns its first wave exactly like Vanilla, but the raiders walk towards the village differently from tick 551) and a wither that breaks a bee nest (from tick 23 the wither walks a different path to the bees the nest released; the nest and the bees match). Apart from the raid, no mob scenario differs: foxes hunting, pandas with their genes, an angry bee, mounting and feeding a horse, a mob riding a mob, a creaking, an enderman that is stared at, a boat with a squid and a ridden nautilus match Vanilla. The newest fixes also made the update of a new map (it reads chunks like Vanilla, and a framed map gets its marker) and the return from the Nether (the entity tracker now adds a nearby pig at the same tick) identical; a player's chunks now follow it only when the server takes a move of the client, like in Vanilla. The last round of collisions made the menu of a grindstone match too: experience orbs, mobs, players, vehicles, minecarts, pistons, item entities, falling blocks and TNT now collide with the block shapes that are built of several cells (stairs, the inside of a cauldron and similar) cell by cell like Vanilla's own shape code, also when an entity already stands inside such a shape. Two new scenarios with goldens from Vanilla cover it. The 15 scenarios before the newest round (command messages, menus, trade prices, signs, a conduit, shelves and structure packets) found about 25 differences in Vanillite, all fixed: for example the names of entities with team colours and hover texts in messages, the wording of some command errors, unknown loot tables and structures failing like in Vanilla, the key order of /data get, sign click commands, and the loot of vaults and trial spawners. The newest round (7 scenarios: special crafting recipes, horse and llama menus, a trial spawner cycle, brushing, the creaking heart protector, and command feedback of /bossbar, /team, /scoreboard, /forceload, /time, /stopwatch, /rotate and /experience) found 10 differences in Vanillite, all fixed: boss bar colours, the order of /team list and /scoreboard objectives list, how /rotate turns, horses that snap their new rider's direction, llamas that seat riders 0.3 blocks behind their centre, players no longer pushing their own vehicle, brushed items dropping without pickup delay, and the crafted statistic of shift-clicked results. Before that came villager trades (one experience orb for the whole reward, also with a shift-click) and a player who gets off a vehicle while sneaking in line with Vanilla. The End crystals now reach the client at the same tick as in Vanilla. Dying in the Nether, a pool of water and a death with an open barrel match Vanilla now too. All 23 new item scenarios match Vanilla. The PvP round found why a hit lost its sprint knockback and critical hit (an attack was resolved with the state of the attacker after all packets of the tick, not as its own packet found it); fixed, together with how a player's knockback is synced to the victim and the viewers. The audit rounds for blocks and mobs came last: they went through the open rows of the earlier gap lists against Vanilla's code and added 10 block and 13 mob scenarios (plus one lightning and one villager scenario) with goldens from Vanilla. Fixed with them: a hopper that empties a ready composter at once, comparators that roll an unopened chest's loot, shulker box lids that update observers, a boarding cooldown after getting off, boats that turn their mob passengers, pets that teleport to Vanilla's spots, and a villager's prices after a reputation event. The newest gap rounds added more scenarios with goldens from Vanilla, among them nine for blocks (honey blocks, a minecart in a bubble column, boats on slime, players pushed up, furnace experience, spectators and containers, mining speed, a bed at the world border) and projectile and vehicle ones for mobs (hits that are redirected along the owner's look, a mob explosion that spares boats and minecarts). |
The fast scenarios in the quick check every change passes before it is handed over (cargo xtask parity quick). |
Built. The slowest ones are left out there and still run on every landing. The quick check also runs the packet check with 16 players (below). |
| Packets with tick phases on several threads equal those on one thread, with 16 players in the quick check and 64 players every night. | Built (see "Same packets with many threads" above). |
| Long runs against Vanilla by per-tick checksums, and recorded sessions of real players. | Built. Five soak scenarios; the nightly run on a separate test machine also compares them. The farm matches Vanilla for all 48,000 ticks, the redstone build for the whole day of 24,000 ticks and the weather run for all seven days, and the village for all 48,000 ticks. The weather and chunk differences of one nightly run were fixed (see "Long runs" above). Recorded sessions are replayed continuously on a second test machine, in segments from checkpoints, and can be watched in the replay viewer. |
| 77 real worlds and schematics (redstone computers, pistons, TNT, hoppers, farms, villagers, mob farms, lag machines, command block maps, data packs) compared tick by tick. | Built; the nightly run includes it. Latest result of the developers' own check of the first 65: all match Vanilla tick for tick (see above). Of the 12 command and data pack worlds, all match except one pack that Vanilla itself cannot repeat (see above). The reports of a nightly run are the work list if one differs. |
| Coverage map of Vanilla's code, and random scenarios weighted by it. | Built (cargo xtask parity coverage), run every night with a history of each night's figures and a trend view. It is a measure of where tests are missing, not a pass or fail. |
| Test players join, move and see each other. | Built: two test players join a server in memory, and place, break and drop blocks. Older clients (1.20.5, 1.21, 1.21.4, 26.1, 26.2) join, walk and see a 26.3 player, also through the proxy; Bedrock with its oldest and newest supported version. A strict headless Bedrock test client joins over RakNet and NetherNet, stays in the world, walks, chats and opens the inventory, and plays a whole session (breaking and placing blocks, a chest, crafting, combat, commands, advancement toasts, dialogs, the world border, player heads, a lectern, the Nether and dying, and now also sleeping in a bed, a totem, breeding, the attack cooldown and an off-hand use). It fails on any packet a real Bedrock client would reject, including packets whose skin fields are not valid JSON. It can also check a recorded dump of a real session (VANILLITE_BEDROCK_DUMP), including that nothing but the handshake and pack packets comes before the start of the game. |
| Load test with many bots, measuring tick time, RAM and network by player count. | Built, plus a benchmark suite that runs the same scenarios on Paper, Vanilla and Pumpkin. Results: Benchmarks: Vanillite vs Paper. |
| One test per known exploit. | Built for the network, the data decoders, commands, breaking and placing blocks, item data and inventory clicks, plus fuzz tests (random hostile input), also on the loom, cartography table, crafter and lectern menus and special crafting recipes to catch item duplication. A player who moves into a block or through a wall is set back like in Vanilla. Other gameplay exploits Planned. See Security by design. |
See also: Known limits, Data and version updates.
Next: Data and version updates.