Transporters first try to send the item back home before idling

This commit is contained in:
Aidan Brady committed 2013-11-09 15:30:30 -05:00
1 parent 5a08cb1b90
commit dfd2985357
7 files changed
+312 -104

No files matched your search

+3 -1
View File
@@ -57,12 +57,14 @@ public class Object3D
return world.getBlockTileEntity(xCoord, yCoord, zCoord);
}
public void write(NBTTagCompound nbtTags)
public NBTTagCompound write(NBTTagCompound nbtTags)
{
nbtTags.setInteger("x", xCoord);
nbtTags.setInteger("y", yCoord);
nbtTags.setInteger("z", zCoord);
nbtTags.setInteger("dimensionId", dimensionId);
return nbtTags;
}
public void write(ArrayList data)