From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.World/MushroomIslandBiome.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Minecraft.World/MushroomIslandBiome.cpp (limited to 'Minecraft.World/MushroomIslandBiome.cpp') 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 -- cgit v1.2.3