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

@ -51,7 +51,13 @@ mobs:register_mob("mobs_monster:stone_monster", {
},
})
mobs:register_spawn("mobs_monster:stone_monster", {"default:stone", "default:desert_stone"}, 7, 0, 7000, 1, 0)
mobs:spawn({
name = "mobs_monster:stone_monster",
nodes = {"default:stone", "default:desert_stone"},
max_light = 7,
chance = 7000,
max_height = 0,
})
mobs:register_egg("mobs_monster:stone_monster", S("Stone Monster"), "default_stone.png", 1)