Package org.spoutcraft.api.util

Examples of org.spoutcraft.api.util.MutableLocation


    double z = readDouble();
    float pitch = readFloat();
    float yaw = readFloat();
    long lsb = readLong();
    long msb = readLong();
    return new MutableLocation(x, y, z, yaw, pitch);
  }
View Full Code Here


    SpoutClient.getHandle().theWorld.getWorldInfo().setSpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
  }

  public Location getCompassTarget() {
    ChunkCoordinates coords = SpoutClient.getHandle().thePlayer.getBedLocation();
    return new MutableLocation(coords.posX, coords.posY, coords.posZ);
  }
View Full Code Here

    }
    return getEyeHeight();
  }

  public FixedLocation getEyeLocation() {
    return new MutableLocation(handle.posX, handle.posY + getEyeHeight(), handle.posZ);
  }
View Full Code Here

      }
    });
  }

  public Location getLocation() {
    return new MutableLocation(handle.posX,handle.posY,handle.posZ,handle.rotationYaw,handle.rotationPitch);
  }
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.util.MutableLocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.