Variants data value overrides setColorized.
Magi1053 opened this issue ยท 1 comments
Doesn't work
var ores = metal.registerParts(metal_ores[i]);
for i, ore in ores {
ore.setColorized(false);
var oreData = ore.getData();
oreData.addDataValue("variants", "minecraft:stone");
oreData.addDataValue("hardness", "3");
oreData.addDataValue("resistance", "15");
oreData.addDataValue("harvestTool", "pickaxe");
oreData.addDataValue("harvestLevel", "2");
}
Works
var ores = metal.registerParts(metal_ores[i]);
for i, ore in ores {
ore.setColorized(false);
}