2015-11-02 20:39:44 +00:00
|
|
|
package WayofTime.bloodmagic.proxy;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
2016-05-05 11:59:08 +00:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
|
|
import net.minecraftforge.common.capabilities.CapabilityManager;
|
|
|
|
import net.minecraftforge.fml.common.registry.GameRegistry;
|
2016-02-23 17:52:52 +00:00
|
|
|
import WayofTime.bloodmagic.api.ritual.CapabilityRuneType;
|
|
|
|
import WayofTime.bloodmagic.api.ritual.IRitualStone;
|
2016-02-18 16:25:11 +00:00
|
|
|
import WayofTime.bloodmagic.api.teleport.TeleportQueue;
|
2016-05-05 11:59:08 +00:00
|
|
|
import WayofTime.bloodmagic.fuel.FuelHandler;
|
2016-02-18 16:25:11 +00:00
|
|
|
import WayofTime.bloodmagic.util.handler.EventHandler;
|
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelper;
|
2016-02-10 03:07:56 +00:00
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelperV2;
|
2015-12-28 21:43:26 +00:00
|
|
|
|
2015-12-30 20:34:40 +00:00
|
|
|
public class CommonProxy
|
|
|
|
{
|
2016-02-10 03:07:56 +00:00
|
|
|
@Deprecated
|
2015-12-30 20:34:40 +00:00
|
|
|
public InventoryRenderHelper getRenderHelper()
|
|
|
|
{
|
2015-12-28 21:43:26 +00:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2016-02-10 03:07:56 +00:00
|
|
|
public InventoryRenderHelperV2 getRenderHelperV2()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2015-12-30 20:34:40 +00:00
|
|
|
public void preInit()
|
|
|
|
{
|
2016-01-10 06:05:03 +00:00
|
|
|
MinecraftForge.EVENT_BUS.register(new EventHandler());
|
2016-02-18 16:25:11 +00:00
|
|
|
MinecraftForge.EVENT_BUS.register(TeleportQueue.getInstance());
|
2016-05-05 11:59:08 +00:00
|
|
|
GameRegistry.registerFuelHandler(new FuelHandler());
|
2016-01-08 19:56:36 +00:00
|
|
|
registerRenderers();
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|
|
|
|
|
2015-12-30 20:34:40 +00:00
|
|
|
public void init()
|
|
|
|
{
|
2016-03-16 22:41:06 +00:00
|
|
|
CapabilityManager.INSTANCE.register(IRitualStone.Tile.class, new CapabilityRuneType.RuneTypeStorage(), new CapabilityRuneType.Factory());
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|
|
|
|
|
2015-12-30 20:34:40 +00:00
|
|
|
public void postInit()
|
|
|
|
{
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
}
|
2016-01-08 19:56:36 +00:00
|
|
|
|
|
|
|
public void registerRenderers()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2016-01-15 20:06:03 +00: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;
|
|
|
|
}
|
2016-03-16 05:48:01 +00:00
|
|
|
|
2016-03-16 22:41:06 +00:00
|
|
|
public void tryHandleBlockModel(Block block, String name)
|
|
|
|
{
|
2016-03-16 05:48:01 +00:00
|
|
|
// NO-OP
|
|
|
|
}
|
|
|
|
|
2016-03-16 22:41:06 +00:00
|
|
|
public void tryHandleItemModel(Item item, String name)
|
|
|
|
{
|
2016-03-16 05:48:01 +00:00
|
|
|
// NO-OP
|
|
|
|
}
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|