Of course, the issue isn't on Minecraft's end, it has to do with Coord4D hashing. Coord4D no longer extends BlockPos to prevent hash issues

This commit is contained in:
aidancbrady committed 2016-05-09 21:07:18 -04:00
1 parent c6f3c162f9
commit ddfe83c495
70 files changed
+458 -1032

No files matched your search

@@ -32,7 +32,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
if(!worldObj.isRemote)
{
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.getY())
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.yCoord)
{
if(structure.steamStored != null && structure.steamStored.amount > 0)
{
@@ -63,7 +63,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
{
if((!worldObj.isRemote && structure != null) || (worldObj.isRemote && clientHasStructure))
{
if(structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.getY())
if(structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.yCoord)
{
return new FluidTankInfo[] {steamTank.getInfo()};
}
@@ -78,7 +78,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
@Override
public int fill(EnumFacing from, FluidStack resource, boolean doFill)
{
if(structure != null && structure.upperRenderLocation != null && getPos().getY() < structure.upperRenderLocation.getY())
if(structure != null && structure.upperRenderLocation != null && getPos().getY() < structure.upperRenderLocation.yCoord)
{
return waterTank.fill(resource, doFill);
}
@@ -89,7 +89,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
@Override
public FluidStack drain(EnumFacing from, FluidStack resource, boolean doDrain)
{
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.getY())
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.yCoord)
{
if(structure.steamStored != null)
{
@@ -106,7 +106,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
@Override
public FluidStack drain(EnumFacing from, int maxDrain, boolean doDrain)
{
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.getY())
if(structure != null && structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.yCoord)
{
return steamTank.drain(maxDrain, doDrain);
}
@@ -119,7 +119,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
{
if((!worldObj.isRemote && structure != null) || (worldObj.isRemote && clientHasStructure))
{
return structure.upperRenderLocation != null && getPos().getY() < structure.upperRenderLocation.getY();
return structure.upperRenderLocation != null && getPos().getY() < structure.upperRenderLocation.yCoord;
}
return false;
@@ -130,7 +130,7 @@ public class TileEntityBoilerValve extends TileEntityBoilerCasing implements IFl
{
if((!worldObj.isRemote && structure != null) || (worldObj.isRemote && clientHasStructure))
{
return structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.getY();
return structure.upperRenderLocation != null && getPos().getY() >= structure.upperRenderLocation.yCoord;
}
return false;