A few little things added to chunk loader
This commit is contained in:
parent
1826927149
commit
fc2265d0eb
1 changed files with 20 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue