KubeJS Tweaks
Introduction
This is an addon for KubeJS that simplifies commonly used KubeJS functions when creating modpacks with many mods. Also includes fixes for KubeJS that are applied only in specific versions.
Functionality
The mod provides several useful tools for working with KubeJS:
New schema component:
- Codec
New events:
- Register Custom Codec
- No Op (used to disable recipes, loot tables, functions and other elements before they are processed)
Additional capabilities:
- Restored
global.jeiRuntime KJSTweaks.readJsonFromMod(mod, path)- function for reading original JSON files (useful when working with data generation events)
KubeJS Issue Fixes for version 2101.7.1-build.181
The following issues have been resolved:
- Packet encoding error 'clientbound/minecraft:update_recipes' due to empty ItemStack
- Performance issues causing system freezes
- Incorrect EitherRecipeComponent validation due to improper Optional usage
- Fixed enum component requiring two
>symbols - Resolved Registry Component problems
- Registry Scanner fixes
- Issue with event.creatCustom
- Kubedex player disconnection with empty ItemStack
Development Participation
If you use complex constructions with Rhino or KubeJS that can be simplified, suggest them as new features.
Contact Information
Contact me on All The Mods Discord via @Uncandango or create an issue on GitHub.