mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 19:15:12 +00:00
Make enderman less aggressive and likely
This commit is contained in:
parent
bd74902789
commit
46eb81b245
1 changed files with 4 additions and 3 deletions
|
@ -158,8 +158,9 @@ local select_enderman_animation = function(animation_type)
|
||||||
end
|
end
|
||||||
|
|
||||||
mobs:register_mob("mobs_mc:enderman", {
|
mobs:register_mob("mobs_mc:enderman", {
|
||||||
type = "monster",
|
-- TODO: Make endermen attack when looked at
|
||||||
runaway = true,
|
type = "animal",
|
||||||
|
passive = false,
|
||||||
pathfinding = 1,
|
pathfinding = 1,
|
||||||
stepheight = 1.2,
|
stepheight = 1.2,
|
||||||
hp_min = 40,
|
hp_min = 40,
|
||||||
|
@ -313,7 +314,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
||||||
-- End spawn
|
-- End spawn
|
||||||
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 3000, 12, mobs_mc.spawn_height.end_min, mobs_mc.spawn_height.end_max)
|
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 3000, 12, mobs_mc.spawn_height.end_min, mobs_mc.spawn_height.end_max)
|
||||||
-- Overworld spawn
|
-- Overworld spawn
|
||||||
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, 9000, 4, mobs_mc.spawn_height.overworld_min, mobs_mc.spawn_height.overworld_max)
|
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, 19000, 2, mobs_mc.spawn_height.overworld_min, mobs_mc.spawn_height.overworld_max)
|
||||||
-- Nether spawn (rare)
|
-- Nether spawn (rare)
|
||||||
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, 27500, 4, mobs_mc.spawn_height.nether_min, mobs_mc.spawn_height.nether_max)
|
mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, 27500, 4, mobs_mc.spawn_height.nether_min, mobs_mc.spawn_height.nether_max)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue