mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 03:23:37 +00:00
12 lines
365 B
C++
12 lines
365 B
C++
#include "../../Platform/stdafx.h"
|
|
#include "RainforestBiome.h"
|
|
#include "../../Headers/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);
|
|
} |