Power system re-write, recipe fixes.
Please note that this version breaks all wires placed in worlds before.
This commit is contained in:
parent
25c581e129
commit
d982cc4028
33 changed files with 507 additions and 859 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue