Skip to content

Commit

Permalink
Should of added this before.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander committed Apr 8, 2015
1 parent bb20f6d commit 406630a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mantle/client/ModelVariant.java
Expand Up @@ -38,6 +38,14 @@ public void registerItemRenderer(Block block, Collection<BlockVariant> variants)
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);
Expand Down

0 comments on commit 406630a

Please sign in to comment.