Fixed a few bugs, more rendering changes

This commit is contained in:
StevenRS11
2013-08-22 16:04:08 -04:00
parent c7ddff97b2
commit 758f5e5062
6 changed files with 44 additions and 27 deletions

View File

@@ -55,6 +55,8 @@ public class TileEntityRift extends TileEntity
}
public void clearBlocksOnRift()
{
System.out.println(this.worldObj.getBlockId(xCoord, yCoord,zCoord));
for(double[] coord: this.renderingCenters.values())
{
int x = MathHelper.floor_double(coord[0]+.5);
@@ -164,6 +166,11 @@ public class TileEntityRift extends TileEntity
this.invalidate();
this.worldObj.setBlockToAir(xCoord, yCoord, zCoord);
}
if(this.worldObj.getBlockId(xCoord, yCoord, zCoord)!=mod_pocketDim.blockRift.blockID)
{
this.invalidate();
}
}
public void grow(int distance)
{