ContentTweaker

ContentTweaker

27M Downloads

Variants data value overrides setColorized.

Magi1053 opened this issue ยท 1 comments

commented

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);
}
commented

Fixed for next release