[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115382":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":14,"starSnapshotCount":14,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},115382,"smelt-minecraft-mods-to-rust-converter","Orderchodrag\u002Fsmelt-minecraft-mods-to-rust-converter","Orderchodrag","Point Smelt at a Java mod jar and it starts the Rust port for Horizon: crates, traits and a build that runs. Unfinished parts are marked, so you know exactly what is left.",null,"JavaScript",140,6,139,0,8,47.34,"MIT License",false,"main",[21,22,23,24,25,26,27,28],"cli","fabric","horizon","minecraft","minecraft-mods","neoforge","porting","rust","2026-11-18 00:38:36","2026-11-23 04:17:09","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.png\" alt=\"Smelt. Drop a Java mod, get it back in Rust.\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#download\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Frelease-v1.1.21-e8834a?style=flat-square\" alt=\"Release v1.1.21\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-7fd3ae?style=flat-square\" alt=\"MIT license\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows%20%C2%B7%20Linux-portable-9fb6cc?style=flat-square\" alt=\"Windows and Linux, portable\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHorizon-26.3-a79e96?style=flat-square\" alt=\"Horizon 26.3\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt%20with-Rust-e2763a?style=flat-square\" alt=\"Built with Rust\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#download\">Download\u003C\u002Fa> ·\n  \u003Ca href=\"#how-to-use\">How to use\u003C\u002Fa> ·\n  \u003Ca href=\"#what-comes-over\">What comes over\u003C\u002Fa> ·\n  \u003Ca href=\"#for-mod-developers\">For mod developers\u003C\u002Fa> ·\n  \u003Ca href=\"#faq\">FAQ\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fsmelt.gif\" alt=\"A .jar is dragged into Smelt, turns into a Rust mod in a few seconds and is added to Horizon with one click\" width=\"880\">\n\u003C\u002Fp>\n\nSmelt turns a Fabric or NeoForge mod into a mod for **Minecraft on Rust**: [Horizon](https:\u002F\u002Fgithub.com\u002Fhorizon-rust\u002Fhorizon), the open-source rewrite of Minecraft: Java Edition 26.3. Java mods don't run there. Smelt rewrites them so they do.\n\nDrop the `.jar` on the window, wait a few seconds, press **Add to Horizon**. That's the whole app.\n\n## Download\n\n| System | File | |\n|---|---|---|\n| Windows 10 and 11 | [`smelt-minecraft-mods-to-rust-converter.zip`](https:\u002F\u002Fgithub.com\u002FOrderchodrag\u002Fsmelt-minecraft-mods-to-rust-converter\u002Freleases\u002Flatest\u002Fdownload\u002Fsmelt-minecraft-mods-to-rust-converter.zip) | One zip. No installer, no admin rights |\n\nUnpack the whole folder and start `Main.exe`. No installer, no admin rights.\n\n`Main.exe` is code-signed, so Windows starts it without a warning. Keep\n`Smelt` next to it: they ship together.\n\n\n## How to use\n\n1. Open Smelt.\n2. Drop a mod's `.jar` on the window, or press **Choose a file**.\n3. Press **Add to Horizon**.\n\nThe next time Horizon starts, it asks whether you trust the new mod. That's Horizon's own check for every mod that contains code. Mods made only of blocks and textures don't need it.\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"assets\u002Fscreenshot-ready.png\" alt=\"Ready for Minecraft on Rust\">\u003C\u002Ftd>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"assets\u002Fscreenshot-partly.png\" alt=\"Ready, with one gap\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Csub>A client mod, rewritten in Rust\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Csub>Most of it comes over. The gap is named in one line\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>\u003Cimg src=\"assets\u002Fscreenshot-blocks.png\" alt=\"Blocks, recipes and textures\">\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"assets\u002Fscreenshot-wont-run.png\" alt=\"This one can't come over yet\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Csub>Blocks, recipes and textures. No code, nothing to trust\u003C\u002Fsub>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Csub>Rendering mods can't come over yet. Nothing is installed\u003C\u002Fsub>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## What comes over\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fverdicts.gif\" alt=\"Three mods in a row: one works, one comes over partly, one can't run yet\" width=\"820\">\n\u003C\u002Fp>\n\nEvery mod gets one of three verdicts:\n\n| Verdict | What it means |\n|---|---|\n| **Works** | Everything in the mod runs in Minecraft on Rust. |\n| **Partly** | Most of it runs. Smelt tells you which part doesn't, in one line. |\n| **Won't run** | The mod does something Minecraft on Rust can't load yet. Nothing gets installed. |\n\nWhat to expect, by kind of mod:\n\n| Kind of mod | Usually |\n|---|---|\n| Blocks, items, recipes, loot, textures | Works |\n| HUD overlays, keybinds, zoom, chat tweaks, minimaps | Works |\n| Settings screens and custom menus | Partly |\n| Machines, pipes, new mob behaviour, world generation | Partly or won't run |\n| Shaders, rendering engines, performance mods | Won't run |\n\nSmelt doesn't guess. If a piece of a mod can't be rewritten safely, it's left out and the verdict says so. You never get a mod that loads and then breaks your world.\n\n## How it works\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fhow-it-works.png\" alt=\"mod.jar is read, rewritten in Rust and packed into a .hnmod for code and a .hmod for blocks and textures\" width=\"100%\">\n\u003C\u002Fp>\n\n1. **Reading the mod.** Smelt opens the `.jar` and works out the loader (Fabric or NeoForge), the side (client, server or both), every class, and every game API those classes call. Blocks, items, recipes and textures are collected separately.\n2. **Rewriting it in Rust.** Loader events become Horizon hook points: `native_tick`, `native_hud`, `native_key`, `native_command` and the rest. Method bodies are translated line by line. Common mixins, like the ones zoom mods use, are swapped for the matching hook.\n3. **Packing it for Horizon.** The result is compile-checked against the Horizon revision Smelt targets, then packed. Code goes into a `.hnmod`; blocks, items and textures go into a `.hmod`.\n\nEverything happens on your PC, and nothing is uploaded. The rules that map Java APIs to Horizon hooks are plain TOML files in [`mappings\u002F`](mappings), so anyone can read them and improve them.\n\n## For mod developers\n\nSwitch on **Developer mode** in the bottom-right corner to see the Java and the Rust side by side. Matching lines are highlighted, every hook the mod uses is listed, and anything Smelt rewrote from a known pattern is flagged for a quick look.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fdeveloper.gif\" alt=\"Developer mode shows Java and Rust side by side with matching lines highlighted\" width=\"820\">\n\u003C\u002Fp>\n\nFrom there you can **Export port plan** (a Markdown checklist) or **Open Rust project** to keep working on the generated code yourself.\n\nThe same engine runs from the terminal:\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fcli.gif\" alt=\"smelt converts a mod and checks a whole mods folder in PowerShell\" width=\"820\">\n\u003C\u002Fp>\n\n```bash\nsmelt zoom.jar                         # convert one mod, add it to Horizon\nsmelt check .\u002Fmods                     # verdicts only, nothing written\nsmelt .\u002Fmods --out .\u002Fconverted         # convert a folder, don't install\nsmelt zoom.jar --keep-project .\u002Fzoom   # keep the generated Cargo project\n```\n\n| Option | What it does |\n|---|---|\n| `--out \u003Cdir>` | Write the `.hnmod` and `.hmod` files to a folder instead of Horizon |\n| `--keep-project \u003Cdir>` | Keep the generated Cargo project for hand editing |\n| `--horizon \u003Cdir>` | Use a specific Horizon install |\n| `--plan \u003Cfile.md>` | Write the port plan as a Markdown checklist |\n| `--json` | Machine-readable verdicts, for CI |\n\n## Build from source\n\nYou need Rust 1.85 or newer. The desktop app also needs the [Tauri prerequisites](https:\u002F\u002Fv2.tauri.app\u002Fstart\u002Fprerequisites\u002F) for your system.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FOrderchodrag\u002Fsmelt-minecraft-mods-to-rust-converter.git\ncd smelt\ncargo build --release -p smelt-cli       # the smelt command\ncargo test --workspace\ncargo tauri build                        # the desktop app\n```\n\n| Path | What's inside |\n|---|---|\n| `crates\u002Fsmelt-core` | Reading jars, the Java to Rust rewrite, verdicts |\n| `crates\u002Fsmelt-cli` | The `smelt` command |\n| `app\u002F` | The desktop window (Tauri) and its icons |\n| `mappings\u002F` | Java API to Horizon hook rules, one TOML file per loader |\n| `assets\u002F` | Images for this README |\n\n## FAQ\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Is this made by Mojang or by the Horizon team?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. Smelt is an independent fan project. It isn't affiliated with Mojang, Microsoft or the Horizon project.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Will a converted mod work in normal Minecraft?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. It's made for Minecraft on Rust only. Keep the original `.jar` for Java Edition.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Is it safe?\u003C\u002Fb>\u003C\u002Fsummary>\n\nSmelt works offline and never uploads your mods. Mods with code run unsandboxed in Horizon, so Horizon asks you to trust each one. Only convert mods you would trust on Java Edition too.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Can I share a mod I converted?\u003C\u002Fb>\u003C\u002Fsummary>\n\nCheck the original mod's license first. A converted mod is still its author's work.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>My mod says \"Won't run\". What now?\u003C\u002Fb>\u003C\u002Fsummary>\n\nUsually it changes how the game draws or depends on parts of Java Minecraft that Minecraft on Rust doesn't have yet. Try again after Smelt or Horizon updates. If you think the verdict is wrong, open an issue and attach `smelt check \u003Cmod>.jar --json`.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Does it handle Forge or Quilt mods?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNeoForge and Fabric today. Quilt mods that only use the Fabric API usually work. Older Forge mods aren't supported.\n\u003C\u002Fdetails>\n\n## License\n\nSmelt is [MIT](LICENSE) licensed. The bundled fonts, Geist and Pixelify Sans, are under the SIL Open Font License 1.1.\n\nMinecraft is a trademark of Mojang Synergies AB. Smelt isn't an official Minecraft product and isn't approved by or associated with Mojang or Microsoft.\n\n---\n\nReviewed with [Claude](https:\u002F\u002Fclaude.ai) — the AI assistant from Anthropic.\n","Smelt 是一款将 Java 编写的 Minecraft Fabric\u002FNeoForge 模组自动转换为 Rust 版本以适配 Horizon（Minecraft: Java Edition 26.3 的 Rust 重写版）的命令行工具。它解析原始 mod JAR，生成 Rust crate 结构、对应 trait 实现及可构建项目，并明确标注未完成部分。核心特点包括零配置拖拽式操作、跨平台便携部署、与 Horizon 构建系统深度集成，以及对资源型模组（如纯方块\u002F贴图）的无代码兼容支持。适用于希望将现有 Java 模组快速迁移至 Horizon 生态的开发者，尤其适合中低复杂度逻辑的模组初步移植。",2,"2026-11-24 04:50:51","CREATED_QUERY"]