BiomeDecorator .java

net.minecraft.world.biome.BiomeDecorator (class): members: chunkProviderSettings, bigMushroomsPerChunk, mushroomsPerChunk, waterlilyPerChunk, clayGen.

net.minecraft.world.biomeclass496 linescommon21.5 KB

API Surface (5)

void decorate(World worldIn, Random random, BiomeGenBase biome, BlockPos p_180292_4_)
void genDecorations(BiomeGenBase biomeGenBaseIn)
void genStandardOre1(int blockCount, WorldGenerator generator, int minHeight, int maxHeight)
void genStandardOre2(int blockCount, WorldGenerator generator, int centerHeight, int spread)
void generateOres()

Fields & Constants (38)

currentWorld
randomGenerator
field_180294_c
chunkProviderSettings
clayGen
sandGen
gravelAsSandGen
dirtGen
gravelGen
graniteGen
dioriteGen
andesiteGen
coalGen
ironGen
goldGen
redstoneGen
diamondGen
lapisGen
yellowFlowerGen
mushroomBrownGen
mushroomRedGen
bigMushroomGen
reedGen
cactusGen

…and 14 more (see full source).

String literals (1)

"Already decorating"

Full Source

BiomeDecorator.java496 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.biome;
2
3
import java.util.Random;
4
import net.minecraft.block.BlockFlower;
5
import net.minecraft.block.BlockStone;
6
import net.minecraft.block.material.Material;
7
import net.minecraft.init.Blocks;
8
import net.minecraft.util.BlockPos;
9
import net.minecraft.world.World;
10
import net.minecraft.world.gen.ChunkProviderSettings;
11
import net.minecraft.world.gen.GeneratorBushFeature;
12
import net.minecraft.world.gen.feature.WorldGenAbstractTree;
13
import net.minecraft.world.gen.feature.WorldGenBigMushroom;
14
import net.minecraft.world.gen.feature.WorldGenCactus;
15
import net.minecraft.world.gen.feature.WorldGenClay;
16
import net.minecraft.world.gen.feature.WorldGenDeadBush;
17
import net.minecraft.world.gen.feature.WorldGenFlowers;
18
import net.minecraft.world.gen.feature.WorldGenLiquids;
19
import net.minecraft.world.gen.feature.WorldGenMinable;
20
import net.minecraft.world.gen.feature.WorldGenPumpkin;
21
import net.minecraft.world.gen.feature.WorldGenReed;
22
import net.minecraft.world.gen.feature.WorldGenSand;
23
import net.minecraft.world.gen.feature.WorldGenWaterlily;
24
import net.minecraft.world.gen.feature.WorldGenerator;
25
26
public class BiomeDecorator
27
{
28
    /** The world the BiomeDecorator is currently decorating */
29
    protected World currentWorld;
30
31
    /** The Biome Decorator's random number generator. */
32
    protected Random randomGenerator;
33
    protected BlockPos field_180294_c;
34
    protected ChunkProviderSettings chunkProviderSettings;
35
36
    /** The clay generator. */
37
    protected WorldGenerator clayGen = new WorldGenClay(4);
38
39
    /** The sand generator. */
40
    protected WorldGenerator sandGen = new WorldGenSand(Blocks.sand, 7);
41
42
    /** The gravel generator. */
43
    protected WorldGenerator gravelAsSandGen = new WorldGenSand(Blocks.gravel, 6);
44
45
    /** The dirt generator. */
46
    protected WorldGenerator dirtGen;
47
    protected WorldGenerator gravelGen;
48
    protected WorldGenerator graniteGen;
49
    protected WorldGenerator dioriteGen;
50
    protected WorldGenerator andesiteGen;
51
    protected WorldGenerator coalGen;
52
    protected WorldGenerator ironGen;
53
54
    /** Field that holds gold WorldGenMinable */
55
    protected WorldGenerator goldGen;
56
    protected WorldGenerator redstoneGen;
57
    protected WorldGenerator diamondGen;
58
59
    /** Field that holds Lapis WorldGenMinable */
60
    protected WorldGenerator lapisGen;
61
    protected WorldGenFlowers yellowFlowerGen = new WorldGenFlowers(Blocks.yellow_flower, BlockFlower.EnumFlowerType.DANDELION);
62
63
    /** Field that holds mushroomBrown WorldGenFlowers */
64
    protected WorldGenerator mushroomBrownGen = new GeneratorBushFeature(Blocks.brown_mushroom);
65
66
    /** Field that holds mushroomRed WorldGenFlowers */
67
    protected WorldGenerator mushroomRedGen = new GeneratorBushFeature(Blocks.red_mushroom);
68
69
    /** Field that holds big mushroom generator */
70
    protected WorldGenerator bigMushroomGen = new WorldGenBigMushroom();
71
72
    /** Field that holds WorldGenReed */
73
    protected WorldGenerator reedGen = new WorldGenReed();
74
75
    /** Field that holds WorldGenCactus */
76
    protected WorldGenerator cactusGen = new WorldGenCactus();
77
78
    /** The water lily generation! */
79
    protected WorldGenerator waterlilyGen = new WorldGenWaterlily();
80
81
    /** Amount of waterlilys per chunk. */
82
    protected int waterlilyPerChunk;
83
84
    /**
85
     * The number of trees to attempt to generate per chunk. Up to 10 in forests, none in deserts.
86
     */
87
    protected int treesPerChunk;
88
89
    /**
90
     * The number of yellow flower patches to generate per chunk. The game generates much less than this number, since
91
     * it attempts to generate them at a random altitude.
92
     */
93
    protected int flowersPerChunk = 2;
94
95
    /** The amount of tall grass to generate per chunk. */
96
    protected int grassPerChunk = 1;
97
98
    /**
99
     * The number of dead bushes to generate per chunk. Used in deserts and swamps.
100
     */
101
    protected int deadBushPerChunk;
102
103
    /**
104
     * The number of extra mushroom patches per chunk. It generates 1/4 this number in brown mushroom patches, and 1/8
105
     * this number in red mushroom patches. These mushrooms go beyond the default base number of mushrooms.
106
     */
107
    protected int mushroomsPerChunk;
108
109
    /**
110
     * The number of reeds to generate per chunk. Reeds won't generate if the randomly selected placement is unsuitable.
111
     */
112
    protected int reedsPerChunk;
113
114
    /**
115
     * The number of cactus plants to generate per chunk. Cacti only work on sand.
116
     */
117
    protected int cactiPerChunk;
118
119
    /**
120
     * The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater.
121
     */
122
    protected int sandPerChunk = 1;
123
124
    /**
125
     * The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. There
126
     * appear to be two separate fields for this.
127
     */
128
    protected int sandPerChunk2 = 3;
129
130
    /**
131
     * The number of clay patches to generate per chunk. Only generates when part of it is underwater.
132
     */
133
    protected int clayPerChunk = 1;
134
135
    /** Amount of big mushrooms per chunk */
136
    protected int bigMushroomsPerChunk;
137
138
    /** True if decorator should generate surface lava & water */
139
    public boolean generateLakes = true;
140
141
    public void decorate(World worldIn, Random random, BiomeGenBase biome, BlockPos p_180292_4_)
142
    {
143
        if (this.currentWorld != null)
144
        {
145
            throw new RuntimeException("Already decorating");
146
        }
147
        else
148
        {
149
            this.currentWorld = worldIn;
150
            String s = worldIn.getWorldInfo().getGeneratorOptions();
151
152
            if (s != null)
153
            {
154
                this.chunkProviderSettings = ChunkProviderSettings.Factory.jsonToFactory(s).func_177864_b();
155
            }
156
            else
157
            {
158
                this.chunkProviderSettings = ChunkProviderSettings.Factory.jsonToFactory("").func_177864_b();
159
            }
160
161
            this.randomGenerator = random;
162
            this.field_180294_c = p_180292_4_;
163
            this.dirtGen = new WorldGenMinable(Blocks.dirt.getDefaultState(), this.chunkProviderSettings.dirtSize);
164
            this.gravelGen = new WorldGenMinable(Blocks.gravel.getDefaultState(), this.chunkProviderSettings.gravelSize);
165
            this.graniteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.GRANITE), this.chunkProviderSettings.graniteSize);
166
            this.dioriteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.DIORITE), this.chunkProviderSettings.dioriteSize);
