2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.proxy;
|
2015-10-29 20:22:14 -07:00
|
|
|
|
2016-02-24 01:52:52 +08:00
|
|
|
import WayofTime.bloodmagic.api.ritual.CapabilityRuneType;
|
|
|
|
import WayofTime.bloodmagic.api.ritual.IRitualStone;
|
2016-02-18 17:25:11 +01:00
|
|
|
import WayofTime.bloodmagic.api.teleport.TeleportQueue;
|
|
|
|
import WayofTime.bloodmagic.util.handler.EventHandler;
|
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelper;
|
2016-02-09 19:07:56 -08:00
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelperV2;
|
2016-01-15 15:06:03 -05:00
|
|
|
import net.minecraft.world.World;
|
2016-01-03 15:39:59 -05:00
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
2016-02-24 01:52:52 +08:00
|
|
|
import net.minecraftforge.common.capabilities.CapabilityManager;
|
2015-12-28 13:43:26 -08:00
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public class CommonProxy
|
|
|
|
{
|
2016-02-09 19:07:56 -08:00
|
|
|
@Deprecated
|
2015-12-30 15:34:40 -05:00
|
|
|
public InventoryRenderHelper getRenderHelper()
|
|
|
|
{
|
2015-12-28 13:43:26 -08:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2016-02-09 19:07:56 -08:00
|
|
|
public InventoryRenderHelperV2 getRenderHelperV2()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public void preInit()
|
|
|
|
{
|
2016-01-09 22:05:03 -08:00
|
|
|
MinecraftForge.EVENT_BUS.register(new EventHandler());
|
2016-02-18 17:25:11 +01:00
|
|
|
MinecraftForge.EVENT_BUS.register(TeleportQueue.getInstance());
|
2016-01-08 14:56:36 -05:00
|
|
|
registerRenderers();
|
2015-10-29 20:22:14 -07:00
|
|
|
}
|
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public void init()
|
|
|
|
{
|
2016-02-24 01:52:52 +08:00
|
|
|
CapabilityManager.INSTANCE.register(IRitualStone.Tile.class, new CapabilityRuneType.RuneTypeStorage(), new CapabilityRuneType.Factory());
|
2015-10-29 20:22:14 -07:00
|
|
|
}
|
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public void postInit()
|
|
|
|
{
|
2015-10-29 20:22:14 -07:00
|
|
|
|
|
|
|
}
|
2016-01-08 14:56:36 -05:00
|
|
|
|
|
|
|
public void registerRenderers()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2016-01-15 15:06:03 -05:00
|
|
|
|
|
|
|
public Object beamCont(World worldObj, double xi, double yi, double zi, double tx, double ty, double tz, int type, int color, boolean reverse, float endmod, Object input, int impact)
|
|
|
|
{
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
2015-10-29 20:22:14 -07:00
|
|
|
}
|