作者:rebot | 分类:模组
Minecraft 版本: 26.1 26.1.1 26.1.2
平台: fabric
标签: game-mechanics management optimization
Edit your mod config files without ever leaving the game.
Config Editor is a Fabric client-side mod that gives you a full-featured text editor, a visual JSON editor, an AI assistant, and a block info overlay — all accessible with a keybind while you play.
Open any config file from your .minecraft/config folder directly inside the game. No more alt-tabbing to Notepad or VS Code.
Switch to a point-and-click interface for JSON files. No need to remember syntax.
Ask an AI about your config files without leaving the game.
localhost:11434, model: tinyllama)A Jade/WTHIT-style HUD element shown at the top of the screen while you play.
minecraft:stone) of whatever your crosshair is pointing atshow_block_overlay)Point your crosshair at a block entity or entity and press the NBT key to open a viewer showing its NBT data as formatted JSON. Save it to saved_nbt/ with a custom filename.
Other mods can extend the editor by implementing the ApiEntrypoint interface. Built-in plugins include:
| Plugin | What it does |
|---|---|
| Undo/Redo | Tracks edit history |
| Text Stats | Shows character, word, and line count |
| Date/Time Display | Shows the current time in the editor toolbar |
| Auto Bracket Completion | Automatically closes (, [, {, " |
Manage which plugins are active from the Plugins button inside the editor.
config_editor-*.jar into your mods/ folderRequirements:
26.1≥ 0.18.2≥ 21The AI Chat feature additionally requires Ollama running locally with a model pulled (e.g. ollama pull tinyllama).
All three keybinds are unbound by default. Assign them in Options → Controls → Gameplay.
| Keybind | Action |
|---|---|
| Open Editor | Opens the config file editor |
| Open AI Chat | Opens the AI chat assistant |
| NBT Display | Opens the NBT viewer for the targeted block/entity |
The mod's own settings are stored at .minecraft/config/editor_config.json and are editable both in-game and with any text editor.
{
"readonly_mode": false,
"hint": true,
"theme": "DARK",
"doRenderBackground": false,
"doSuggestions": true,
"show_block_overlay": true
}
| Key | Type | Default | Description |
|---|---|---|---|
readonly_mode |
boolean | false |
Prevent editing files (view-only mode) |
hint |
boolean | true |
Auto-close brackets and quotes |
theme |
string | "DARK" |
Editor theme: DARK, LIGHT, or AUTO |
doRenderBackground |
boolean | false |
Draw a themed background behind the editor |
doSuggestions |
boolean | true |
Show autocomplete suggestions while typing |
show_block_overlay |
boolean | true |
Show the block info HUD overlay |
You can add custom behaviour to the editor by implementing ApiEntrypoint and registering it via the Fabric entrypoint system in your fabric.mod.json:
"entrypoints": {
"config_editor": [
"com.example.yourmod.YourEditorPlugin"
]
}
public class YourEditorPlugin implements ApiEntrypoint {
@Override
public void init() { }
@Override
public void renderButton(GuiGraphicsExtractor context, int mouseX, int mouseY, float delta) {
// Draw custom HUD elements over the editor
}
@Override
public InteractionResult onType(int keyCode, int scanCode, int modifiers) {
// Intercept keystrokes — return FAIL to consume the event
return InteractionResult.PASS;
}
}
请登录后举报
暂无评论,抢个沙发吧~