Added mod files
This commit is contained in:
8
overrides/kubejs/startup_scripts/schema.js
Normal file
8
overrides/kubejs/startup_scripts/schema.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const RecipeSchema = Java.loadClass("dev.latvian.mods.kubejs.recipe.schema.RecipeSchema");
|
||||
|
||||
StartupEvents.recipeSchemaRegistry(event => {
|
||||
// Kubejs Thermal does some weird stuff that makes it impossible to create certain thermal recipes (like arboreal extractor recipes)
|
||||
|
||||
// We can stop kubejs thermal from mangling with tree extractor recipes by overwriting the tree extractor recipe schema with a blank one
|
||||
event.register("thermal:tree_extractor", new RecipeSchema());
|
||||
});
|
||||
Reference in New Issue
Block a user