Power system re-write, recipe fixes.

Please note that this version breaks all wires placed in worlds before.
This commit is contained in:
Dragon2488 2016-07-18 11:57:52 +07:00
parent 25c581e129
commit d982cc4028
33 changed files with 507 additions and 859 deletions

View file

@ -4,12 +4,10 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.MobEffects;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.Item;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import techreborn.init.ModItems;
import techreborn.power.PowerTickEvent;
public class TRTickHandler
{
@ -32,14 +30,4 @@ public class TRTickHandler
previouslyWearing = chestslot;
}
@SubscribeEvent
public void worldTick(TickEvent.WorldTickEvent e)
{
if (e.world.isRemote)
{
return;
}
MinecraftForge.EVENT_BUS.post(new PowerTickEvent());
}
}