flower forste part 1 + decompiled roofed forest

This commit is contained in:
Lord Cambion
2026-03-23 03:44:02 +01:00
parent 58d57f2b54
commit f0b06116c2
22 changed files with 901 additions and 630 deletions
+15 -5
View File
@@ -3,6 +3,8 @@
#include "BiomeDecorator.h"
#include "DarkOakFeature.h"
#include "HugeMushroomFeature.h"
#include "TreeFeature.h"
#include "BirchFeature.h"
#include "net.minecraft.world.level.tile.h"
#include "..\Level.h"
@@ -29,16 +31,24 @@ RoofedForestBiome::RoofedForestBiome(int id) : Biome(id)
Feature* RoofedForestBiome::getTreeFeature(Random* random)
{
if (random->nextInt(15) == 0)
if (random->nextInt(20) == 0)
{
return new HugeMushroomFeature();
}
if (random->nextInt(3) > 0)
{
return new DarkOakFeature(true);
}
return new DarkOakFeature(true);
{
return new TreeFeature(false);
}
return new BirchFeature(false);
}