Repository navigation
Rustcraft v0.0.7: three fidelity waves drawn from a full comparison of the code base with the official game (about 900 differences mapped, every serious one outside the old-world converters now fixed), the first step of opening worlds saved by older versions, a security fix, and the integrated server's light computed beside its tick. Each change was reviewed against the game and comes with tests that fail without it. Unofficial and work in progress: keep backups of worlds you care about.
Faster, measured
Same PC, quiet machine, v0.0.6 and this release alternated launch by launch, two runs per scene (three when two runs disagreed), 1600 × 900:
| Part of the game | v0.0.6 | v0.0.7 | Change |
|---|---|---|---|
| Frames per second, 40 equipped humanoids | 1,296 | 1,482 | +14 % |
| Frames per second, plains at render distance 32 | 3,574 | 3,856 | +8 % |
| Frames per second, dropped items / new world / title screen | 2,054 / 4,016 / 4,366 | 2,159 / 4,150 / 4,491 | +3 to +5 % |
| Slowest frames (1 %), 40 equipped humanoids | 1.05 ms | 0.91 ms | −13 % |
| Slowest frames (1 %), heap of 1,728 TNT / Nether / dropped items | 0.82 / 0.43 / 0.89 ms | 0.75 / 0.40 / 0.83 ms | −7 to −9 % |
| CPU time per frame, camera turned every frame | 0.146 ms | 0.111 ms | −24 % |
| CPU time per frame, 40 equipped humanoids / TNT while a world generates | 0.194 / 0.143 ms | 0.149 / 0.114 ms | −20 to −23 % |
| Integrated server tick, redstone | 1.17 ms | 1.02 ms | −13 % |
| Integrated server tick, new world | 0.63 ms | 0.59 ms | −7 % |
Frames per second elsewhere move by −2 to +3 %, and −8 % while TNT goes off during the generation of a new world. The integrated server works more: its tick is 4 to 26 % longer in most scenes (41 % over the ocean), because it now simulates the world around the player like the game does (one more ring of chunks with its plants, bees and minecarts; the game itself simulates even more). It stays far from its limit: 6.3 ms at worst with 1,000 mobs, for 50 ms. The light it recomputes after block changes now runs beside the server instead of making each tick wait (redstone: the tick went from +35 % to −13 % against v0.0.6, flight from +29 % to +8 %); what the player sees and what is saved stay exactly the same.
Older worlds
- Worlds saved by recent older versions open: their data (level, players, chunks, entities, points of interest) is converted on reading, like the game does, from data version 4899 on. Worlds older than that stay greyed out in the list for now; their converters come next.
- Your terrain is safe: a chunk saved by an older version is never again taken for an empty slot and generated over what you built.
Closer to the game
- Spear: stab and charged lunge with their damage, knockback, effects and sounds, also on dragon parts, minecart riders and other players.
- Boats and rafts (with or without a chest) are simulated by the integrated server: placing, paddling, dispensers, minecarts, pushes between mobs bit for bit.
- Mobs pick up items from the ground with the game's equipment choices; a fox no longer duplicates the rest of a stack; summoned lightning strikes.
- Blocks and redstone: the crafter crafts, the trapped chest signals, bubble columns form and push, sculk catalysts spread the sculk, droppers fill chest minecarts and boats, armor stands and mannequins press plates, candles go out in water, calibrated sculk sensor and grindstone placed like the game, the experimental redstone order is honoured.
- Placing and using: the off hand works on blocks, entities in the way block a placement, other players see the breaking effects, block-entity data arrives after its block.
- Creatures: wolves and predators target, anger and chase like the game (allies, leashes, sight), the sit order apart from the pose, mount effects reach the rider, milking with a stack of buckets, game data read right (frog variants by biome, river fish, armadillo, decorated pots, enchanted spawn equipment, cartographer).
- Items and combat: pickup area and partial pickup like the game, cobwebs slow items, maps in item frames, tools and food read from the stack, enchantment effects read from their definitions.
- Saves: structure templates and pieces readable by the official game, chest openers checked every 5 ticks, data-pack dimensions loaded, written book pages resolved, one more ring of chunks sent so the edge of the render distance shows.
- Commands: item stacks decoded and checked strictly,
/damageon decorations,/rideon any vehicle,/locatefinds structures already saved, texts in your language. - World generation: fortress search in single-biome worlds, structure exclusion zones, shipwrecks across two chunks, jungle temple dispensers filled.
- Display: armor on armor stands, cracks on blocks drawn as models, baby and state textures, sprint and golem dust, dolphin wake, nautilus bubbles, sulfur geysers, the elder guardian curse, translucent block particles, clouds and equipment from resource packs, world icon.
- Interface: centred pointer, anvil and command block like the game (commands past 256 characters keep their end), pack fonts and translations, launch and demo screens, account notices, high contrast, F3 on the watched entity, recipe book state kept, a spectator's camera on an entity.
Playing over LAN
- Guests are real players for the integrated server: selectors and names find them, mobs target and sense them, their projectiles are theirs, raids, the dragon fight and boss bars count them, the host's chat is signed.
- Host and guest on the same mount, boat or minecart each keep their seat; a guest in a vehicle goes through a portal with it.
Security
- A malicious server could make the client run out of memory with one particle packet (sulfur geysers) or a flood of elder guardian curses. Particles, emitters and the waiting queue are now bounded like the game's own particle groups.
Known
-
The integrated server's tick is longer than in v0.0.6 in most scenes (see above): more of the world is simulated, like the game. Where it still waits for helper threads is being looked into next.
-
Worlds saved with a data version older than 4899 still need their converters (next step).
-
Over LAN, a guest sees block changes only where the host's view reaches (documented in
docs/gaps-audit2.md). -
The data the game prepares on its first start is rebuilt once after the update (its format changed): the first start takes a few seconds longer.