blob: 6e39038d0feafc3547520cc0f33c48d07daba49f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "stdafx.h"
#include "RainforestBiome.h"
#include "net.minecraft.world.level.levelgen.feature.h"
RainforestBiome::RainforestBiome(int id) : Biome(id)
{
}
Feature *RainforestBiome::getTreeFeature(Random *random)
{
if (random->nextInt(3) == 0)
{
return new BasicTree(false);
}
return new TreeFeature(false);
}
|