Vanilla parity
Vanillite aims to play 1:1 like Vanilla. It is not there yet in every detail. This chapter shows how we work towards it with automated parity tests against the real Vanilla server, where the game data comes from, and why Vanilla's security holes are not copied.
Which profile? The parity tests run with the
vanillaprofile. A new server starts with thepaperprofile, which behaves like a default Paper server and deviates from Vanilla on purpose (exploit fixes, activation range, parallel dimensions and more). Setprofile = "vanilla"invanillite.tomlto reproduce Vanilla behaviour as exactly as possible. See Profiles.
| Page | What you find there |
|---|---|
| How parity is tested | Goldens, world generation by seed and light after block changes (nightly sweeps over many seeds), scenario tests, a coverage map of Vanilla's code, and real worlds and machines built by people. |
| Data and version updates | Data from the newest Minecraft version, and how updates work. |
| Security by design | Protections that are always on. |
Known limits
Vanillite is early, and parity is a goal we measure, not a claim. What we know differs today:
- World generation can differ from Vanilla by a few blocks, in rare cases. One example: one iceberg in a
large_biomesseed, 24 blocks in 3 chunks. The cause is maths: Java'sMath.sinandMath.cos(a CPU shortcut of the Java runtime, a "HotSpot intrinsic") and the maths library of the platform Vanillite runs on differ by 1 ulp (the smallest possible step of a decimal number) for about 0.23 % of angles. Matching Java bit for bit would need code under the GPL, which Vanillite's Apache 2.0 licence rules out, so this is not planned. - Some game scenarios still differ from Vanilla at a known tick. They are listed, fixed one by one, and every change in them is noticed by the tests (see How parity is tested).
- The first 65 real worlds and machines built by people all match Vanilla tick for tick in the developers' own check of the first 1200 ticks. Longer runs and other machines can still show differences. 12 newer worlds with command blocks and data packs are compared too; all match except one pack that Vanilla itself cannot repeat (How parity is tested).
- Profiles other than
vanilladeviate on purpose, the defaultpaperincluded. See Deviations from Vanilla.
Everything else is only as good as the tests: what no scenario covers, nobody has compared yet.
Next: How parity is tested.