MineClone2/mods/ITEMS/mcl_mobspawners
kno10 ebee85db7e Fix incorrect usages of math.random (#4621)
random() does not support float arguments

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4621
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-07 14:58:12 +02:00
..
locale Update Russian translation. Fix 1. 2023-09-02 15:51:49 +08:00
init.lua Fix incorrect usages of math.random (#4621) 2024-09-07 14:58:12 +02:00
mod.conf Move data from deprecated files to mod.conf 2021-03-18 17:37:12 +01:00
README.md Change MineClone 2 to VoxeLibre 2024-05-07 11:38:00 +00:00

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