Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, random, chunkPos, net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.TREE))
- for (int j2 = 0; j2 < k1; ++j2)
- {
- int k6 = random.nextInt(16) + 8;
- int l = random.nextInt(16) + 8;
- WorldGenAbstractTree worldgenabstracttree = biomeIn.genBigTreeChance(random);
- worldgenabstracttree.setDecorationDefaults();
- BlockPos blockpos = worldIn.getHeight(this.chunkPos.add(k6, 0, l));
- if (worldgenabstracttree.generate(worldIn, random, blockpos))
- {
- worldgenabstracttree.generateSaplings(worldIn, random, blockpos);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement