Package net.minecraft.server

Examples of net.minecraft.server.ChunkPosition


  public static boolean isCoord(Object chunkCoordinates) {
    return chunkCoordinates instanceof ChunkCoordinates;
  }

  public static Object newPosition(int x, int y, int z) {
    return new ChunkPosition(x, y, z);
  }
View Full Code Here


  public static Object newPosition(int x, int y, int z) {
    return new ChunkPosition(x, y, z);
  }

  public static IntVector3 getPosition(Object chunkPosition) {
    ChunkPosition position = (ChunkPosition) chunkPosition;
    return new IntVector3(position.x, position.y, position.z);
  }
View Full Code Here

TOP

Related Classes of net.minecraft.server.ChunkPosition

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.