167
            this.andesiteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.ANDESITE), this.chunkProviderSettings.andesiteSize);
168
            this.coalGen = new WorldGenMinable(Blocks.coal_ore.getDefaultState(), this.chunkProviderSettings.coalSize);
169
            this.ironGen = new WorldGenMinable(Blocks.iron_ore.getDefaultState(), this.chunkProviderSettings.ironSize);
170
            this.goldGen = new WorldGenMinable(Blocks.gold_ore.getDefaultState(), this.chunkProviderSettings.goldSize);
171
            this.redstoneGen = new WorldGenMinable(Blocks.redstone_ore.getDefaultState(), this.chunkProviderSettings.redstoneSize);
172
            this.diamondGen = new WorldGenMinable(Blocks.diamond_ore.getDefaultState(), this.chunkProviderSettings.diamondSize);
173
            this.lapisGen = new WorldGenMinable(Blocks.lapis_ore.getDefaultState(), this.chunkProviderSettings.lapisSize);
174
            this.genDecorations(biome);
175
            this.currentWorld = null;
176
            this.randomGenerator = null;
177
        }
178
    }
179
180
    protected void genDecorations(BiomeGenBase biomeGenBaseIn)
181
    {
182
        this.generateOres();
183
184
        for (int i = 0; i < this.sandPerChunk2; ++i)
185
        {
186
            int j = this.randomGenerator.nextInt(16) + 8;
187
            int k = this.randomGenerator.nextInt(16) + 8;
188
            this.sandGen.generate(this.currentWorld, this.randomGenerator, this.currentWorld.getTopSolidOrLiquidBlock(this.field_180294_c.add(j, 0, k)));
189
        }
190
191
        for (int i1 = 0; i1 < this.clayPerChunk; ++i1)
192
        {
193
            int l1 = this.randomGenerator.nextInt(16) + 8;
194
            int i6 = this.randomGenerator.nextInt(16) + 8;
195
            this.clayGen.generate(this.currentWorld, this.randomGenerator, this.currentWorld.getTopSolidOrLiquidBlock(this.field_180294_c.add(l1, 0, i6)));
196
        }
197
198
        for (int j1 = 0; j1 < this.sandPerChunk; ++j1)
199
        {
200
            int i2 = this.randomGenerator.nextInt(16) + 8;
201
            int j6 = this.randomGenerator.nextInt(16) + 8;
202
            this.gravelAsSandGen.generate(this.currentWorld, this.randomGenerator, this.currentWorld.getTopSolidOrLiquidBlock(this.field_180294_c.add(i2, 0, j6)));
203
        }
204
205
        int k1 = this.treesPerChunk;
206
207
        if (this.randomGenerator.nextInt(10) == 0)
208
        {
209
            ++k1;
210
        }
211
212
        for (int j2 = 0; j2 < k1; ++j2)
213
        {
214
            int k6 = this.randomGenerator.nextInt(16) + 8;
215
            int l = this.randomGenerator.nextInt(16) + 8;
216
            WorldGenAbstractTree worldgenabstracttree = biomeGenBaseIn.genBigTreeChance(this.randomGenerator);
217
            worldgenabstracttree.func_175904_e();
218
            BlockPos blockpos = this.currentWorld.getHeight(this.field_180294_c.add(k6, 0, l));
219
220
            if (worldgenabstracttree.generate(this.currentWorld, this.randomGenerator, blockpos))
221
            {
222
                worldgenabstracttree.func_180711_a(this.currentWorld, this.randomGenerator, blockpos);
223
            }
224
        }
225
226
        for (int k2 = 0; k2 < this.bigMushroomsPerChunk; ++k2)
227
        {
228
            int l6 = this.randomGenerator.nextInt(16) + 8;
229
            int k10 = this.randomGenerator.nextInt(16) + 8;
230
            this.bigMushroomGen.generate(this.currentWorld, this.randomGenerator, this.currentWorld.getHeight(this.field_180294_c.add(l6, 0, k10)));
231
        }
232
233
        for (int l2 = 0; l2 < this.flowersPerChunk; ++l2)
234
        {
235
            int i7 = this.randomGenerator.nextInt(16) + 8;
236
            int l10 = this.randomGenerator.nextInt(16) + 8;
237
            int j14 = this.currentWorld.getHeight(this.field_180294_c.add(i7, 0, l10)).getY() + 32;
238
239
            if (j14 > 0)
240
            {
241
                int k17 = this.randomGenerator.nextInt(j14);
242
                BlockPos blockpos1 = this.field_180294_c.add(i7, k17, l10);
243
                BlockFlower.EnumFlowerType blockflower$enumflowertype = biomeGenBaseIn.pickRandomFlower(this.randomGenerator, blockpos1);
244
                BlockFlower blockflower = blockflower$enumflowertype.getBlockType().getBlock();
245
246
                if (blockflower.getMaterial() != Material.air)
247
                {
248
                    this.yellowFlowerGen.setGeneratedBlock(blockflower, blockflower$enumflowertype);
249
                    this.yellowFlowerGen.generate(this.currentWorld, this.randomGenerator, blockpos1);
250
                }
251
            }
252
        }
253
254
        for (int i3 = 0; i3 < this.grassPerChunk; ++i3)
255
        {
256
            int j7 = this.randomGenerator.nextInt(16) + 8;
257
            int i11 = this.randomGenerator.nextInt(16) + 8;
258
            int k14 = this.currentWorld.getHeight(this.field_180294_c.add(j7, 0, i11)).getY() * 2;
259
260
            if (k14 > 0)
261
            {
262
                int l17 = this.randomGenerator.nextInt(k14);
263
                biomeGenBaseIn.getRandomWorldGenForGrass(this.randomGenerator).generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(j7, l17, i11));
264
            }
265
        }
