first commit
This commit is contained in:
26
Minecraft.World/TheEndBiome.cpp
Normal file
26
Minecraft.World/TheEndBiome.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#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();
|
||||
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_ENDERMAN, 10, 4, 4));
|
||||
topMaterial = (byte) Tile::dirt_Id;
|
||||
this->material = (byte) Tile::dirt_Id;
|
||||
|
||||
decorator = new TheEndBiomeDecorator(this);
|
||||
}
|
||||
|
||||
// 4J Stu - Don't need override
|
||||
//int TheEndBiome::getSkyColor(float temp)
|
||||
//{
|
||||
// return 0x000000;
|
||||
//}
|
||||
Reference in New Issue
Block a user