diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.World/MushroomIslandBiome.cpp | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
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 |
