mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-28 23:23:38 +00:00
25 lines
785 B
C++
25 lines
785 B
C++
#include "../../Platform/stdafx.h"
|
|
#include "MushroomIslandBiome.h"
|
|
#include "BiomeDecorator.h"
|
|
#include "../../Headers/net.minecraft.world.entity.animal.h"
|
|
#include "../../Headers/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 = (uint8_t)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
|
|
} |