This commit is contained in:
Henry Mao 2012-12-09 21:48:25 +08:00
parent 8767ddda66
commit 62e8be5aaf
3 changed files with 10 additions and 1 deletions

View file

@ -1 +1 @@
13
14

View file

@ -11,3 +11,4 @@ Minecraft 1.3.2
Minecraft 1.4.2
@ AssemblyLine_v0.1.3.11.jar AssemblyLine_v0.1.3.11_api.zip
* AssemblyLine_v0.1.3.13.jar AssemblyLine_v0.1.3.13_api.zip
* AssemblyLine_v0.1.4.14.jar AssemblyLine_v0.1.4.14_api.zip

View file

@ -1,6 +1,7 @@
package assemblyline.machine.belt;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import net.minecraft.src.AxisAlignedBB;
@ -13,6 +14,7 @@ import net.minecraft.src.Packet250CustomPayload;
import net.minecraft.src.TileEntity;
import net.minecraftforge.common.ForgeDirection;
import universalelectricity.core.electricity.ElectricInfo;
import universalelectricity.core.electricity.ElectricityConnections;
import universalelectricity.core.implement.IConductor;
import universalelectricity.core.vector.Vector3;
import universalelectricity.prefab.network.IPacketReceiver;
@ -46,6 +48,12 @@ public class TileEntityConveyorBelt extends TileEntityElectricityReceiver implem
public int powerTransferRange = 0;
public List<Entity> entityIgnoreList = new ArrayList<Entity>();
public TileEntityConveyorBelt()
{
super();
ElectricityConnections.registerConnector(this, EnumSet.of(ForgeDirection.DOWN));
}
/**
* Steal power from nearby belts.
*