the whole game
This commit is contained in:
21
src/world/level/biome/RainforestBiome.h
Executable file
21
src/world/level/biome/RainforestBiome.h
Executable file
@@ -0,0 +1,21 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_LEVEL_BIOME__RainforestBiome_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_BIOME__RainforestBiome_H__
|
||||
|
||||
//package net.minecraft.world.level.biome;
|
||||
|
||||
#include "Biome.h"
|
||||
#include "../../../util/Random.h"
|
||||
#include "../levelgen/feature/TreeFeature.h"
|
||||
|
||||
class RainforestBiome: public Biome
|
||||
{
|
||||
public:
|
||||
Feature* getTreeFeature(Random* random) {
|
||||
if (random->nextInt(3) == 0) {
|
||||
//return new BasicTree();
|
||||
}
|
||||
return new TreeFeature(false);
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL_BIOME__RainforestBiome_H__*/
|
||||
Reference in New Issue
Block a user