Files

16 lines
338 B
C++
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#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);
}