UtilJS
UtilJS extends KubeJS functionality with a range of practical utilities that enhance script writing efficiency. The mod provides the Assert class to simplify checks and implements integration with Minecraft's Executor.
An interesting feature is the borrowing of concepts from the Kotlin language. UtilJS implements fully safe methods such as runCatching, let, also, and others that help avoid common code errors.
The mod also extends standard classes with a wrap method, allowing convenient calling of let, also, and similar functions - just like in Kotlin.
For more detailed information, it's recommended to refer to the wiki.
 
                