2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.proxy;
|
2015-10-29 20:22:14 -07:00
|
|
|
|
2016-05-05 07:59:08 -04:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
2016-09-14 08:47:46 -04:00
|
|
|
import net.minecraft.util.ResourceLocation;
|
2016-05-05 07:59:08 -04:00
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
2016-09-14 08:47:46 -04:00
|
|
|
import net.minecraftforge.common.animation.ITimeValue;
|
2016-05-05 07:59:08 -04:00
|
|
|
import net.minecraftforge.common.capabilities.CapabilityManager;
|
2016-09-14 08:47:46 -04:00
|
|
|
import net.minecraftforge.common.model.animation.IAnimationStateMachine;
|
2016-05-05 07:59:08 -04:00
|
|
|
import net.minecraftforge.fml.common.registry.GameRegistry;
|
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;
|
2016-05-05 07:59:08 -04:00
|
|
|
import WayofTime.bloodmagic.fuel.FuelHandler;
|
2016-02-18 17:25:11 +01:00
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelper;
|
2016-02-09 19:07:56 -08:00
|
|
|
import WayofTime.bloodmagic.util.helper.InventoryRenderHelperV2;
|
2015-12-28 13:43:26 -08:00
|
|
|
|
2016-09-14 08:47:46 -04:00
|
|
|
import com.google.common.collect.ImmutableMap;
|
|
|
|
|
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-02-18 17:25:11 +01:00
|
|
|
MinecraftForge.EVENT_BUS.register(TeleportQueue.getInstance());
|
2016-05-05 07:59:08 -04:00
|
|
|
GameRegistry.registerFuelHandler(new FuelHandler());
|
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-03-16 18:41:06 -04: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;
|
|
|
|
}
|
2016-03-15 22:48:01 -07:00
|
|
|
|
2016-03-16 18:41:06 -04:00
|
|
|
public void tryHandleBlockModel(Block block, String name)
|
|
|
|
{
|
2016-03-15 22:48:01 -07:00
|
|
|
// NO-OP
|
|
|
|
}
|
|
|
|
|
2016-03-16 18:41:06 -04:00
|
|
|
public void tryHandleItemModel(Item item, String name)
|
|
|
|
{
|
2016-03-15 22:48:01 -07:00
|
|
|
// NO-OP
|
|
|
|
}
|
2016-09-14 08:47:46 -04:00
|
|
|
|
|
|
|
public IAnimationStateMachine load(ResourceLocation location, ImmutableMap<String, ITimeValue> parameters)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
2015-10-29 20:22:14 -07:00
|
|
|
}
|