Version 6.1

This commit is contained in:
2026-03-11 20:35:54 +00:00
parent ae347c924e
commit 5c80dd401d
93 changed files with 749 additions and 298 deletions
@@ -196,6 +196,10 @@ KubeJSTweaks.beforeRecipes(event => {
entry.replaceValueAtKey("ingredients", "tag", "c:glass", "c:glass_blocks/colorless")
})
event.getEntry("regions_unexplored:prismaglass").forEach(entry => {
entry.replaceValueAtKey("key", "tag", "c:glass", "c:glass_blocks/colorless")
})
event.getEntry(/^regions_unexplored:.*_snowbelle$/)
.forEach(entry => {
let ings = entry.json().get("ingredients")
@@ -212,5 +216,26 @@ KubeJSTweaks.beforeRecipes(event => {
}
})
event.getEntry(/^regions_unexplored:.*_painted_planks$/)
.forEach(entry => {
let keys = entry.json().get("key")
if (keys != null) {
for (let key of keys.asMap().values()) {
let tag = key.get("tag")
if (tag != null) {
if (tag.getAsString().endsWith("_dyes")) {
let color = tag.getAsString().replace("c:","").replace("_dyes","")
key["addProperty(java.lang.String,java.lang.String)"]("tag", "c:dyes/" + color)
}
}
}
}
})
event.getEntry(["pneumaticcraft:block_heat_properties/createlowheated/basic_burner_empowered","pneumaticcraft:block_heat_properties/createlowheated/basic_burner_lit"])
.forEach(entry => {
entry.json().add("neoforge:conditions", [{ "type": "neoforge:mod_loaded", "modid": "createlowheated"}])
})
console.log(`Fixing recipes took ${timer.stop().elapsed("milliseconds")} ms...`)
})