{
for (final ForgeDirection orientation : ForgeDirection.values())
{
if (orientation != ForgeDirection.UNKNOWN)
{
final Vector3 vector = new Vector3(par2, par3, par4);
Vector3 blockVec = this.modifyPositionFromSide(vector.clone(), orientation, 1);
Block connection = blockVec.getBlock(world);
if (connection != null && connection.equals(GCBlocks.airLockSeal))
{
if (orientation.offsetY == -1)
{
if (side == 0)
{
return this.airLockIcons[1];
}
else if (side == 1)
{
return this.airLockIcons[0];
}
else
{
return this.airLockIcons[2];
}
}
else if (orientation.offsetY == 1)
{
if (side == 0)
{
return this.airLockIcons[0];
}
else if (side == 1)
{
return this.airLockIcons[1];
}
else
{
return this.airLockIcons[3];
}
}
else if (orientation.ordinal() == side)
{
if (side == 0)
{
return this.airLockIcons[0];
}
else if (side == 1)
{
return this.airLockIcons[1];
}
else
{
return this.airLockIcons[3];
}
}
else if (orientation.getOpposite().ordinal() == side)
{
return this.airLockIcons[0];
}
blockVec = vector.clone().translate(new Vector3(orientation.offsetX, orientation.offsetY, orientation.offsetZ));
connection = blockVec.getBlock(world);
if (connection != null && connection.equals(GCBlocks.airLockSeal))
{
if (orientation.offsetX == 1)
{