private void forceLoading() { if (!forceLoad) { if (ChromaOptions.PYLONLOAD.getState()) { forceLoad = true; ChunkManager.instance.loadChunks(this); } } }
@Override protected void onFirstTick(World world, int x, int y, int z) { super.onFirstTick(world, x, y, z); PylonGenerator.instance.cachePylon(this); if (ChromaOptions.PYLONLOAD.getState()) { if (forceLoad) { ChunkManager.instance.loadChunks(this); } } else { forceLoad = false; ChunkManager.instance.unloadChunks(this); } if (ModList.THAUMCRAFT.isLoaded() && nodeCache != null) { ArrayList li = new ArrayList(); li.add(world.provider.dimensionId); li.add(x); li.add(y); li.add(z); nodeCache.put(this.getId(), li); } }