[19.2] .ore() is broken when registering new material
Sipepper opened this issue ยท 2 comments
Hi, when I try to add a custom ore via material system, the following error appears
MIMaterialEvents.addMaterials(event => {
event.createMaterial("Vanadium", "vanadium", 0x6a6a67,
builder => {
builder
.addParts("ingot","dust","plate")
.ore({
"generate": true,
"ore_set": "iron",
"vein_size": 8,
"veins_per_chunk": 8,
"max_y": 64,
})
.defaultRecipes()
});
});
Ran into a similar issue. This is caused by not including a .rawMetal
in the builder.