遊戲庫

用 Universal Modder 改 Minecraft(我的世界)

Minecraft 是 Universal Modder 知識庫裡被改得最多的遊戲,而且不只是改它本身:它也是做融合 Mod 時最常用的宿主。Agent 已經把光環 3 的載具、半條命的武器、求生之路的感染者和一整局氣球塔防 6 移植進去,還把 Minecraft 合成進了 GTA V、傳送門 2 和生化危機 2。

更新於 2026-11-16

實戰筆記11
可用 / 已釋出9
引擎Java (Minecraft), Native C++
路線重新實現, Mod 載入器 API, 穿透式(遊戲中的遊戲), 託管程式碼補丁

Universal Modder 如何處理 Minecraft

對於 Java 版,Agent 會基於官方模板構建 Fabric(或 NeoForge / Forge 1.20.1)Mod,用 Mojang 的對映表閱讀遊戲程式碼。./gradlew runClient 會啟動一個載入了 Mod 的開發客戶端,它的日誌就是 Agent 的判據。物品、方塊和生物的 16×16 貼圖由 fal 生成,再用 um sprite 調整。基岩版則以行為包和資源包加 Script API 的方式處理。

務必對齊遊戲版本 + 載入器版本 + API 版本:Minecraft Mod 是鎖版本的,大多數首次失敗都是版本不匹配。

載入器 / 工具用途
Fabric + Fabric API輕量載入器,用 Mixin 做位元組碼補丁;跟進新版本最快。
NeoForgeForge 在新版本上的繼任者,API 更多(capabilities、事件)。
Forge 1.20.1仍是許多 CurseForge 整合包使用的載入器。
Paper / Spigot 外掛只改服務端加資源包,不需要客戶端 Mod。
基岩版附加包行為包 + 資源包,用 @minecraft/server 寫腳本。

Agent 用到的工具: Forge 66.1.5 · ForgeGradle 7 · decompiled 26.3 sources for API checks (kept out of the repo) · scripted dev clients · a dev dedicated server · JDK 25 · Vineflower-decompiled reference sources (kept outside the repo) · horizon-mod-sdk 0.1.0 · cargo-horizon-mod 0.1.0 · rustup stable-x86_64-pc-windows-gnu 1.99.1 · wasm32-unknown-unknown · WinLibs mingw · wasmtime 48 (in the game) · Python 3.14 (texture/JSON generator) · Horizon launcher 0.2.21 · javac (JDK 25)

可用的版本: Minecraft Java 26.3, Forge 66.1.5 (ForgeGradle 7, Java 25) | Minecraft Java 26.3, Forge 66.1.5 | Horizon v0.2.94 (launcher 0.2.21) over Minecraft Java 26.3 resources; source at horizon-rust/horizon f66f66c (2026-10-28); mod API 0.2 (content) + 0.3 (server)

在 GitHub 閱讀引擎手冊 →

開始一次 Minecraft 會話

終端
um kb search "Minecraft"
um scan "Minecraft"
提示詞
為 Minecraft 1.21 做一個 Fabric Mod,加一個鉤爪,貼圖用 fal 生成。用 runClient 測試。
提示詞
把我安裝的光環裡的疣豬號移植進 Minecraft,炮塔上要能坐一個炮手。
提示詞
給 Minecraft 加一個 AI 夥伴,用本地 Ollama 模型執行,並記住我告訴它的事。

Minecraft 實戰筆記(11)

摘要和踩坑記錄以英文原文引自 universal-modder 的 MIT 授權知識庫,每條都連結到完整筆記。

可用Mod 載入器 APIJava (Minecraft)

A terraforming tool grown to 283 modes in Minecraft 26.3 Forge: exact undo for entities, effects, zones and animations, safe file input, regeneration from the seed, contained destructive modes

A Forge mod's World Warper item grew from 84 to 283 terrain, building, fluid, physics, ecology, utility, zone and destructive modes, plus a Custom mode that chains them, in three rounds. 150 modes: entity and effect undo, safe file input, regeneration from the seed. 222: two new categories, a full-screen mode browser, lasting zones saved with the world,…

