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

@ -57,7 +57,13 @@ mobs:register_mob("mobs_monster:oerkki", {
},
})
mobs:register_spawn("mobs_monster:oerkki", {"default:stone"}, 7, 0, 7000, 1, -10)
mobs:spawn({
name = "mobs_monster:oerkki",
nodes = {"default:stone"},
max_light = 7,
chance = 7000,
max_height = -10,
})
mobs:register_egg("mobs_monster:oerkki", S("Oerkki"), "default_obsidian.png", 1)