266
267
        for (int j3 = 0; j3 < this.deadBushPerChunk; ++j3)
268
        {
269
            int k7 = this.randomGenerator.nextInt(16) + 8;
270
            int j11 = this.randomGenerator.nextInt(16) + 8;
271
            int l14 = this.currentWorld.getHeight(this.field_180294_c.add(k7, 0, j11)).getY() * 2;
272
273
            if (l14 > 0)
274
            {
275
                int i18 = this.randomGenerator.nextInt(l14);
276
                (new WorldGenDeadBush()).generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(k7, i18, j11));
277
            }
278
        }
279
280
        for (int k3 = 0; k3 < this.waterlilyPerChunk; ++k3)
281
        {
282
            int l7 = this.randomGenerator.nextInt(16) + 8;
283
            int k11 = this.randomGenerator.nextInt(16) + 8;
284
            int i15 = this.currentWorld.getHeight(this.field_180294_c.add(l7, 0, k11)).getY() * 2;
285
286
            if (i15 > 0)
287
            {
288
                int j18 = this.randomGenerator.nextInt(i15);
289
                BlockPos blockpos4;
290
                BlockPos blockpos7;
291
292
                for (blockpos4 = this.field_180294_c.add(l7, j18, k11); blockpos4.getY() > 0; blockpos4 = blockpos7)
293
                {
294
                    blockpos7 = blockpos4.down();
295
296
                    if (!this.currentWorld.isAirBlock(blockpos7))
297
                    {
298
                        break;
299
                    }
300
                }
301
302
                this.waterlilyGen.generate(this.currentWorld, this.randomGenerator, blockpos4);
303
            }
304
        }
