Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.
Rust differential-testinggame-enginegamedevlinuxminecraftminecraft-javareimplementationrustvoxelvulkanwgpu
Clear seven ledger rows that main already implements
MSedgeMC0bf1609f2ecc
diff --git a/tools/port_map/classes-01.tsv b/tools/port_map/classes-01.tsvindex 0ba57b235..b3002bc53 100644--- a/tools/port_map/classes-01.tsv+++ b/tools/port_map/classes-01.tsv@@ -60,8 +60,8 @@ PiglinBruteAi.initFightActivity inline crates/horizon-client/src/mobs/piglin.rs:PiglinBruteAi.initIdleActivity inline crates/horizon-client/src/mobs/piglin.rs::register_brute idle behaviour as goals: stroll, look at player, targetsPiglinBruteAi.initMemories missing minor: no home point is remembered, so the brute never returns to where it spawnedPiglinBruteAi.isNearestValidAttackTarget missing minor: the brute never drops a target for a nearer one; target goals keep theirs until it dies or is lost-PiglinBruteAi.maybePlayActivitySound missing player: a piglin brute never growls while it fights; the angry sound is not in Horizon-PiglinBruteAi.playActivitySound missing player: no angry sound when a piglin brute starts a fight (entity.piglin_brute.angry is not played)+PiglinBruteAi.maybePlayActivitySound port crates/horizon-client/src/mobs/piglin.rs::maybe_play_brute_sound the level random is drawn every tick and the angry grunt plays under 0.0125 while the brute is fighting+PiglinBruteAi.playActivitySound port crates/horizon-client/src/mobs/piglin.rs::play_brute_sound entity.piglin_brute.angry when the fight activity startsPiglinBruteAi.setAngerTarget missing minor: no 600-tick anger memory; the target goals keep the target insteadPiglinBruteAi.updateActivity inline crates/horizon-client/src/mobs/piglin.rs::register_brute gap: minor: no fight and idle activity switch; the melee goal sets the aggressive flagStartAdmiringItemIfSeen.create inline crates/horizon-client/src/game/piglins.rs::Game::piglin_pickups gap: player: a piglin takes a wanted item and admires it in hand; it does not stop to admire one it only sees on the grounddiff --git a/tools/port_map/client-003.tsv b/tools/port_map/client-003.tsvindex 642a68bf4..690990635 100644--- a/tools/port_map/client-003.tsv+++ b/tools/port_map/client-003.tsv@@ -20,11 +20,11 @@ SessionSearchTrees.updateCreativeTags inline crates/horizon-client/src/creative.SessionSearchTrees.updateCreativeTooltips inline crates/horizon-client/src/creative.rs::Creative::from_json name index comes from the export's tooltip linesChatAbilities.selectVisibleMessages port crates/horizon-client-render/src/chat.rs::ChatAbilities::shows source filter: client lines always, player and server lines per the abilitiesChatAbilities.Builder.build inline crates/horizon-client-render/src/chat.rs::ChatAbilities::new restrictions come from the Chat option alone; new() maps the visibility to them-ChatListener.tick missing player: the Chat Delay option does nothing; lines show at once instead of after the delay-ChatListener.setMessageDelay missing player: no delayed-message queue, so Chat Delay has no effect+ChatListener.tick port crates/horizon-client/src/game/remote.rs::tick_chat_queue the queue runs down with the ticks and pauses with the game+ChatListener.setMessageDelay port crates/horizon-client/src/game/remote.rs::chat_delay_ms Chat Delay in milliseconds, as Java truncates it, read when a chat line arrivesChatListener.flushQueue port crates/horizon-client/src/game/remote.rs::Game::flush_chat_queue each message through accept_chat, so it counts as processedChatListener.removeFromDelayedMessageQueue inline crates/horizon-client/src/game/remote.rs::Game::handle_delete_chat-ChatListener.handleMessage missing player: nothing is held back, so Chat Delay is ignored+ChatListener.handleMessage port crates/horizon-client/src/game/remote.rs::handle_player_chat a line with a delay goes into remote.chat_queue instead of the chatChatListener.handlePlayerChatMessage port crates/horizon-client/src/game/remote.rs::Game::handle_packet gap: player: no Only Show Secure Chat filter, no server filter-mask text, no block or friend-only hiding of chat linesChatListener.handleChatMessageError port crates/horizon-client/src/game/remote.rs::Game::handle_chat_message_error the red italic chat.validation_error in the message's chat type, tagged chatError; gap: minor: a blocked or friends-only sender is not skipped (no social list), no narration, no markMessageAsProcessedChatListener.handleDisguisedChatMessage port crates/horizon-client/src/game/remote.rs::Game::handle_packet gap: minor: no narration and no chat log entrydiff --git a/tools/port_map/client-004.tsv b/tools/port_map/client-004.tsvindex 790b039d2..e0fd4d245 100644--- a/tools/port_map/client-004.tsv+++ b/tools/port_map/client-004.tsv@@ -9,7 +9,7 @@ EnderDragonRenderer.submit port crates/horizon-client/src/game/dragon.rs::Game::EnderDragonRenderer.submitRays port crates/horizon-client/src/game/dragon.rs::Game::dragon_raysEnderDragonRenderer.submitCrystalBeams port crates/horizon-client/src/game/dragon.rs::Game::crystal_beamEnderDragonRenderer.extractRenderState inline crates/horizon-client/src/game/dragon.rs::Game::dragon_geometry flap, death fade, hurt overlay, nearest-crystal beam and egg distance read there-EndermanRenderer.getRenderOffset missing player: an angry enderman does not jitter sideways (vanilla random offset each frame); no such offset in the mob draw path+EndermanRenderer.getRenderOffset port crates/horizon-client/src/mobs/render.rs EndermanRenderer.getRenderOffset's random side offset for a creepy endermanEndermanRenderer.extractRenderState inline crates/horizon-client/src/mobs/enderman.rs::anim gap: minor: carried block is drawn by game/mob_blocks.rs, not from this poseEntityRenderDispatcher.getRenderer skip:other renderer lookup; Horizon dispatches by mob kind in game.rs::Game::entity_geometry and game/creatures.rs::Game::mob_geometryEntityRenderDispatcher.getAvatarRenderer port crates/horizon-client/src/mobs/render.rs::body slim or wide arm model by skin@@ -132,7 +132,7 @@ ThrownItemRenderer.submit port crates/horizon-client/src/game/creatures.rs::GameThrownItemRenderer.extractRenderState inline crates/horizon-client/src/game/creatures.rs::Game::mob_geometry item sprite read thereThrownTridentRenderer.submit port crates/horizon-client/src/game/trident.rs::Game::trident_geometry gap: minor: foil glint is not drawn on a thrown tridentThrownTridentRenderer.extractRenderState inline crates/horizon-client/src/game/trident.rs::Game::trident_geometry yaw, pitch and foil read there-TippableArrowRenderer.extractRenderState missing player: a tipped arrow looks like a plain arrow; no potion colour on arrows in game/creatures.rs or projectiles.rs+TippableArrowRenderer.extractRenderState port crates/horizon-client/src/projectiles.rs brewing::potion_color gives a tipped arrow its potion colourTntMinecartRenderer.submitMinecartContents port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry TNT block swell and white flashTntMinecartRenderer.submitWhiteSolidBlock inline crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry white overlay built inlineTntMinecartRenderer.extractRenderState inline crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry fuse read from the cart