Package com.khorn.terraincontrol.customobjects

Examples of com.khorn.terraincontrol.customobjects.CustomObjectStructure


        int currentChunkZ = chunkCoord.getChunkZ();
        for (int searchChunkX = currentChunkX - searchRadius; searchChunkX < currentChunkX + searchRadius; searchChunkX++)
        {
            for (int searchChunkZ = currentChunkZ - searchRadius; searchChunkZ < currentChunkZ + searchRadius; searchChunkZ++)
            {
                CustomObjectStructure structureStart = world.getStructureCache().getStructureStart(searchChunkX, searchChunkZ);
                if (structureStart != null)
                {
                    structureStart.spawnForChunk(chunkCoord);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.khorn.terraincontrol.customobjects.CustomObjectStructure

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.