Package mantle.world

Examples of mantle.world.ChunkCoord


            int dim = world.provider.dimensionId;
            ArrayList chunks = (ArrayList) chunksToGen.get(Integer.valueOf(dim));

            if (chunks != null && chunks.size() > 0)
            {
                ChunkCoord c = (ChunkCoord) chunks.get(0);
                long worldSeed = world.getSeed();
                Random rand = new Random(worldSeed);
                long xSeed = rand.nextLong() >> 2 + 1L;
                long zSeed = rand.nextLong() >> 2 + 1L;
                rand.setSeed(xSeed * c.chunkX + zSeed * c.chunkZ ^ worldSeed);
View Full Code Here


        if (tag != null)
        {
            features = tag.getLong("Features") != genHash && Natura.retrogen;
        }
        ChunkCoord cCoord = new ChunkCoord(event.getChunk());

        if (tag == null && (Natura.retrogen) && !event.getData().getBoolean("Natura.Retrogen"))
        {
            regen = true;
        }
View Full Code Here

TOP

Related Classes of mantle.world.ChunkCoord

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.