/**
     * Populates chunk with ores etc etc
     */
    public void populate(IChunkProvider chunkProvider, int x, int z)
    {
        Chunk chunk = provideChunk(x, z);

        if (serverChunkGenerator != null)
        {
            serverChunkGenerator.populate(chunkProvider, x, z);
        }
    }
Exemplo n.º 2
0
        public void populate(IChunkProvider ichunkprovider, int i, int j)
        {
            Chunk chunk = provideChunk(i, j);

            if (!chunk.isTerrainPopulated)
            {
                chunk.isTerrainPopulated = true;
                if (field_730_c != null)
                {
                    field_730_c.populate(ichunkprovider, i, j);
                    chunk.setChunkModified();
                }
            }
        }