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.
27 lines
681 B
C++
27 lines
681 B
C++
#include "stdafx.h"
|
|
#include "TheEndBiome.h"
|
|
#include "TheEndBiomeDecorator.h"
|
|
#include "net.minecraft.world.entity.monster.h"
|
|
#include "net.minecraft.world.level.tile.h"
|
|
|
|
TheEndBiome::TheEndBiome(int id) : Biome(id)
|
|
{
|
|
enemies.clear();
|
|
friendlies.clear();
|
|
friendlies_chicken.clear(); // 4J added
|
|
friendlies_wolf.clear(); // 4J added
|
|
waterFriendlies.clear();
|
|
ambientFriendlies.clear();
|
|
|
|
enemies.push_back(new MobSpawnerData(eTYPE_ENDERMAN, 10, 4, 4));
|
|
topMaterial = (byte) Tile::dirt_Id;
|
|
material = (byte) Tile::dirt_Id;
|
|
|
|
decorator = new TheEndBiomeDecorator(this);
|
|
}
|
|
|
|
// 4J Stu - Don't need override
|
|
//int TheEndBiome::getSkyColor(float temp)
|
|
//{
|
|
// return 0x000000;
|
|
//}
|