Mineuniverse
Log in Register
Mods

KubePackages

Package manager for KubeJS
by ZZZank
Download Claim this project
1,172 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library KubeJS

KubePackages

Package manager for KubeJS.

KubePackages introduces the concept of "package" for KubeJS, redefining how scripts are distributed. It allows scripts to be encapsulated like modules, loaded like resource packs, and distributed like mods.

This page provides a brief introduction to the core feature of KubePackages: the KubePackage. For more detailed explanations and tutorials, please refer to:

WIKI

KubePackage (Yes, without the 's')

To support package management, distribution, and dependency management, KubePackages introduces "KubePackage" as the carrier for the "package" concept. It provides a complete loading framework, enabling developers to build, integrate, and publish KubeJS functionalities in a modular way. This resolves the issue of flattened script loading, namespace pollution, and tight coupling between scripts.

Did you know that: Rhino's handling of variable scopes has always been quite peculiar. Combined with KubeJS's flattened script loading, declaring variables with same name can easily lead to hard-to-find bugs.

KubePackage is not just a container for script files, but can also provide assets and data resources. Combined with metadata with dependency info, KubePackage goes a step further than resource packs and data packs.

With KubePackage, developers can do more than just writing scripts and inadvertently reinventing the wheel. Instead, they can leverage reusable modules to improve development QoL. You can:

  • Write scripts like developing mods: KubePackage provides independent dependency management and script scope.
  • Load functionalities like installing mods: Using the JS binding named KubePackages, you can easily check if specific packages exist, integrate packages developed by others, communicate data between packages, and quickly build complex projects.
  • Share your work like publishing mods: Export packages effortlessly as .jar files, .zip files, or directories, and publish them directly as mods on CurseForge or Modrinth.

KubePackages aims to become the standard package management system for the KubeJS ecosystem and provide a unified standard for the entire community.

KubePackages-1.20.1-1.0.0.jar
MC Client, 1.20.1, Forge, Server
Release 2025-08-27 Get

More from ZZZank

Open In Inventory
9,161
KubeJEI
844
DataStructium
78,326
JEI Area Fixer
768,276
HUD Config Proxy
487
Logic Chips
413,232

You Might Also Like

Theurgy KubeJS
Theurgy KubeJS provides KubeJS integrations for Theurgy.
9,503,452
EntityJS
This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!
8,731,173
KubeJS TFC
KubeJS TFC integration
919,127
Forbidden Arcanus JS
Forbidden and Arcanus kubejs Compatibility
97,097
Immersive Engineering JS
kubejs compat for ie
94,624
KubeJS REI Runtime
Allows KubeJS to hide and show items from REI dynamically
89,244