예제 #1
0
        public void PopulateChunk(IWorld world, ChunkColumnStorage chunk, int x, int z, GeneratorSettings settings)
        {
            int   blockX     = x * 16;
            int   blockZ     = z * 16;
            Biome chunkBiome = Biome.GetBiome(chunk.Biomes[7 * 16 + 7], settings);

            chunkBiome.Decorate(world, GrainFactory, chunk, _random, new BlockWorldPos {
                X = blockX, Y = 0, Z = blockZ
            });
        }