Mod
X Spawners API
Primarily adds an API for registering spawner blocks for other mods to use.
Primarily adds an API for registering spawner blocks for other mods to use.
Features
- Activations area - radius 16 blocks - when player is inside this aread the spawner will activate
- Placing torch (
group:torch) on top of the spawner will disable the spawner - Spawner will not work if all adjacent sides are blocked
- Some mobs can spawn only during night/day only (or both)
- Some mobs can spawn in water (e.g.
group:water) or any other definednodein cofiguration - Spawner will stop spawning if there are too many mobs of the same type in the aread (9x9x9 nodes)
- Spawner will stop spawning if there are too many entities in MapBlock area (16x16x16 nodes)
- Mobs will spawn around spawner randomly in 9x9x3 area - mob height (collisionbox) is being accounted
- Spawner will not spawn in protected areas
- Spawner can spawn up to four mobs at the same time
- If the spawner is not spawning (in 'waiting' state) for too long, it will get rusted and will not work anymore - only digging and placing the spwaner again will activate it
- If admin (or someone with
privspriviledge) will place the spawner, this spawner will never rust - If spawner has environmental configuration it will generate spawners during mapgen
- Environmental can be found in dungeons and caves
- Environmental spawners are not rusting
- Environmental will not drop spawner when dug
- Wrote in TypeScript
Usage
- right click (secondary action) on spawner with egg item - works with animalia crates and net (assuming you have animal inside)
Links
- Source: https://bitbucket.org/minetest_gamers/x_spawners_api
- Issues: https://bitbucket.org/minetest_gamers/x_spawners_api/issues
- Website: https://bitbucket.org/minetest_gamers/x_spawners_api
- Original ContentDB page: content.luanti.org/packages/SaKeL/x_spawners_api/
License
LGPL-2.1-or-later
Media license: CC-BY-SA-4.0
Development state
ACTIVELY_DEVELOPED
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| v0.0.6 | 2025-04-28 21:12:01 | 5.6 | 136.2 KB | Download |