Package net.minecraft.src

Examples of net.minecraft.src.WorldInfo


      } else if (value instanceof Integer) {
         nbt.setInteger(key, (Integer) value);
      } else if (value instanceof Long) {
         nbt.setLong(key, (Long) value);
      }
      WorldInfo info = new WorldInfo(nbt);
      try {
         Field fields[] = net.minecraft.src.World.class.getDeclaredFields();
         for (Field field : fields) {
            field.setAccessible(true);
            if (field.get(this.world) instanceof WorldInfo) {
View Full Code Here


  public UUID getUID() {
    return null;
  }

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

TOP

Related Classes of net.minecraft.src.WorldInfo

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.