From f39cec2442408317ecfd9d91ed3e1d302809af6d Mon Sep 17 00:00:00 2001 From: GuyLiner Date: Thu, 16 Feb 2023 18:57:46 -0500 Subject: [PATCH] Added slime_big to non_spawn_specific instead of creating an exception for them in spawning.lua --- mods/ENTITIES/mobs_mc/slime+magma_cube.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua index 3d0f76486..e9fa340e3 100644 --- a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua +++ b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua @@ -278,7 +278,6 @@ swamp_light_max, 4, swamp_min, swamp_max) - -- Magma cube local magma_cube_big = { description = S("Magma Cube"), @@ -430,6 +429,11 @@ nether_max) -- spawn eggs mcl_mobs.register_egg("mobs_mc:magma_cube_big", S("Magma Cube"), "#350000", "#fcfc00") + +-- non_spawn_specific is typically for mobs who don't spawn in the overworld, or mobs that don't spawn +-- naturally. However, slimes are a particular case where they spawn under different conditions in the same +-- dimension. +mcl_mobs:non_spawn_specific("mobs_mc:slime_big","overworld",0,minetest.LIGHT_MAX+1) mcl_mobs:non_spawn_specific("mobs_mc:magma_cube_big","overworld",0, minetest.LIGHT_MAX+1) mcl_mobs.register_egg("mobs_mc:slime_big", S("Slime"), "#52a03e", "#7ebf6d")