305
306
        for (int l3 = 0; l3 < this.mushroomsPerChunk; ++l3)
307
        {
308
            if (this.randomGenerator.nextInt(4) == 0)
309
            {
310
                int i8 = this.randomGenerator.nextInt(16) + 8;
311
                int l11 = this.randomGenerator.nextInt(16) + 8;
312
                BlockPos blockpos2 = this.currentWorld.getHeight(this.field_180294_c.add(i8, 0, l11));
313
                this.mushroomBrownGen.generate(this.currentWorld, this.randomGenerator, blockpos2);
314
            }
315
316
            if (this.randomGenerator.nextInt(8) == 0)
317
            {
318
                int j8 = this.randomGenerator.nextInt(16) + 8;
319
                int i12 = this.randomGenerator.nextInt(16) + 8;
320
                int j15 = this.currentWorld.getHeight(this.field_180294_c.add(j8, 0, i12)).getY() * 2;
321
322
                if (j15 > 0)
323
                {
324
                    int k18 = this.randomGenerator.nextInt(j15);
325
                    BlockPos blockpos5 = this.field_180294_c.add(j8, k18, i12);
326
                    this.mushroomRedGen.generate(this.currentWorld, this.randomGenerator, blockpos5);
327
                }
328
            }
329
        }
330
331
        if (this.randomGenerator.nextInt(4) == 0)
332
        {
333
            int i4 = this.randomGenerator.nextInt(16) + 8;
334
            int k8 = this.randomGenerator.nextInt(16) + 8;
335
            int j12 = this.currentWorld.getHeight(this.field_180294_c.add(i4, 0, k8)).getY() * 2;
336
337
            if (j12 > 0)
338
            {
339
                int k15 = this.randomGenerator.nextInt(j12);
340
                this.mushroomBrownGen.generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(i4, k15, k8));
341
            }
