neoLegacy/Minecraft.World/PlainsBiome.cpp
ChristianF 29523f5ba4 Rabbit follow Parents and Variants per biome
now rabbits in panic state are ok and doesnt jump far away. They spawn in a group 1 adult 1-2 baby
different weight spawn based on the biome, also they have correct variants per biome as far as i could check online
2026-03-13 19:09:15 +01:00

12 lines
334 B
C++

#include "stdafx.h"
#include "net.minecraft.world.level.biome.h"
PlainsBiome::PlainsBiome(int id) : Biome(id)
{
friendlies.push_back(new MobSpawnerData(eTYPE_HORSE, 5, 2, 6));
friendlies.push_back(new MobSpawnerData(eTYPE_RABBIT, 4, 2, 3));
decorator->treeCount = -999;
decorator->flowerCount = 4;
decorator->grassCount = 10;
}