1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-05 01:40: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

@ -54,7 +54,14 @@ mobs:register_mob("mobs_monster:mese_monster", {
},
})
mobs:register_spawn("mobs_monster:mese_monster", {"default:stone"}, 7, 0, 5000, 1, -20)
mobs:spawn({
name = "mobs_monster:mese_monster",
nodes = {"default:stone"},
max_light = 7,
chance = 5000,
active_object_count = 1,
max_height = -20,
})
mobs:register_egg("mobs_monster:mese_monster", S("Mese Monster"), "default_mese_block.png", 1)