Mineclonia/mods/ITEMS/mcl_mobspawners/README.md

18 lines
628 B
Markdown
Raw Normal View History

This mod adds a mob spawner for MineClone 2.
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 MineClone 2.
Players can get a mob spawner by `giveme` and is initially empty after
2017-05-25 00:15:24 +00:00
placing.
## Programmer notes
To set the mob spawned by a mob spawner, first place the mob spawner
2017-05-25 00:15:24 +00:00
(e.g. with `minetest.set_node`), then use the function
`mcl_mobspawners.setup_spawner` to set its attributes. See the comment
2017-05-25 00:15:24 +00:00
in `init.lua` for more info.
## License (code and texture)
MIT License