float xMax = 1;
float zMax = 1;
TileEntity te = blockAccess.getTileEntity(x, y, z);
int meta = blockAccess.getBlockMetadata(x, y, z);
if(te instanceof TileEntityPneumaticDoor) {
TileEntityPneumaticDoor door = (TileEntityPneumaticDoor)te;
float cosinus = 13 / 16F - (float)Math.sin(Math.toRadians(door.rotation)) * 13 / 16F;
float sinus = 13 / 16F - (float)Math.cos(Math.toRadians(door.rotation)) * 13 / 16F;
if(door.rightGoing) {
switch(ForgeDirection.getOrientation(meta % 6)){
case NORTH: