Update mobs_mc and update gameconfig

This updates and fixes mob spawn height for new realms.
Also: Small zombie pigman size fixed.
This commit is contained in:
Wuzzy 2017-08-16 22:08:17 +02:00
parent 6e93424f03
commit 895fc7d757
32 changed files with 113 additions and 75 deletions

View file

@ -140,12 +140,13 @@ local base_spawn_chance = 5000
mobs:spawn({
name = "mobs_mc:ocelot",
nodes = mobs_mc.spawn.jungle,
neighbors = {"air"},
light_max = minetest.LIGHT_MAX+1,
light_min = 0,
chance = math.ceil(base_spawn_chance * 1.5), -- emulates 1/3 spawn failure rate
active_object_count = 12,
min_height = 1, -- Right above ocean level
max_height = 31000,
min_height = mobs_mc.spawn_height.water+1, -- Right above ocean level
max_height = mobs_mc.spawn_height.overworld_max,
on_spawn = function(self, pos)
--[[ Note: Minecraft has a 1/3 spawn failure rate.
In this mod it is emulated by reducing the spawn rate accordingly (see above). ]]