forked from mtcontrib/mobs_monster
Corrige le spawn du minotaur
This commit is contained in:
parent
204d00c52c
commit
2e99fafa82
13
minotaur.lua
13
minotaur.lua
@ -60,7 +60,18 @@ mobs:register_mob("mobs_monster:minotaur", {
|
|||||||
mobs:alias_mob("mobs:minotaur", "mobs_monster:minotaur")
|
mobs:alias_mob("mobs:minotaur", "mobs_monster:minotaur")
|
||||||
|
|
||||||
-- spawns on desert sand between -1 and 20 light, 1 in 100000 chance, 1 Minotaur in area up to 31000 in height
|
-- spawns on desert sand between -1 and 20 light, 1 in 100000 chance, 1 Minotaur in area up to 31000 in height
|
||||||
mobs:spawn_specific("mobs_monster:minotaur", {"default:dirt_with_dry_grass"}, {"air"}, -1, 20, 30, 100000, 1, -31000, 31000, false)
|
--mobs:spawn_specific("mobs_monster:minotaur", {"default:dirt_with_dry_grass"}, {"air"}, -1, 20, 30, 50000, 1, -31000, 31000, false)
|
||||||
|
mobs:spawn({
|
||||||
|
name = "mobs_monster:minotaur",
|
||||||
|
nodes = {"default:dirt_with_dry_grass", "default:desert_sand"},
|
||||||
|
min_light = 0,
|
||||||
|
max_light = default.LIGHT_MAX,
|
||||||
|
chance = 7000,
|
||||||
|
active_object_count = 1,
|
||||||
|
min_height = -31000,
|
||||||
|
max_height = 31000,
|
||||||
|
})
|
||||||
|
|
||||||
-- register spawn egg
|
-- register spawn egg
|
||||||
mobs:register_egg("mobs_monster:minotaur", "Minotaur", "mobs_minotaur_inv.png", 1)
|
mobs:register_egg("mobs_monster:minotaur", "Minotaur", "mobs_minotaur_inv.png", 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user