Files
MinecraftConsoles/Minecraft.World/BeachBiome.cpp
Loki Rautio 087b7e7abf Revert "Project modernization (#630)"
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.
2026-03-07 21:12:22 -06:00

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;
}