版本
Minecraft Java 26.3, Forge 66.1.5 (ForgeGradle 7, Java 25)
反作弊
none (single player and a dev dedicated server the user runs)
製作者
Claude Code (Opus 5.5)
日期
2026-11-16
在 GitHub 閱讀完整筆記 →
可用Mod 載入器 APIJava (Minecraft)

Runtime dimensions, parallel-universe portals and whole-dimension endings in Forge 26.3

A Forge 26.3 mod (a disasters mod's 1.12.0 release, plus later portal and respawn fixes) that creates "parallel universes" as real dimensions while the server runs (pristine seed, variant seed, or an echo copy of the player's surroundings), portals into them with a charge and a point of no return tied to world-ending events, a world-ending event that…

版本
Minecraft Java 26.3, Forge 66.1.5
反作弊
none (single player, own dedicated server)
製作者
Claude Code (Opus 5.5)
日期
2026-11-14
記錄了 8 個坑
  • NoAI mobs never move.
  • Return portal built on the traveller.
  • Client sky effects followed the player into another dimension.
  • Erosion did nothing on flat ground, and grass wasn't treated as ground.
  • Crash at the world-ending impact.
  • Respawning players died again and again
  • Breaking an activation object in the End didn't abort an event in another dimension.
  • Sky screenshots came out white.
在 GitHub 閱讀完整筆記 →
進行中Mod 載入器 APINative C++

Factorio-style belts, power and ore patches as Horizon (Rust Minecraft 26.3) WebAssembly mods

Horizon is Minecraft Java 26.3 rewritten in Rust with its own mod system: sandboxed WebAssembly components (`.hmod` zips) instead of Java bytecode. This project added a slice of Factorio to it: conveyor belts that carry the block on top of them, small electric poles, steam engines (water + coal → 900 kW), electric mining drills and furnaces that share…

版本
Horizon v0.2.94 (launcher 0.2.21) over Minecraft Java 26.3 resources; source at horizon-rust/horizon f66f66c (2026-10-28); mod API 0.2 (content) + 0.3 (server)
反作弊
none: Horizon is an open-source client/server, mods are a supported feature; the game's own Mojang resources are fetched only for a signed-in Microsoft account that owns Java Edition (never bypassed)
製作者
Claude Code (Fable 5.1)
日期
2026-10-28
記錄了 8 個坑
  • "Blocks and logic in one mod" is impossible.
  • Block ids are <content mod id>:<file name>.
  • ld/windres fail with garbled paths on the windows-gnu toolchain.
  • dlltool: CreateProcess error while linking cargo-horizon-mod.
  • Sandbox test: set-blocks from the mod are not visible to the mod until the next step.
  • Sandbox test: place = {…} does not put the block in the world.
  • In-game, a belt would move cargo twice per work tick.
  • Blocks placed before the mod was enabled, or by /fill, never work.
在 GitHub 閱讀完整筆記 →
進行中Mod 載入器 APIJava (Minecraft)

Porting Thaumcraft 4 (1.7.10 Forge) to Minecraft 1.20.1 Fabric

An ongoing port of the Thaumcraft 4.2.3.5 mod (Minecraft 1.7.10, Forge) to Minecraft 1.20.1 on Fabric, keeping the original's behaviour, values and quirks. Each subsystem is checked by GameTests on a real dedicated test server (323 passing on 2026-10-10, from 859 decompiled original classes to about 77,000 lines of port code). Rendering, screens, the…

版本
Minecraft Java 1.20.1, Fabric Loader 0.16.14, Fabric API 0.92.12+1.20.1, Yarn 1.20.1+build.10
反作弊
none (single-player mod; nothing touches multiplayer anti-cheat)
製作者
Claude Code
日期
2026-10-10
記錄了 8 個坑
  • A dimension GameTest finds no world.
  • Void dimension, but the biome feature never runs.
  • Every world load stops on the experimental-settings screen.
  • Crash "asking a region for a chunk out of bound", or log "setBlock in a far chunk", from a feature.
  • A biome was just written but the check says it wasn't, at some positions only.
  • Unrelated tests start failing after new tests are added.
  • A mob on a pressure plate never presses it.
  • Mobs in other tests act strangely.
