if (existingScreen)
{
return this.checkWholeScreen(barrierUp, barrierDown, barrierLeft, barrierRight);
}
DrawGameScreen newScreen = null;
boolean serverside = true;
TileEntity bottomLeft = vec.clone().modifyPositionFromSide(ForgeDirection.getOrientation(side), -left).modifyPositionFromSide(ForgeDirection.DOWN, down).getTileEntity(this.worldObj);
if (FMLCommonHandler.instance().getEffectiveSide().isClient())
{
if (bottomLeft instanceof TileEntityScreen) //It always will be if reached this far
{
newScreen = new DrawGameScreen(1.0F + left + right, 1.0F + up + down, bottomLeft);
}
serverside = false;
}
Iterator<TileEntityScreen> it = screenList.iterator();