OOCGen
by LittleSwift
OOCGen is a utility mod that generates OOC, the One Only Command, in game chat when a player presses Enter on the keyboard.
What it does
The mod generates an OOC command ingame, which can then be run from the chat screen. Using it lets a player save a share of building containers and command blocks, and export large structures without leaving the game. The save and structure file are created on request, so the game keeps running while the file is written.
OOCGen works in both singleplayer and multiplayer. In multiplayer the command needs a player with operator rights. Fabric API is required, so it must be installed alongside the mod on Fabric. Files are published for Fabric, Forge and NeoForge, for 1.21 and 1.21.1, and the 1.0 build for 1.21.1 is the latest on every loader. Servers do not need it; each player installs it for their own game.
Key features
Ingame OOC generation
The mod produces the OOC command inside the game, with the result shown in the chat window.
Structure export
Large structures can be exported to a file, which lets a builder share a build with others.
Container and command block sharing
Building containers and command blocks can be saved and shared through the same export.
Save without leaving the game
The save file is generated on request, so the player does not have to exit the game first.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Singleplayer building
A builder working alone exports a finished area with its containers and command blocks for later use.
Multiplayer operator
An operator on a server generates the command and shares the structure with players who join.
Who it’s for: Builders and server operators who want to export structures, containers and command blocks from inside the game, in singleplayer or on a multiplayer server.
How it compares
EasyInventorySearch is client-side only, open source under the GNU General Public License v3.0 only and published for 1.21.10. WorldEdit Items runs on client and server, is open source under the MIT License and covers 1.12.2 – 26.1.2 across Fabric, Forge, NeoForge and Quilt. OOCGen is client-side only and open source under the MIT License, with files for 1.21 and 1.21.1 on Fabric, Forge and NeoForge.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| OOCGen | Fabric, Forge and NeoForge | 1.21 – 1.21.1 | Client-side only | 2025-12-09 |
| EasyInventorySearch | Fabric | 1.21.10 | Client-side only | 2025-12-18 |
| WorldEdit Items | Fabric, Forge, NeoForge and Quilt | 1.12.2 – 26.1.2 | Client and server | 2026-07-12 |
Questions
Does OOCGen need Fabric API?
Which loaders does OOCGen support?
Does a server need OOCGen?
Can OOCGen be used in multiplayer?
In the catalog
OOCGen is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 32,366 mods support Minecraft 1.21.1.
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/oocgen
- Owner
- LittleSwift
- Published
- 2025-12-09
- Updated on Modrinth
- 2025-12-09
- Facts verified
- 2026-10-15