mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Update mappings to 20170616
This commit is contained in:
1 parent
2eabbe4b38
commit
a13ce7910d
193 files changed
+795
-802
No files matched your search
@@ -39,7 +39,7 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
{
|
||||
World world = pointer.getWorld();
|
||||
|
||||
int origX = coord.xCoord, origY = coord.yCoord, origZ = coord.zCoord;
|
||||
int origX = coord.x, origY = coord.y, origZ = coord.z;
|
||||
|
||||
boolean isCorner = true;
|
||||
boolean isHollow = true;
|
||||
@@ -242,27 +242,27 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
|
||||
public EnumFacing getSide(Coord4D obj, int xmin, int xmax, int ymin, int ymax, int zmin, int zmax)
|
||||
{
|
||||
if(obj.xCoord == xmin)
|
||||
if(obj.x == xmin)
|
||||
{
|
||||
return EnumFacing.WEST;
|
||||
}
|
||||
else if(obj.xCoord == xmax)
|
||||
else if(obj.x == xmax)
|
||||
{
|
||||
return EnumFacing.EAST;
|
||||
}
|
||||
else if(obj.yCoord == ymin)
|
||||
else if(obj.y == ymin)
|
||||
{
|
||||
return EnumFacing.DOWN;
|
||||
}
|
||||
else if(obj.yCoord == ymax)
|
||||
else if(obj.y == ymax)
|
||||
{
|
||||
return EnumFacing.UP;
|
||||
}
|
||||
else if(obj.zCoord == zmin)
|
||||
else if(obj.z == zmin)
|
||||
{
|
||||
return EnumFacing.NORTH;
|
||||
}
|
||||
else if(obj.zCoord == zmax)
|
||||
else if(obj.z == zmax)
|
||||
{
|
||||
return EnumFacing.SOUTH;
|
||||
}
|
||||
@@ -355,7 +355,7 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
*/
|
||||
private boolean isCorrectCorner(Coord4D obj, int xmin, int ymin, int zmin)
|
||||
{
|
||||
if(obj.xCoord == xmin && obj.yCoord == ymin && obj.zCoord == zmin)
|
||||
if(obj.x == xmin && obj.y == ymin && obj.z == zmin)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -376,31 +376,31 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
*/
|
||||
private boolean isFrame(Coord4D obj, int xmin, int xmax, int ymin, int ymax, int zmin, int zmax)
|
||||
{
|
||||
if(obj.xCoord == xmin && obj.yCoord == ymin)
|
||||
if(obj.x == xmin && obj.y == ymin)
|
||||
return true;
|
||||
if(obj.xCoord == xmax && obj.yCoord == ymin)
|
||||
if(obj.x == xmax && obj.y == ymin)
|
||||
return true;
|
||||
if(obj.xCoord == xmin && obj.yCoord == ymax)
|
||||
if(obj.x == xmin && obj.y == ymax)
|
||||
return true;
|
||||
if(obj.xCoord == xmax && obj.yCoord == ymax)
|
||||
if(obj.x == xmax && obj.y == ymax)
|
||||
return true;
|
||||
|
||||
if(obj.xCoord == xmin && obj.zCoord == zmin)
|
||||
if(obj.x == xmin && obj.z == zmin)
|
||||
return true;
|
||||
if(obj.xCoord == xmax && obj.zCoord == zmin)
|
||||
if(obj.x == xmax && obj.z == zmin)
|
||||
return true;
|
||||
if(obj.xCoord == xmin && obj.zCoord == zmax)
|
||||
if(obj.x == xmin && obj.z == zmax)
|
||||
return true;
|
||||
if(obj.xCoord == xmax && obj.zCoord == zmax)
|
||||
if(obj.x == xmax && obj.z == zmax)
|
||||
return true;
|
||||
|
||||
if(obj.yCoord == ymin && obj.zCoord == zmin)
|
||||
if(obj.y == ymin && obj.z == zmin)
|
||||
return true;
|
||||
if(obj.yCoord == ymax && obj.zCoord == zmin)
|
||||
if(obj.y == ymax && obj.z == zmin)
|
||||
return true;
|
||||
if(obj.yCoord == ymin && obj.zCoord == zmax)
|
||||
if(obj.y == ymin && obj.z == zmax)
|
||||
return true;
|
||||
if(obj.yCoord == ymax && obj.zCoord == zmax)
|
||||
if(obj.y == ymax && obj.z == zmax)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user