Add BlockRender code

This commit is contained in:
Arcaratus 2015-07-29 14:44:14 -04:00
parent 419f532502
commit cfed9f5ab3
3 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,6 @@
package WayofTime.alchemicalWizardry;
import WayofTime.alchemicalWizardry.client.BlockRenderer;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraftforge.fml.common.registry.GameRegistry;
@ -171,6 +172,8 @@ public class ModBlocks
GameRegistry.registerBlock(block, unlocalizedName);
}
BlockRenderer.registerBlock(block);
return block;
}
@ -191,6 +194,8 @@ public class ModBlocks
GameRegistry.registerBlock(block, itemBlockClass, unlocalizedName);
}
BlockRenderer.registerBlock(block);
return block;
}
}