diff options
Diffstat (limited to 'Minecraft.World/MushroomIslandBiome.cpp')
| -rw-r--r-- | Minecraft.World/MushroomIslandBiome.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Minecraft.World/MushroomIslandBiome.cpp b/Minecraft.World/MushroomIslandBiome.cpp new file mode 100644 index 00000000..fa7eafdb --- /dev/null +++ b/Minecraft.World/MushroomIslandBiome.cpp @@ -0,0 +1,25 @@ +#include "stdafx.h" +#include "MushroomIslandBiome.h" +#include "BiomeDecorator.h" +#include "net.minecraft.world.entity.animal.h" +#include "net.minecraft.world.level.tile.h" + +MushroomIslandBiome::MushroomIslandBiome(int id) : Biome(id) +{ + decorator->treeCount = -100; + decorator->flowerCount = -100; + decorator->grassCount = -100; + + decorator->mushroomCount = 1; + decorator->hugeMushrooms = 1; + + topMaterial = (byte) Tile::mycel_Id; + + enemies.clear(); + friendlies.clear(); + friendlies_chicken.clear(); // 4J added + friendlies_wolf.clear(); // 4J added + waterFriendlies.clear(); + + friendlies_mushroomcow.push_back(new MobSpawnerData(eTYPE_MUSHROOMCOW, 8, 4, 8)); // 4J moved to own category +}
\ No newline at end of file |