342
        }
343
344
        if (this.randomGenerator.nextInt(8) == 0)
345
        {
346
            int j4 = this.randomGenerator.nextInt(16) + 8;
347
            int l8 = this.randomGenerator.nextInt(16) + 8;
348
            int k12 = this.currentWorld.getHeight(this.field_180294_c.add(j4, 0, l8)).getY() * 2;
349
350
            if (k12 > 0)
351
            {
352
                int l15 = this.randomGenerator.nextInt(k12);
353
                this.mushroomRedGen.generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(j4, l15, l8));
354
            }
355
        }
356
357
        for (int k4 = 0; k4 < this.reedsPerChunk; ++k4)
358
        {
359
            int i9 = this.randomGenerator.nextInt(16) + 8;
360
            int l12 = this.randomGenerator.nextInt(16) + 8;
361
            int i16 = this.currentWorld.getHeight(this.field_180294_c.add(i9, 0, l12)).getY() * 2;
362
363
            if (i16 > 0)
364
            {
365
                int l18 = this.randomGenerator.nextInt(i16);
366
                this.reedGen.generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(i9, l18, l12));
367
            }
368
        }
369
370
        for (int l4 = 0; l4 < 10; ++l4)
371
        {
372
            int j9 = this.randomGenerator.nextInt(16) + 8;
373
            int i13 = this.randomGenerator.nextInt(16) + 8;
374
            int j16 = this.currentWorld.getHeight(this.field_180294_c.add(j9, 0, i13)).getY() * 2;
375
376
            if (j16 > 0)
377
            {
378
                int i19 = this.randomGenerator.nextInt(j16);
379
                this.reedGen.generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(j9, i19, i13));
380
            }
381
        }
382
383
        if (this.randomGenerator.nextInt(32) == 0)
384
        {
385
            int i5 = this.randomGenerator.nextInt(16) + 8;
386
            int k9 = this.randomGenerator.nextInt(16) + 8;
387
            int j13 = this.currentWorld.getHeight(this.field_180294_c.add(i5, 0, k9)).getY() * 2;
388
389
            if (j13 > 0)
390
            {
391
                int k16 = this.randomGenerator.nextInt(j13);
392
                (new WorldGenPumpkin()).generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(i5, k16, k9));
393
            }
394
        }
395
396
        for (int j5 = 0; j5 < this.cactiPerChunk; ++j5)
397
        {
398
            int l9 = this.randomGenerator.nextInt(16) + 8;
399
            int k13 = this.randomGenerator.nextInt(16) + 8;
400
            int l16 = this.currentWorld.getHeight(this.field_180294_c.add(l9, 0, k13)).getY() * 2;
401
402
            if (l16 > 0)
403
            {
404
                int j19 = this.randomGenerator.nextInt(l16);
405
                this.cactusGen.generate(this.currentWorld, this.randomGenerator, this.field_180294_c.add(l9, j19, k13));
406
            }
407
        }
408
409
        if (this.generateLakes)
410
        {
411
            for (int k5 = 0; k5 < 50; ++k5)
412
            {
413
                int i10 = this.randomGenerator.nextInt(16) + 8;
414
                int l13 = this.randomGenerator.nextInt(16) + 8;
415
                int i17 = this.randomGenerator.nextInt(248) + 8;
416
417
                if (i17 > 0)
418
                {
419
                    int k19 = this.randomGenerator.nextInt(i17);
420
                    BlockPos blockpos6 = this.field_180294_c.add(i10, k19, l13);
421
                    (new WorldGenLiquids(Blocks.flowing_water)).generate(this.currentWorld, this.randomGenerator, blockpos6);
422
                }
423
            }
424
425
            for (int l5 = 0; l5 < 20; ++l5)
426
            {
427
                int j10 = this.randomGenerator.nextInt(16) + 8;
428
                int i14 = this.randomGenerator.nextInt(16) + 8;
429
                int j17 = this.randomGenerator.nextInt(this.randomGenerator.nextInt(this.randomGenerator.nextInt(240) + 8) + 8);
430
                BlockPos blockpos3 = this.field_180294_c.add(j10, j17, i14);
431
                (new WorldGenLiquids(Blocks.flowing_lava)).generate(this.currentWorld, this.randomGenerator, blockpos3);
432
            }
433
        }
