mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2025-07-08 19:30:19 +02:00
Added spawn.lua check for custom mob spawns, example file included
This commit is contained in:
@ -116,7 +116,7 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
||||
]]
|
||||
})
|
||||
|
||||
|
||||
if not mobs.custom_spawn_monster then
|
||||
mobs:spawn({
|
||||
name = "mobs_monster:sand_monster",
|
||||
nodes = {"default:desert_sand"},
|
||||
@ -124,6 +124,7 @@ mobs:spawn({
|
||||
active_object_count = 2,
|
||||
min_height = 0,
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
mobs:register_egg("mobs_monster:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)
|
||||
|
Reference in New Issue
Block a user