first commit
This commit is contained in:
16
Minecraft.World/RainforestBiome.cpp
Normal file
16
Minecraft.World/RainforestBiome.cpp
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
Reference in New Issue
Block a user