Added digging stat tracker and upgrade to Living Armour. Added chat message for when the armour upgrades.
This commit is contained in:
parent
f0331b4d4d
commit
00adb96931
11 changed files with 234 additions and 24 deletions
|
@ -3,7 +3,9 @@ package WayofTime.bloodmagic.proxy;
|
|||
import net.minecraft.client.resources.model.ModelResourceLocation;
|
||||
import net.minecraftforge.client.model.ModelLoader;
|
||||
import net.minecraftforge.client.model.obj.OBJLoader;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fml.client.registry.ClientRegistry;
|
||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import WayofTime.bloodmagic.api.Constants;
|
||||
import WayofTime.bloodmagic.client.render.RenderAlchemyArray;
|
||||
import WayofTime.bloodmagic.client.render.RenderAltar;
|
||||
|
@ -11,6 +13,7 @@ import WayofTime.bloodmagic.registry.ModBlocks;
|
|||
import WayofTime.bloodmagic.registry.ModItems;
|
||||
import WayofTime.bloodmagic.tile.TileAlchemyArray;
|
||||
import WayofTime.bloodmagic.tile.TileAltar;
|
||||
import WayofTime.bloodmagic.util.handler.ClientEventHandler;
|
||||
import WayofTime.bloodmagic.util.helper.InventoryRenderHelper;
|
||||
|
||||
public class ClientProxy extends CommonProxy
|
||||
|
@ -26,6 +29,11 @@ public class ClientProxy extends CommonProxy
|
|||
@Override
|
||||
public void preInit()
|
||||
{
|
||||
super.preInit();
|
||||
Object obj = new ClientEventHandler();
|
||||
MinecraftForge.EVENT_BUS.register(obj);
|
||||
FMLCommonHandler.instance().bus().register(obj);
|
||||
|
||||
renderHelper = new InventoryRenderHelper(Constants.Mod.DOMAIN);
|
||||
|
||||
ModBlocks.initRenders();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue