Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
16 lines
338 B
C++
16 lines
338 B
C++
#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);
|
|
} |