mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 02:12:25 +01:00
ce5eb8d88d
Fixes a warning. Mobs spawners really only need to check the entity `.is_mob` as all mobs should have this set. Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4501 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: WillConker <willconker@noreply.git.minetest.land> Co-committed-by: WillConker <willconker@noreply.git.minetest.land> |
||
---|---|---|
.. | ||
locale | ||
init.lua | ||
mod.conf | ||
README.md |
This mod adds a mob spawner for VoxeLibre. Monsters will appear around the mob spawner in semi-regular intervals.
This mod is originally based on the mob spawner from Mobs Redo by TenPlus1 but has been modified quite a lot to fit the needs of VoxeLibre.
Players can get a mob spawner by giveme
and is initially empty after
placing.
Programmer notes
To set the mob spawned by a mob spawner, first place the mob spawner
(e.g. with minetest.set_node
), then use the function
mcl_mobspawners.setup_spawner
to set its attributes. See the comment
in init.lua
for more info.
License (code and texture)
MIT License