在 GitHub 閱讀完整筆記 →
可用Mod 載入器 APIJava (Minecraft)

Kindred: Local LLM AI companion with Ollama, bounded inference, autonomy, and memory

A Fabric 1.20.1 mod that adds a living AI companion NPC to Minecraft, powered by local LLMs through Ollama. The companion executes tasks (gather/craft/smelt/build), navigates autonomously, maintains a bounded atlas with resource landmarks, reacts to danger with model-free reflexes, and persists inventory, mood, home, and 12 recent events in NBT. Verified…

版本
Minecraft Java 1.20.1, Fabric Loader 0.15.11, Fabric API 0.92.2+1.20.1
反作弊
none (single-player and private servers only; never tested against or designed for online anti-cheat environments)
製作者
Claude Code (Sonnet 5)
日期
2026-10-07
記錄了 8 個坑
  • Wolves killed the companion (alpha.2 symptom).
  • "Explore the world" command → companion stands still.
  • Infinite crafting table loop.
  • Doesn't pick up resources.
  • AFK without explanation (companion idles indefinitely).
  • Companion dismantles base walls ("mineable" is global).
  • No separate navigator model (dual-role architecture not used).
  • Gradle build cache issues in temporary environment (validation-only gotcha).
在 GitHub 閱讀完整筆記 →
可用穿透式(遊戲中的遊戲)Java (Minecraft)

Resident Evil 2's live picture composited into Minecraft with depth

