COWMODSКаталог модов

config-editor-render

a improvement for modmenu, supports modmenu, make you can just edit the configure file like text editor, this mod on join reduces lag

Автор: zhengzhengyiyi7,3 тыс.20обновлён 20 сент. 2026 г.
Механики игрыУправлениеОптимизация

Описание

Config Editor

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.


Features

📝 In-Game Config Editor

Open any config file from your .minecraft/config folder directly inside the game. No more alt-tabbing to Notepad or VS Code.

  • Syntax highlighting for JSON, TOML, YAML, Properties, CFG, and plain text
  • Line numbers, horizontal and vertical scrollbars
  • Find & Replace (Ctrl+F) with previous/next navigation
  • Auto-save with file locking — retries up to 3 times if the file is busy
  • Unsaved-changes warning when you try to close
  • Backup button to snapshot your entire config directory before editing
  • Open Folder button to reveal the config directory in your file manager
  • Dark / Light / Auto theme with a toggle button

🖱️ Visual JSON Editor

Switch to a point-and-click interface for JSON files. No need to remember syntax.

  • Add, rename, delete, and reorder fields
  • Change value types (String / Number / Boolean / Null / Object) with one click
  • Nested object support with expand/collapse
  • Scroll through large files with up/down buttons

🤖 AI Chat Assistant (requires Ollama)

Ask an AI about your config files without leaving the game.

  • Loads a file or entire folder into the conversation with one click
  • Uses a local Ollama server (default: localhost:11434, model: tinyllama)
  • Server availability check on open — shows a clear offline message if Ollama is not running
  • Scrollable chat history

� Block Info Overlay

A Jade/WTHIT-style HUD element shown at the top of the screen while you play.

  • Displays the block name and registry ID (e.g. minecraft:stone) of whatever your crosshair is pointing at
  • Shows the block's item icon next to the name
  • Semi-transparent background with a clean border
  • Only visible in-game — disappears when any screen is open
  • Fully toggleable via the config file (show_block_overlay)

📦 NBT Viewer

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.

🔌 Plugin API

Other mods can extend the editor by implementing the ApiEntrypoint interface. Built-in plugins include:

PluginWhat it does
Undo/RedoTracks edit history
Text StatsShows character, word, and line count
Date/Time DisplayShows the current time in the editor toolbar
Auto Bracket CompletionAutomatically closes (, [, {, "

Manage which plugins are active from the Plugins button inside the editor.

⚡ Performance Optimisations

  • GC hint on world join/leave — triggers a garbage collection pass before the new world starts allocating memory, reducing the RAM spike that causes join-world lag. Frees hundreds of MB in practice.
  • Particle clear on level set — drops stale particle objects from the old world before the new one loads.
  • Config is read from disk at most once every 2 seconds, not on every frame or keystroke.

Installation

  1. Install Fabric Loader and Fabric API
  2. Drop config_editor-*.jar into your mods/ folder
  3. Launch the game

Requirements:

  • Minecraft 26.1
  • Fabric Loader ≥ 0.18.2
  • Fabric API
  • Java ≥ 21

The AI Chat feature additionally requires Ollama running locally with a model pulled (e.g. ollama pull tinyllama).


Usage

All three keybinds are unbound by default. Assign them in Options → Controls → Gameplay.

KeybindAction
Open EditorOpens the config file editor
Open AI ChatOpens the AI chat assistant
NBT DisplayOpens the NBT viewer for the targeted block/entity

Config File

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
}
KeyTypeDefaultDescription
readonly_modebooleanfalsePrevent editing files (view-only mode)
hintbooleantrueAuto-close brackets and quotes
themestring"DARK"Editor theme: DARK, LIGHT, or AUTO
doRenderBackgroundbooleanfalseDraw a themed background behind the editor
doSuggestionsbooleantrueShow autocomplete suggestions while typing
show_block_overlaybooleantrueShow the block info HUD overlay

For Mod Developers — Plugin API

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;
    }
}

Links


License

Apache License 2.0

Галерея

old logoThe configure file editorThe configure file editorThe configure file editor

Последние версии

Все версии →
release

config-editor-render 1.1.11+26.3

1.1.11+26.3
20 сент. 2026 г.162Minecraft: 26.3fabric
Скачать
release

config-editor-render 1.1.11+26.2

1.1.11+26.2
9 авг. 2026 г.173Minecraft: 26.2fabric
Скачать
release

config-editor 1.1.11+26.1.2

1.1.11+26.1.2
1 июн. 2026 г.188Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
release

config-editor 1.1.11+26.1.2

1.1.11+26.1.2
1 июн. 2026 г.22Minecraft: 26.1.2fabric
Скачать
release

config-editor 1.1.11+26.1

1.1.11+26.1
6 мая 2026 г.57Minecraft: 26.1fabric
Скачать
beta

config-editor 1.1.11-fix.1+26.1

1.1.11-fix.1
2 мая 2026 г.48Minecraft: 26.1fabric
Скачать
Что нового
### main changes - free ram when player joining worlds - add block overlay hub
release

config-editor 1.1.10+26.1

1.1.10
2 мая 2026 г.27Minecraft: 26.1fabric
Скачать
release

config-editor 1.1.12

1.1.10
24 мар. 2026 г.676Minecraft: 1.21.10, 1.21.11fabric
Скачать
release

1.21.11

1.21.11
11 дек. 2025 г.1,4 тыс.Minecraft: 1.21.11fabric
Скачать
release

config-editor 1.1.10

1.1.10
5 дек. 2025 г.68Minecraft: 1.21.10neoforge
Скачать