This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
18 lines
453 B
C++
18 lines
453 B
C++
#include "stdafx.h"
|
|
#include "net.minecraft.world.level.tile.h"
|
|
#include "BiomeDecorator.h"
|
|
#include "BeachBiome.h"
|
|
|
|
BeachBiome::BeachBiome(int id) : Biome(id)
|
|
{
|
|
// remove default mob spawn settings
|
|
friendlies.clear();
|
|
friendlies_chicken.clear(); // 4J added
|
|
topMaterial = (byte) Tile::sand_Id;
|
|
material = (byte) Tile::sand_Id;
|
|
|
|
decorator->treeCount = -999;
|
|
decorator->deadBushCount = 0;
|
|
decorator->reedsCount = 0;
|
|
decorator->cactusCount = 0;
|
|
} |