A few little things added to chunk loader

This commit is contained in:
Gig 2015-04-29 13:08:07 +01:00
parent 1826927149
commit fc2265d0eb

View file

@ -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)