mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-24 22:04:33 +00:00
Should of added this before.
This commit is contained in:
1 parent
bb20f6d4c6
commit
406630ac8e
1 file changed
+8
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user