1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-12 21:30:41 +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
-- Sand Monster by PilzAdam
mobs:register_mob("mobs_monster:sand_monster", {
@ -56,6 +57,7 @@ mobs:register_mob("mobs_monster:sand_monster", {
]]
})
mobs:spawn({
name = "mobs_monster:sand_monster",
nodes = {"default:desert_sand"},
@ -64,7 +66,8 @@ mobs:spawn({
min_height = 0,
})
mobs:register_egg("mobs_monster:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)
-- compatibility
mobs:alias_mob("mobs:sand_monster", "mobs_monster:sand_monster")
mobs:alias_mob("mobs:sand_monster", "mobs_monster:sand_monster") -- compatibility