KubeJS Extras: Advanced Scripting Tools for Minecraft

KubeJS Extras unlocks advanced scripting features for Minecraft, like hiding REI recipe outputs. Download KubeJS Extras today!

KubeJS Extras

If you have ever built a modpack and wished your KubeJS scripts could do just a little more, KubeJS Extras is the add-on you have been waiting for. This lightweight companion mod expands the capabilities of KubeJS, giving pack developers finer control over how recipes and items behave in-game. Originally created for the AOF4 pack, it has since become a favorite tool for modpack authors who want to push their scripting beyond the default limits.

What Does KubeJS Extras Do?

At its core, KubeJS Extras adds extra features that KubeJS alone does not provide. The most popular function is the ability to hide recipe outputs from REI (Roughly Enough Items). This means you can create secret recipes, quest rewards, or progression-gated crafting without players seeing the results in their recipe viewer before they unlock them.

Everything is controlled through KubeJS scripts, so you do not need to write a separate mod or dig into Java code. If you already know your way around KubeJS events and syntax, you will feel right at home. The mod simply exposes new methods and hooks that your scripts can call.

Key Features at a Glance

  • Hide specific recipe outputs from REI using simple KubeJS script calls
  • Integrates directly with existing KubeJS events and syntax
  • Designed for modpack developers who need granular recipe control
  • Lightweight and dependency-friendly for most modpacks
  • Open-source, with documentation available on the project's GitHub page

Supported Versions and Loaders

KubeJS Extras is built for modern Minecraft versions that use the Fabric loader. It targets the same Minecraft releases that KubeJS supports, so if your pack runs on a recent Fabric-based version, chances are this add-on will slot right in. Because it depends on KubeJS and REI, you should confirm that all three mods share a compatible Minecraft version before adding it to your pack.

For players and developers who prefer a smoother setup, the foxygame.net launcher includes KubeJS Extras in its curated add-on catalog, letting you add it to a Fabric instance without manually matching version files.

How to Install KubeJS Extras

Getting started is straightforward. Follow these steps to add the mod to your setup:

  • Make sure you have the Fabric loader installed for your target Minecraft version
  • Install KubeJS and REI first, since KubeJS Extras depends on both
  • Place the KubeJS Extras mod file into your mods folder
  • Launch the game once to generate config and script directories
  • Write your hiding logic inside a KubeJS server script

When you download KubeJS Extras, always grab the build that matches your Minecraft version. Mixing versions is the most common cause of crashes or scripts that silently fail to run.

Writing Your First Script

Once installed, you can hide a recipe output by referencing it inside a KubeJS script event. The exact syntax is documented on the GitHub page, but the general idea is to call the extras method and pass in the item or recipe identifier you want concealed. From that point, REI will no longer display the output until you decide otherwise.

This is especially useful for adventure packs where discovery matters. Instead of spoiling every craftable item in the recipe viewer, you can reveal outputs gradually as players progress through quests or unlock new ages.

Why Modpack Authors Love It

KubeJS Extras for Minecraft fills a gap that many pack developers run into: the need for control without complexity. Rather than maintaining a custom fork of another mod, you get a focused tool that does one job well. The fact that it is open-source and actively documented makes it easy to adopt and easy to troubleshoot.

If you are building a pack with hidden progression, secret recipes, or gated content, this add-on deserves a spot in your mod list. Try it alongside your existing KubeJS scripts and see how much cleaner your recipe handling becomes.

===ARTICLE===