Ability to redye elevator blocks
MurphysChaos opened this issue ยท 3 comments
It would be nice to be able to repurpose an elevator with a new dye. The following code works in 1.11.2 but doesn't work in 1.12 due to the new .json format recipes. The code must be inserted into ModCrafting.java inside the existing for loop.
for (EnumDyeColor elevatorColor : EnumDyeColor.values()) {
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.elevators.get(color)),
new ItemStack(ModItems.elevators.get(elevatorColor)),
// Wool, glass, and clay use the damage color
new ItemStack(Items.DYE, 1, color.getDyeDamage())
);
}