KubeJS Tweaks
📰 Introduction
This is an addon for KubeJS to abstract some common usage of KubeJS for heavly modded modpacks.
This also includes some fixes of KubeJS when needed (only applied at specific versions).
📦 Installation
Mod is available on CurseForge.
🔧 Features
You can find examples here.
New schema component:
- Codec
New Events:
- Register Custom Codec
- No Op (use to disable recipes, loot tables, features etc before they are parsed)
Others:
- global.jeiRuntime is back
- KJSTweaks.readJsonFromMod(mod, path) that reads original json (useful for manipulations at datagen event)
- Backport Java.cast
Hot Fix Kubejs issues for 2101.7.1-build.181:
- Failed to encode packet 'clientbound/minecraft:update_recipes' Caused by: io.netty.handler.codec.EncoderException: Empty ItemStack not allowed
- Dont freeze my pc anymore please thanks
- EitherRecipeComponent unconditionally fails validation due to incorrect usage of Optional
- Fixed enum component requiring two >
- Fixed Registry Component
- Fixed Registry Scanner
- Fixed Registry Scanner again
- event.creatCustom seem broken
- Kubedex disconnects player when ItemStack empty
- Rhino tries to convert a param that is T without any boundry and fails
- The attribute effects granted by mob_effect require multiple applications to activate.
- IndexOutOfBoundsException on Rhino 77
- Can't find method on unbound generic method
🤝 Contributing
If you find yourself using too much cursed stuff with Rhino or KubeJS itself that could be abstracted, feel free to suggest as a feature.
📝 License
This project is licensed under the MIT License.
📬 Contact
You can reach me on All The Mods Discord with @Uncandango, you can also open your issue on Github or comment on the mod comment's section on CurseForge.
👍 Sponsors
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.
Installation von KubeJS Tweaks
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.21.1 on NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file kubejstweaks-1.0.6.jar (412 KB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: KubeJS Tweaks should be in the list.
Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.
Versionen
Mit Abhängigkeiten
| Minecraft | Loader | Datei | Datum | Aktionen |
|---|---|---|---|---|
| 1.21.1 | NeoForge | kubejstweaks-1.0.6.jar412 KB 5 |
Bewertungen
Bewerten Sie KubeJS Tweaks als Erster

