Kube Utils
by ErrorMikey
Kube Utils, by ErrorMikey, is a KubeJS addon that adds a set of helper functions for scripts that work with levels, fluids and lists.
What it does
Kube Utils extends KubeJS with helper functions and is built on KubeJS, which must be installed alongside it. Every addition is reached through one global object named Ku: level helpers are under Ku.Level, fluid helpers under Ku.Fluids, and so on. The author describes the API as clear, concise and consistent, and says each addition is documented in plain English. The source code is available, and the mod is published for Forge and NeoForge across five release versions, 1.18.2 – 1.21.1.
Level helpers can look up structures and block positions, and they can find a spawn location. Entity helpers can clear space and pick a random location within a bounding box. Fluid helpers return the list of fluids in a namespace and check whether a fluid is empty. List helpers pick random entries from a weighted table. The author notes that only a few helpers exist for less supported areas, and that the set is expected to grow over the mod's life cycle.
The mod is licensed under the GNU Lesser General Public License v3.0 only, so it is open source. Client and server both need it, and the mod is in beta, so the author warns that breaking changes are possible until a stable release.
Key features
Global Ku object
All helpers sit under one Ku object, with sections such as Ku.Level and Ku.Fluids.
Level helpers
Functions for finding structures, reading block positions and locating spawn points within a level.
Fluid and list helpers
Fluid lookups by namespace, a fluid empty check, and random picks from weighted tables.
Entity space helpers
Helpers that clear space for entities and return a random position inside a bounding box.
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
How it compares
KubeJS Generator is a Fabric, Forge and NeoForge option for 1.20.1 – 1.21.1, requiring the client but not the server, and it is closed source under All rights reserved. KubeJS TFC is a Forge and NeoForge addon for 1.18.2 – 1.21.1 that runs on client and server and is open source under the MIT License. World Utils is a Forge mod for 1.10.2 – 1.12.2 that runs on the server alone and is open source under the GNU Lesser General Public License v3.0 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Kube Utils | Forge and NeoForge | 1.18.2 – 1.21.1 | Client and server | 2025-11-11 |
| KubeJS Generator | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client required, server optional | 2026-08-29 |
| KubeJS TFC | Forge and NeoForge | 1.18.2 – 1.21.1 | Client and server | 2026-09-09 |
| World Utils | Forge | 1.10.2 – 1.12.2 | Server required, client optional | 2023-10-17 |
Questions
Does Kube Utils need KubeJS?
Which loaders does Kube Utils support?
Is it safe to update Kube Utils during beta?
In the catalog
Kube Utils is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 32,366 mods support Minecraft 1.21.1.
More from ErrorMikey
Similar mods
What the author says
Kube Utils is a simple addon to KubeJS which adds new functionality to existing features and branches off to create new systems that allow for more performant, simplified, and concise code. Kube Utils (Ku from now on) has been designed with the concept of a clear, concise, and consistent API like design. Everything…
Official listing
- Modrinth page
- modrinth.com/mod/kube-utils
- Owner
- ErrorMikey
- Published
- 2023-09-08
- Updated on Modrinth
- 2025-11-11
- Facts verified
- 2026-10-15
