Wiki 9Minecraft Wiki 9Minecraft

KubeLoader Mod FAQ

10 questions players actually ask, answered.

How do I start making my first content pack?
Create a folder in your game directory with your pack's name, then add subfolders for `kubejs/scripts`, `assets`, and `data` depending on what you need. Place your script files, textures, and data files in the appropriate folders, then launch the game—KubeLoader will automatically detect and load your pack.
What's the difference between putting scripts in a content pack vs loose in the kubejs folder?
Loose scripts load globally and can conflict with other packs, while content pack scripts are namespaced and load in a controlled order. Packs also bundle assets and data files together, making them portable and shareable as single units.
Can I load a content pack from a ZIP file or does it have to be a folder?
KubeLoader supports loading from folders, ZIP archives, and compiled JAR files, so you can use whichever format works best for distribution or organization.
How do I check if my content pack actually loaded?
Type `/kl pack` in chat to see a list of all active content packs and verify your pack appears with the correct name and status.
My scripts aren't running even though the pack shows as loaded—what's wrong?
Check that your script files are in the correct subfolder structure (`kubejs/scripts`), use the right file extension (`.js`), and verify there are no syntax errors in your code. Use `/kl pack` to confirm the pack loaded, then check the game log for error messages.
How do I make sure my packs load in the right order when they depend on each other?
KubeLoader automatically organizes dependencies, but you can explicitly define load order in your pack configuration or use the dependency organization system described in the mod's guides to ensure scripts from one pack run before another.
Can two different content packs add recipes for the same item without conflicts?
Yes—KubeLoader keeps namespaces separate, so each pack's scripts and data run independently without overwriting each other, even if they modify the same items.
What custom game events does KubeLoader add that I can use in scripts?
KubeLoader adds extra events beyond standard KubeJS to give you deeper control over game mechanics; check the mod's guides on custom game events to see the full list and how to hook into them in your scripts.
Can I export my content pack as a JAR file to share with others?
Yes, KubeLoader lets you compile and export your content pack as a JAR file, making it easy to distribute as a single file that players can drop directly into their game directory.
Does KubeLoader work with other KubeJS addons and mods?
KubeLoader is built on top of KubeJS and works alongside other KubeJS addons, but if you experience conflicts, check the mod logs and verify that your pack's scripts don't override critical functionality from other mods.