minetest-mm/mods/mobs_water/mobs_fish/spawn_example.lua
2024-12-19 12:55:40 +01:00

24 lines
495 B
Lua

-- Fish spawn examples
mobs:spawn({
name = "mobs_fish:clownfish",
nodes = {"group:water"},
neighbors = {"group:crumbly", "group:seaplants", "group:seacoral"},
min_light = 5,
interval = 30,
chance = 10000,
max_height = -1,
active_object_count = 5
})
mobs:spawn({
name = "mobs_fish:tropical",
nodes = {"group:water"},
neighbors = {"group:crumbly", "group:seaplants", "group:seacoral"},
min_light = 5,
interval = 30,
chance = 10000,
max_height = -1,
active_object_count = 5
})