mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 02:20:01 +03:00
20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
--- ../src-base/minecraft/net/minecraft/world/biome/BiomeTaiga.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/biome/BiomeTaiga.java
|
|
@@ -67,7 +67,7 @@
|
|
|
|
public void decorate(World worldIn, Random rand, BlockPos pos)
|
|
{
|
|
- if (this.type == BiomeTaiga.Type.MEGA || this.type == BiomeTaiga.Type.MEGA_SPRUCE)
|
|
+ if ((this.type == Type.MEGA || this.type == Type.MEGA_SPRUCE) && net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, new net.minecraft.util.math.ChunkPos(pos), net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.ROCK))
|
|
{
|
|
int i = rand.nextInt(3);
|
|
|
|
@@ -82,6 +82,7 @@
|
|
|
|
DOUBLE_PLANT_GENERATOR.setPlantType(BlockDoublePlant.EnumPlantType.FERN);
|
|
|
|
+ if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, new net.minecraft.util.math.ChunkPos(pos), net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.FLOWERS))
|
|
for (int i1 = 0; i1 < 7; ++i1)
|
|
{
|
|
int j1 = rand.nextInt(16) + 8;
|