Fix horse and wolf spawning biomes

This commit is contained in:
cora 2022-06-14 12:32:08 +02:00
parent 44c524f7bc
commit 60f164d46a
2 changed files with 21 additions and 53 deletions

View File

@ -542,41 +542,14 @@ mcl_mobs:spawn_specific(
"ground", "ground",
{ {
"flat", "flat",
"IcePlainsSpikes",
"ColdTaiga",
"ColdTaiga_beach",
"ColdTaiga_beach_water",
"MegaTaiga",
"MegaSpruceTaiga",
"ExtremeHills",
"ExtremeHills_beach",
"ExtremeHillsM",
"ExtremeHills+",
"ExtremeHills+_snowtop",
"StoneBeach",
"Plains", "Plains",
"Plains_beach", "Plains_beach",
"SunflowerPlains", "SunflowerPlains",
"Taiga",
"Taiga_beach",
"Forest",
"Forest_beach",
"FlowerForest",
"FlowerForest_beach",
"BirchForest",
"BirchForestM",
"RoofedForest",
"Savanna", "Savanna",
"Savanna_beach", "Savanna_beach",
"SavannaM", "SavannaM",
"Jungle", "Savanna_beach",
"Jungle_shore", "Plains_beach",
"JungleM",
"JungleM_shore",
"JungleEdge",
"JungleEdgeM",
"Swampland",
"Swampland_shore"
}, },
0, 0,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,
@ -586,18 +559,20 @@ minetest.LIGHT_MAX+1,
mobs_mc.water_level+3, mobs_mc.water_level+3,
mcl_vars.mg_overworld_max) mcl_vars.mg_overworld_max)
mcl_mobs:spawn_specific( mcl_mobs:spawn_specific(
"mobs_mc:donkey", "mobs_mc:donkey",
"overworld", "overworld",
"ground", "ground",
{ {
"Mesa", "flat",
"MesaPlateauFM_grasstop", "Plains",
"MesaPlateauF", "Plains_beach",
"MesaPlateauFM", "SunflowerPlains",
"MesaPlateauF_grasstop", "Savanna",
"MesaBryce", "Savanna_beach",
"SavannaM",
"Savanna_beach",
"Plains_beach",
}, },
0, 0,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,

View File

@ -232,29 +232,22 @@ dog.on_rightclick = function(self, clicker)
end end
mcl_mobs:register_mob("mobs_mc:dog", dog) mcl_mobs:register_mob("mobs_mc:dog", dog)
-- Spawn -- Spawn
mcl_mobs:spawn_specific( mcl_mobs:spawn_specific(
"mobs_mc:wolf", "mobs_mc:wolf",
"overworld", "overworld",
"ground", "ground",
{ {
"FlowerForest",
"Swampland",
"Taiga", "Taiga",
"ExtremeHills",
"BirchForest",
"MegaSpruceTaiga", "MegaSpruceTaiga",
"MegaTaiga", "MegaTaiga",
"ExtremeHills+",
"Forest", "Forest",
"Plains",
"ColdTaiga", "ColdTaiga",
"SunflowerPlains", "FlowerForest_beach",
"RoofedForest", "Forest_beach",
"MesaPlateauFM_grasstop", "ColdTaiga_beach_water",
"ExtremeHillsM", "Taiga_beach",
"BirchForestM", "ColdTaiga_beach",
}, },
0, 0,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,