1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-12 13:20:35 +02:00

monsters spawn in different areas if ethereal detected

This commit is contained in:
TenPlus1
2017-02-21 15:32:50 +00:00
parent 8edcad5201
commit 386c2cb77a
9 changed files with 66 additions and 31 deletions

View File

@ -1,6 +1,7 @@
local S = mobs.intllib
-- Stone Monster by PilzAdam
mobs:register_mob("mobs_monster:stone_monster", {
@ -51,6 +52,7 @@ mobs:register_mob("mobs_monster:stone_monster", {
},
})
mobs:spawn({
name = "mobs_monster:stone_monster",
nodes = {"default:stone", "default:desert_stone"},
@ -59,7 +61,8 @@ mobs:spawn({
max_height = 0,
})
mobs:register_egg("mobs_monster:stone_monster", S("Stone Monster"), "default_stone.png", 1)
-- compatibility
mobs:alias_mob("mobs:stone_monster", "mobs_monster:stone_monster")
mobs:alias_mob("mobs:stone_monster", "mobs_monster:stone_monster") -- compatibility