diff --git a/src/main/java/techreborn/tiles/TileChunkLoader.java b/src/main/java/techreborn/tiles/TileChunkLoader.java index 47abf3953..dccc6a6f8 100644 --- a/src/main/java/techreborn/tiles/TileChunkLoader.java +++ b/src/main/java/techreborn/tiles/TileChunkLoader.java @@ -4,15 +4,34 @@ import ic2.api.energy.prefab.BasicSink; import ic2.api.tile.IWrenchable; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; +import techreborn.config.ConfigTechReborn; import techreborn.init.ModBlocks; import techreborn.util.Inventory; public class TileChunkLoader extends TileMachineBase implements IWrenchable{ - public int tickTime; public BasicSink energy; public Inventory inventory = new Inventory(1, "TileChunkLoader", 64); + public boolean isRunning; + public int tickTime; + + public int euTick = 32; + + public TileChunkLoader() + { + energy = new BasicSink(this, 1000, + 1); + } + + @Override + public void updateEntity() + { + super.updateEntity(); + energy.updateEntity(); + } + + @Override public boolean wrenchCanSetFacing(EntityPlayer entityPlayer, int side)