434
    }
435
436
    /**
437
     * Standard ore generation helper. Generates most ores.
438
     */
439
    protected void genStandardOre1(int blockCount, WorldGenerator generator, int minHeight, int maxHeight)
440
    {
441
        if (maxHeight < minHeight)
442
        {
443
            int i = minHeight;
444
            minHeight = maxHeight;
445
            maxHeight = i;
446
        }
447
        else if (maxHeight == minHeight)
448
        {
449
            if (minHeight < 255)
450
            {
451
                ++maxHeight;
452
            }
453
            else
454
            {
455
                --minHeight;
456
            }
457
        }
458
459
        for (int j = 0; j < blockCount; ++j)
460
        {
461
            BlockPos blockpos = this.field_180294_c.add(this.randomGenerator.nextInt(16), this.randomGenerator.nextInt(maxHeight - minHeight) + minHeight, this.randomGenerator.nextInt(16));
462
            generator.generate(this.currentWorld, this.randomGenerator, blockpos);
463
        }
464
    }
465
466
    /**
467
     * Standard ore generation helper. Generates Lapis Lazuli.
468
     */
469
    protected void genStandardOre2(int blockCount, WorldGenerator generator, int centerHeight, int spread)
470
    {
471
        for (int i = 0; i < blockCount; ++i)
472
        {
473
            BlockPos blockpos = this.field_180294_c.add(this.randomGenerator.nextInt(16), this.randomGenerator.nextInt(spread) + this.randomGenerator.nextInt(spread) + centerHeight - spread, this.randomGenerator.nextInt(16));
474
            generator.generate(this.currentWorld, this.randomGenerator, blockpos);
475
        }
476
    }
477
478
    /**
479
     * Generates ores in the current chunk
480
     */
481
    protected void generateOres()
482
    {
483
        this.genStandardOre1(this.chunkProviderSettings.dirtCount, this.dirtGen, this.chunkProviderSettings.dirtMinHeight, this.chunkProviderSettings.dirtMaxHeight);
484
        this.genStandardOre1(this.chunkProviderSettings.gravelCount, this.gravelGen, this.chunkProviderSettings.gravelMinHeight, this.chunkProviderSettings.gravelMaxHeight);
485
        this.genStandardOre1(this.chunkProviderSettings.dioriteCount, this.dioriteGen, this.chunkProviderSettings.dioriteMinHeight, this.chunkProviderSettings.dioriteMaxHeight);
486
        this.genStandardOre1(this.chunkProviderSettings.graniteCount, this.graniteGen, this.chunkProviderSettings.graniteMinHeight, this.chunkProviderSettings.graniteMaxHeight);
487
        this.genStandardOre1(this.chunkProviderSettings.andesiteCount, this.andesiteGen, this.chunkProviderSettings.andesiteMinHeight, this.chunkProviderSettings.andesiteMaxHeight);
488
        this.genStandardOre1(this.chunkProviderSettings.coalCount, this.coalGen, this.chunkProviderSettings.coalMinHeight, this.chunkProviderSettings.coalMaxHeight);
489
        this.genStandardOre1(this.chunkProviderSettings.ironCount, this.ironGen, this.chunkProviderSettings.ironMinHeight, this.chunkProviderSettings.ironMaxHeight);
490
        this.genStandardOre1(this.chunkProviderSettings.goldCount, this.goldGen, this.chunkProviderSettings.goldMinHeight, this.chunkProviderSettings.goldMaxHeight);
491
        this.genStandardOre1(this.chunkProviderSettings.redstoneCount, this.redstoneGen, this.chunkProviderSettings.redstoneMinHeight, this.chunkProviderSettings.redstoneMaxHeight);
492
        this.genStandardOre1(this.chunkProviderSettings.diamondCount, this.diamondGen, this.chunkProviderSettings.diamondMinHeight, this.chunkProviderSettings.diamondMaxHeight);
493
        this.genStandardOre2(this.chunkProviderSettings.lapisCount, this.lapisGen, this.chunkProviderSettings.lapisCenterHeight, this.chunkProviderSettings.lapisSpread);
494
    }
495
}
496

Deobfuscated MCP 1.8.9 source of BiomeDecorator from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/biome/BiomeDecorator.java), stored verbatim.