Should of added this before.

This commit is contained in:
Alexander committed 2015-04-08 00:02:15 -04:00
1 parent bb20f6d4c6
commit 406630ac8e
1 file changed
+8
+8
View File
@@ -38,6 +38,14 @@ public class ModelVariant
ModelBakery.addVariantName(Item.getItemFromBlock(block), names);
}
public void registerBlockRenderers(int meta, Block... blocks)
{
for (Block block : blocks)
{
this.registerItemRenderer(block, meta);
}
}
public void registerItemRenderer(Block block, int meta)
{
this.registerItemRenderer(Item.getItemFromBlock(block), meta);