Minecraft Java 26.3 is the visible game: Resident Evil 2's live rendered picture (colour **and** linear depth in metres) is drawn into Minecraft's view and depth-tested against Minecraft's own depth buffer, so Minecraft blocks occlude RE2's world and RE2's world shows through Minecraft's sky and gaps. RE2 keeps camera and input authority (Leon drives;…

版本
Minecraft Java 26.3 + Fabric Loader 0.19.5 / Fabric API 0.161.0+26.3 (Loom 1.18.2, JDK 25); Resident Evil 2 (Steam app 883710, RE Engine, D3D12) + REFramework 1.5.9.1
反作弊
none detected on re2.exe; both games single-player and offline only, never launched online
製作者
OpenCode (mimo-v2.6-flash)
日期
2026-10-06
記錄了 8 個坑
  • Composite draws but the screen never changes.
  • Guest sky never wins: open-sky pixels keep Minecraft's sky.
  • Depth comparison looks inverted/garbage with the textbook GL formula.
  • Camera publishes fov=2.0 and near=2.0 for 27 minutes while the probe reads 74.8.
  • F8 does nothing although options.txt shows a binding.
  • Minecraft boots with default options and a NumberFormatException on key.keyboard.g.
  • Writer runs for 9 minutes, guest never calibrates, no reason is logged anywhere.
  • E_INVALIDARG creating what looks like a valid D3D12 readback texture.
在 GitHub 閱讀完整筆記 →
可用Mod 載入器 APIJava (Minecraft)

Ruby Rush: 220-talent Forge 1.20.1 mod - GUI, vein miner, bytecode-derived icon UVs

Built "Ruby Rush" (Рубиновая лихорадка): a content mod for Minecraft Java 1.20.1 with a 220-talent tree across 9 tabs, custom GUI, ore vein mining, full-tree felling, death chest and rubies, on the Forge loader route. It ships as a local v1.4.0 release; it runs in the real game — the human played it, and a 201-check Python suite verifies sources, jar and…

版本
1.20.1 (Forge 47.4.10)
反作弊
none
製作者
OpenCode (mimo-v2.6-flash-free)
日期
2026-10-06
記錄了 5 個坑
  • Icon crops from entity textures were wrong whenever guessed visually.
  • The agent's image viewer returns stale/blank frames — visual checks lie.
  • cp1251 console garbles Cyrillic output; PowerShell round-trips corrupt Russian text files.
  • pollinations free gen answers HTTP 402 for weapon words
  • Talent/effect drift between generator, lang files and jar.
在 GitHub 閱讀完整筆記 →
可用穿透式(遊戲中的遊戲)Java (Minecraft)

Half-Life 2 guns in Minecraft (passthrough, HL2 Demo under Wine on macOS)

A live Half-Life 2 Demo (Steam, running under Wine on an arm64 Mac) renders and plays the sound of the real first-person weapon, while a Fabric mod for Minecraft Java 26.3 does the gameplay: hitscan, damage, grenades, gravity-gun punts. Minecraft input is forwarded to HL2's console through cfg files, and HL2's view, keyed down to just the weapon, is…

版本
Minecraft Java 26.3 (demo account), Fabric Loader 0.19.5, Fabric API 0.161.0+26.3; Half-Life 2 Demo (Steam app 219) on the HL2 depot build 19307283, 32-bit hl2.exe with DXVK d3d9
反作弊
none in single-player (VAC only applies to HL2 multiplayer; nothing online was touched)
製作者
Claude Code (Claude Opus 5.5)
日期
2026-10-05
記錄了 8 個坑
  • Wine exits with 136 and prints nothing when started from a shell.
  • The capture helper grabbed the editor window.
  • A command-line ScreenCaptureKit tool asserts CGS_REQUIRE_INIT.
  • The recorder crashed with "NSWindow should only be instantiated on the main thread".
  • The recording was silent.
  • "No shot" looked like a paused simulation.
  • SCK's frame-rate count looked like 58 fps when HL2 drew ~20.
  • A map in the startup cfg was ignored.
在 GitHub 閱讀完整筆記 →
可用重新實現Java (Minecraft)

Bloons TD 6 inside Minecraft: the guest's rules as a headless 2D sim, Minecraft as the view

A Forge 1.20.1 mod that plays a real game of Bloons TD 6 inside a Minecraft world: bloons follow the Monkey Meadow track built in blocks, the 8 base towers go to tier 5 on all three paths, the 100 rounds and BTD6's freeplay (to round 200) are reproduced, and players pop bloons with any Minecraft weapon. The guest's rules run as a pure-Java 2D simulation…

版本
Minecraft Java 1.20.1 + Forge 47.2.0 (dev and benches; also runs on Forge 47.4.10 in the user's modded instance), Java 17, official mappings. Guest: Bloons TD 6 v56.3, Epic Games Store build, Unity 6000.0.58f2, IL2CPP, Addressables 2.9.1
反作弊
none on the host side. BTD6 has online features (account, co-op, races, flagged-player checks): the route never launches, patches, hooks or injects into it. Only its asset files were read offline, read-only, from the user's own install
製作者
Claude Code (Opus 5.5)
日期
2026-10-04
記錄了 8 個坑
  • Chunks appear empty from above right after building the map.
  • A movement-speed bonus zooms the view.
  • Writing the Forge TOML at runtime truncates it.
  • Hand edits to the TOML are often missed.
  • A changed default never reaches existing users.
  • A bucket of water on the protected path floods the map (14 of 16 sources flowed).
  • Vanilla fire on a mirror entity never goes out, and is the size of the hitbox.
  • Potions, knockback and golem hits move or change mirror entities.
在 GitHub 閱讀完整筆記 →

其他遊戲筆記中的 Minecraft

可用穿透式(遊戲中的遊戲)

BeamNG.drive

Minecraft inside BeamNG.drive (passthrough mod: WebSocket bridge + rendered Steve)

Real Minecraft Java 26.3 runs next to BeamNG.drive 0.39; a BeamNG Lua mod (a zip in `current\mods`) and a Fabric mod exchange state over a local WebSocket, and Steve is rendered inside BeamNG himself: a pooled 7-box TSStatic rig anchored to walk mode, with correct proportions, camera-relative facing, walk stride, a held item, hide-while-driving, and…

版本
BeamNG.drive 0.39.4.0.20972 x64 (Steam) + Minecraft Java 26.3 with Fabric
反作弊
none; single player only (BeamMP, the third-party multiplayer mod, was not used)
製作者
OpenCode (mimo-v2.6-flash)
日期
2026-10-10
記錄了 8 個坑
  • Symptom:
  • Symptom:
  • Symptom:
  • Symptom:
  • Symptom:
  • Symptom:
  • Symptom:
  • Symptom:
在 GitHub 閱讀完整筆記 →
進行中穿透式(遊戲中的遊戲)Unreal Engine

Black Myth: Wukong

Black Myth: Wukong, Unreal 5.0: injection works, ReShade render depth does not

Goal was a Minecraft × GTA V style passthrough: run Minecraft beside Black Myth: Wukong and composite its frame into Wukong's. **The load-bearing negative result: ReShade 6.8.0 hooks this game's D3D12 perfectly and even *detects* a depth-stencil, but the depth it reads is completely flat — no scene geometry.** So depth-correct compositing is not…

版本
build 21393610, Steam app 2358720, UE5+Release-5.0, project 'b1'
反作弊
none found (no EAC, no BattlEye, no ACE). Denuvo Anti-Tamper IS present and still active — but it did not block DLL injection, and nothing here bypasses it.
製作者
DeepSeek Harness (deepseek-flash)
日期
2026-10-01
記錄了 8 個坑
  • um win ps crashes on a Chinese-locale Windows.
  • um win drive click takes DPI-virtualised coordinates, but um win shot returns physical pixels.
  • um win shot returns a stale frame once ReShade post-processing is active.
  • um kb new --root wants the knowledge/ directory, not the repo root.
  • ReShade 6.8.0 has no RESHADE_VERBOSE_LOG.
  • ReShade's Chinese UI translates Add-ons as 「插件」, not 「附加」.
  • DisplayDepth.fx is a configuration aid, not a depth viewer.
  • Do not trust a negative result from a chunked file scan without checking the loop covered the file.
在 GitHub 閱讀完整筆記 →
進行中穿透式(遊戲中的遊戲)FromSoftware engine

Dark Souls: Remastered

Craft Souls: Minecraft played inside Dark Souls: Remastered (passthrough bridge, RE map of the game)

Minecraft (Fabric 1.21.1) runs beside Dark Souls: Remastered and is composited into the Dark Souls frame by ReShade add-ons. In "drive mode" Minecraft has the focus and Steve walks through Lordran: Dark Souls' collision becomes invisible Minecraft blocks, enemies become hittable Minecraft entities whose hits the game reacts to (flinch, aggro, kills,…

版本
Steam AppID 570940, app 1.03.1 (file 1.0.0.0), DarkSoulsRemastered.exe 50,286,344 bytes, SHA-256 A45AAA36...8D7B, SizeOfImage 0x319B000
反作弊
no client anti-cheat found by um scan; part of .text is encrypted on disk (protection), left alone: the exe stays as installed and all patches are in memory; servers are live, so offline only (add-on removed before going online)
製作者
Copilot SDK in VS Code (model not recorded), Claude Code (Opus 5.5)
日期
2026-11-02
記錄了 8 個坑
  • Guest/native shared-memory sizes disagreed.
  • Menu kept the last player position.
  • A stale fake-host binary gave wrong results.
  • A named mapping keeps its creator's size.
  • Projection scanner crashed on the title screen (0xc0000005).
  • Compositor drew nothing.
  • Game aborted (0xc0000409).
  • The anchored block followed the camera.
在 GitHub 閱讀完整筆記 →
可用重新實現Unreal Engine

FPV LOGIC

FPV LOGIC drones (flight model, RC radio and 3D models) ported into Minecraft 26.3 (Fabric)

FPV LOGIC's quad flight model was re-implemented as a Fabric mod for Minecraft 26.3, read from the game's own Blueprint bytecode and drone DataTable. The mod also reads the player's FPV LOGIC SaveGames at run time: controller channel map and calibration, and per-drone rates / camera / physics sliders. Their RadioMaster flies the same drone with the same…

版本
FPV LOGIC (Steam 2398030), UE 5.3.2 (++UE5+Release-5.3, CL 29314046), 18 legacy paks v11, Oodle; Minecraft Java 26.3 + Fabric Loader 0.19.5 + Fabric API 0.162.0+26.3
反作弊
none; FPV LOGIC is only read from disk (paks + SaveGames), never launched or hooked
製作者
Claude Code (Opus 5.5)
日期
2026-10-06
記錄了 8 個坑
  • /summon from the test failed: "Incomplete (expected 3 coordinates)".
  • The pilot's mannequin body vanished as soon as it spawned.
  • No way to set a Mannequin's profile.
  • The player must fly along, or chunks never load at the drone.
  • The camera needs roll.
  • Prop spin was wrong on all four props.
  • 26.3 API renames that cost a build each:
  • Translucent block textures:
在 GitHub 閱讀完整筆記 →
進行中穿透式(遊戲中的遊戲)zengin

Gothic II

Gothic II NotR: Union plugin host stack for a passthrough (camera, ground raycasts, console, WS out)

版本
Gothic II Gold GOG (goggame-1207658718), system/Gothic2.exe swapped to community 2.6.0.0-rev2
反作弊
none (2002 single-player game)
製作者
Devin (SWE-2)
日期
2026-10-08
記錄了 8 個坑
  • Symptom.
  • Symptom.
  • Symptom.
  • Unconfirmed.
  • Symptom.
  • Expected, not observed (the plugin hasn't run in game).
  • Expected, not observed.
  • Expected, not observed.
在 GitHub 閱讀完整筆記 →
可用穿透式(遊戲中的遊戲)RAGE (Rockstar)

Grand Theft Auto V

Minecraft inside GTA V (passthrough mod)

Real Minecraft Java 26.3 runs next to GTA V story mode and is drawn into GTA's frame: Steve walks, builds, flies an elytra over Los Santos, and his TNT, arrows and fireworks become GTA explosions and bullets, while Minecraft mobs fight the LAPD. GTA's camera drives Minecraft's. GTA's ground becomes invisible collision in Minecraft, and Minecraft's colour…

版本
GTA V Legacy (Steam, game build 3889, story mode) + ScriptHookV 3889.0 + ReShade 6.8.0; Minecraft Java 26.3 + Fabric
反作弊
BattlEye guards GTA Online only: story mode, launched with BattlEye off (-nobattleye), never online
製作者
Claude Code (Opus 5.5)
日期
2026-09-30
記錄了 8 個坑
  • Colour readback returns garbage after a depth readback (Minecraft 26.3).
  • Setup commands on join match nobody (@a is empty).
  • fabric-installer -launcher microsoft_store fails.
  • ScriptHookV's download fails from scripts.
  • The ReShade proxy DLL never loads in GTA.
  • Flicker, then a crash, when toggling the effect.
  • Squashed HUD and skewed angles.
  • Blocks lead the GTA picture by one frame, and explosion shake can't be stopped.
在 GitHub 閱讀完整筆記 →

常見問題

Universal Modder 能做 Minecraft Mod 嗎?

能。Minecraft 有專門的引擎手冊,知識庫裡有 Claude Code 和 OpenCode Agent 做出的可用 Fabric、NeoForge、Forge Mod,還有好幾個把其他遊戲放進 Minecraft 的融合專案。

Java 版還是基岩版?

主要目標是 Java 版:用 Fabric、NeoForge 或 Forge 寫程式碼 Mod。基岩版透過附加包(行為包和資源包加 Script API)支援,限制更多。

這些 Mod 能在多人伺服器上用嗎?

在你自己執行的伺服器上可以:服務端和客戶端裝同樣的 Mod,或用 Paper 外掛。不要在別人的伺服器上用客戶端 Mod 獲取優勢。工具包會拒絕做針對其他玩家的外掛。

Universal Modder 能改 Minecraft 嗎?

能。Universal Modder 知識庫裡有 11 篇 Minecraft 的實戰筆記,其中 9 篇(共 11 篇)標為可用或已釋出。用過的路線:重新實現, Mod 載入器 API, 穿透式(遊戲中的遊戲), 託管程式碼補丁。

哪些 AI Agent 改過 Minecraft?

Claude Code, OpenCode。Universal Modder 在 Claude Code、Codex、Cursor、Gemini CLI、Copilot 和 OpenCode 中的用法都一樣。

用 AI Agent 改 Minecraft 安全嗎?

只在單機、離線模式或你自己架設的伺服器裡玩,先備份存檔(Agent 會執行 um backup),絕不釋出遊戲檔案。這個遊戲記錄的反作弊情況:none (single player and a dev dedicated server the user runs); none (single player, own dedicated server)。