OOCGen
A mod that generates OOC (Only One Command) easily ingame
About this Mod
Forge support will be removed after 1.21.1 due to critical API removal. Use NeoForge or Fabric instead.
This mod targets to make OOC (Only One Command) generation easy ingame.
Why you should use it
- Using this mod allows you to save and share your building, containers or command blocks easily
- You don't have to exit the game or ask for a save file or structure file to generate it
- It works well with both singleplayer and multiplayer
When you shouldn't use it
- Trying to export a really large structure
- You're on multiplayer and not an operator
How to use it
- Create your selection with golden hoe (will be configurable at future, WIP) by left click and right click the corners, same as worldedit.
- Press Enter on your keyboard and you will get the OOC result in chat.
Contributions
You can find the source of this mod at https://github.com/LittleSwift/OOCGen. We are welcome to accept pull requests.
Available Versions
How to Install OOCGen on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "OOCGen". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.21
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
OOCGen server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is OOCGen compatible with fabric and forge and neoforge?
OOCGen officially supports fabric, forge, neoforge for Minecraft 1.21.1, 1.21. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with OOCGen – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if OOCGen consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install OOCGen with just one click on your server.