SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedLibraries & compatibility

Kube Utils

by ErrorMikey · for Minecraft

Adds helper utilities and new features to KubeJS in a clean, concise and consistent API design

80KDownloads
11 mo agoLast updated
LGPL-3.0-onlyLicense
Forge · NeoForgeLoaders

About Kube Utils

From Modrinth

Adds helper utilities and new features to KubeJS in a clean, concise and consistent API design

Kube Utils

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.

BisectHosting

How it works

Kube Utils (Ku from now on) has been designed with the concept of a clear, concise, and consistent API like design. Everything added by this mod is held within the global Ku object meaning if you want to access level apis, you will access it via Ku.Level, if you want to do something with fluids you will use Ku.Fluids etc.

Features

Currently, we only have a few helpers to some of the lesser supported areas of KubeJS but we plan to expand this greatly over the life cycle of the systems development. If you have any suggestions, please make a feature request!

  • Level additions like being able to get structures at a block pos, ability to spawn structures, find entities and clear spaces, get a random location with a bounding box, etc.
  • Fluids, allow you to get a list of fluids based on their namespace(s), and being able to check if a fluid is empty or not.
  • List additions like getting random entries based on a weighted table
  • The addition of general utilities like nullOrEmpty which gives you a very simply way to always know if an object is nullOrEmpty whether it's a item, block, itemstack, string, fluid or itemEntity! (more support to come as required)
  • Completely documented code
  • Production validated
  • Clear and simple API

Our goals

  • We aim to never make breaking changes unless absolutely forced to by Minecraft, Forge or Fabric. At the point we feel we need to branch off and make breaking changes, it will be done in an optional way that will not affect existing code.
  • Never to make the additions overly complex
  • Always document the additions in plain English

Documentation

https://nanite.github.io/KubeUtils/

Disclaimer

Disclaimer, whist in beta, expect possible code breaking changes. Once we hit stable release, this message will be removed and from that point onwards, the code will not contain breaking changes!

Issues

Please report any issues to our issue tracker along with example code so we can validate the issues.

Highlights

From source data

Game versions

Supports 5 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Forge and NeoForge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Modrinth lists Kube Utils as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
ForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 4 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorErrorMikey, as published on Modrinth
  • ✓LicenseLGPL-3.0-onlyFree

Kube Utils, answered

Generated from the mod’s own source data.

Do my players need to install Kube Utils?

Modrinth lists Kube Utils as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge and NeoForge.

Is it free?

Yes. Kube Utils is free to download from Modrinth. Its license is LGPL-3.0-only.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Kube Utils on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Kube Utils in one click.