Examples of unloadChunksIfNotNearSpawn()


Examples of net.minecraft.world.gen.ChunkProviderServer.unloadChunksIfNotNearSpawn()

            worldObj.updateEntityWithOptionalForce(player, true);
          }
        }
        final Chunk chunk = world.getChunkFromBlockCoords(x, z);
        chunks.put(Pair.of(x1, z1), chunk); // save map of chunks
        providerServer.unloadChunksIfNotNearSpawn(x1, z1);
      }
    }

    // verify that chunks unloaded
    int lastloaded = 0;
View Full Code Here

Examples of net.minecraft.world.gen.ChunkProviderServer.unloadChunksIfNotNearSpawn()

    parent.currentChunkLoader = loader;
  }

  public void unloadChunksIfNotNearSpawn(int chunkX, int chunkZ) {
    final ChunkProviderServer parent = (ChunkProviderServer) _world.getChunkProvider();
    parent.unloadChunksIfNotNearSpawn(chunkX, chunkZ);
  }
/*
  @Override
  public Chunk provideChunk(int i, int j) {
    //LogHelper.info("Genesis - provide chunk @ " + i + "," + j + ", biomeId = " + _biome.biomeID);
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.