Examples of FastLocation


Examples of org.spoutcraft.api.util.FastLocation

    return null;
  }

  public FixedLocation getSpawnLocation() {
    WorldInfo info = handle.worldInfo;
    return new FastLocation(info.getSpawnX(), info.getSpawnY(), info.getSpawnZ(), 0, 0);
  }
View Full Code Here

Examples of org.spoutcraft.api.util.FastLocation

   * Called when the block is clicked by a player. Args: x, y, z, entityPlayer
   */
  // Spout Start
  public void onBlockClicked(World var1, int var2, int var3, int var4, EntityPlayer var5) {
    if (var5 instanceof EntityPlayerSP) {
      FixedLocation location = new FastLocation(var2, var3, var4, 0, 0);
      ((EntityPlayerSP)var5).lastClickLocation = location;
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.