2015-11-02 20:39:44 +00:00
|
|
|
package WayofTime.bloodmagic.proxy;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
2018-03-04 17:17:23 +00:00
|
|
|
import WayofTime.bloodmagic.ritual.CapabilityRuneType;
|
|
|
|
import WayofTime.bloodmagic.ritual.IRitualStone;
|
2018-02-16 02:49:01 +00:00
|
|
|
import WayofTime.bloodmagic.teleport.TeleportQueue;
|
2017-08-16 04:30:48 +00:00
|
|
|
import com.google.common.collect.ImmutableMap;
|
2016-05-05 11:59:08 +00:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
2016-09-14 12:47:46 +00:00
|
|
|
import net.minecraft.util.ResourceLocation;
|
2016-05-05 11:59:08 +00:00
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
2016-09-14 12:47:46 +00:00
|
|
|
import net.minecraftforge.common.animation.ITimeValue;
|
2016-05-05 11:59:08 +00:00
|
|
|
import net.minecraftforge.common.capabilities.CapabilityManager;
|
2016-09-14 12:47:46 +00:00
|
|
|
import net.minecraftforge.common.model.animation.IAnimationStateMachine;
|
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public class CommonProxy {
|
|
|
|
public void preInit() {
|
2016-02-18 16:25:11 +00:00
|
|
|
MinecraftForge.EVENT_BUS.register(TeleportQueue.getInstance());
|
2016-01-08 19:56:36 +00:00
|
|
|
registerRenderers();
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|
|
|
|
|
2017-08-16 04:30:48 +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
|
|
|
}
|
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public void postInit() {
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
}
|
2016-01-08 19:56:36 +00:00
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public void registerRenderers() {
|
2016-01-08 19:56:36 +00:00
|
|
|
|
|
|
|
}
|
2016-01-15 20:06:03 +00:00
|
|
|
|
2017-08-16 04:30:48 +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) {
|
2016-01-15 20:06:03 +00:00
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return null;
|
|
|
|
}
|
2016-03-16 05:48:01 +00:00
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public void tryHandleBlockModel(Block block, String name) {
|
2016-03-16 05:48:01 +00:00
|
|
|
// NO-OP
|
|
|
|
}
|
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public void tryHandleItemModel(Item item, String name) {
|
2016-03-16 05:48:01 +00:00
|
|
|
// NO-OP
|
|
|
|
}
|
2016-09-14 12:47:46 +00:00
|
|
|
|
2017-08-16 04:30:48 +00:00
|
|
|
public IAnimationStateMachine load(ResourceLocation location, ImmutableMap<String, ITimeValue> parameters) {
|
2016-09-14 12:47:46 +00:00
|
|
|
return null;
|
|
|
|
}
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|