1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-04 17:30:21 +02:00

using mobs:spawn to spawn monsters

This commit is contained in:
TenPlus1
2016-10-29 16:48:04 +01:00
parent 38d8c555a7
commit 17c6e27e44
9 changed files with 72 additions and 12 deletions

View File

@ -58,7 +58,14 @@ mobs:register_mob("mobs_monster:dungeon_master", {
},
})
mobs:register_spawn("mobs_monster:dungeon_master", {"default:stone"}, 7, 0, 7000, 1, -70)
mobs:spawn({
name = "mobs_monster:dungeon_master",
nodes = {"default:stone"},
max_light = 7,
chance = 7000,
active_object_count = 1,
max_height = -70,
})
mobs:register_egg("mobs_monster:dungeon_master", S("Dungeon Master"), "fire_basic_flame.png", 1, true)