Mods / Spawners API

Tags: #Creatures #Library
Author: BoboDev
Side: Both
Created: Jun 15th 2024 at 1:18 PM
Last modified: Aug 12th at 10:07 PM
Downloads: 13077
Follow Unfollow 123

Latest release (for Vintage Story 1.19.0 - 1.19.3, 1.19.4, 1.19.5 - 1.19.8, 1.20.0 - 1.20.3, 1.20.4 and 1.20.5, outdated):
spawnersapi_1.1.3.zip  1-click install
For testers (for Vintage Story 1.21.0-pre.1 - 1.21.0-rc.4, potentially outdated):
spawnersapi_1.1.4.zip  1-click install


Spawners API

Create custom spawners into creative inventory and for mods usages, this will not create any type of generations or structures with it, this is a simple API to be used among other mods.

Every spawner has a own configuration, you can check all configurations in the Configurations section from the wiki

If you want to create a custom spawner please check the Creating Custom Spawner

About Spawners API

Spawners API is open source project and can easily be accessed on the github, all contents from this mod is completly free.

If you want to contribute into the project you can access the project github and make your pull request.

You are free to fork the project and make your own version of Spawners API, as long the name is changed.

Inspirations:

  • Vanilla Minecraft Spawners

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.1.4
1.21.0-pre.1 - 1.21.0-rc.4
1954 Aug 12th at 10:02 PM spawnersapi_1.1.4.zip 1-click install
  • .NET SDK 8.0
  • Fixed jsons for 1.21
  • Fixed native patch for damage
1.1.3
1.19.0 - 1.19.3 1.19.5 - 1.19.8 1.20.0 - 1.20.3
3896 Mar 19th at 10:54 PM spawnersapi_1.1.3.zip 1-click install
  • Fixed the torchWillDisableSpawn config not working
1.1.2
1.19.0 - 1.19.3 1.19.5 - 1.20.0-pre.0
2693 Nov 15th 2024 at 4:04 PM spawnersapi_1.1.2.zip 1-click install
  • Fixed any freeze when you break a spawner with high chances of loot drop
  • Fixed any exception caused when you break a spawner with a block in drop list
1.1.1
1.19.0 - 1.19.3 1.19.5 - 1.20.0-pre.0
341 Nov 10th 2024 at 4:09 PM spawnersapi_1.1.1.zip 1-click install
  • Spawners will now detect if the entity is dead, (previously dead entities are stopping the spawner when the maxSpawnedEntities is reach)
  • Default boss spawner will now spawn drifters with the Boss name
1.1.0
1.19.0 - 1.19.3 1.19.5 - 1.20.0-pre.0
217 Oct 31st 2024 at 11:48 PM spawnersapi_1.1.0.zip 1-click install
  • New configuration: freezeOnAllEntitiesSpawned
  • New configuration: healthAdditional
  • New configuration: damageAdditional
1.0.9
1.19.0 - 1.19.3 1.19.5 - 1.19.8
997 Sep 3rd 2024 at 12:45 AM spawnersapi_1.0.9.zip 1-click install
  • Fixed null exceptions in client side, reported by ashyvaane
  • Clients will not register tickrates for the spawners
1.0.8
1.19.0 - 1.19.3 1.19.5 - 1.19.8
1201 Jul 19th 2024 at 10:20 PM spawnersapi_1.0.8.zip 1-click install
  • German translations, by Chrizzlybear
1.0.7
1.19.0 - 1.19.3 1.19.5 - 1.19.8
950 Jun 18th 2024 at 10:44 PM spawnersapi_1.0.7.zip 1-click install
  • spawnOnlyInGround Configuration
  • spawnOnlyWith2Heights Configuration
  • spawnerDrops Configuration
  • possibility to place torchs in sides of the spawner
  • droppable Configuration
1.0.4
1.19.0 - 1.19.3 1.19.5 - 1.19.8
263 Jun 17th 2024 at 3:30 PM spawnersapi_1.0.4.zip 1-click install
  • New configuration maxSpawnedEntities
  • Better extendLogs
1.0.3
1.19.0 - 1.19.3 1.19.5 - 1.19.8
205 Jun 16th 2024 at 3:47 PM spawnersapi_1.0.3.zip 1-click install
  • By default the extendedLogs will be false
  • Fixed the entities spawning 0.5 blocks down making them fall of the platform if spawner is on a platform
1.0.2
1.19.0 - 1.19.3 1.19.5 - 1.19.8
177 Jun 16th 2024 at 2:12 PM spawnersapi_1.0.2.zip 1-click install
  • Configurable Spawners
1.0.0
1.19.0 - 1.19.3 1.19.5 - 1.19.8
183 Jun 15th 2024 at 1:20 PM spawnersapi_1.0.0.zip 1-click install
  • First Release

22 Comments (oldest first | newest first)

💬 jamescook, Mar 29th at 7:39 AM

welp i give up. i'm not smart enough to figure how to do this XP

💬 jamescook, Mar 21st at 10:49 PM

thanks for the answer

💬 BoboDev , Mar 19th at 10:58 PM

jamescook Yes the spawners api can also spawn multiple types of mob in the same spawner, if you need any example you can get in in the wiki: https://github.com/LeandroTheDev/spawners_api/wiki#creating-custom-spawner

or battletowers mod: https://github.com/LeandroTheDev/battle_towers/tree/main/BattleTowers/assets/spawnersapi/config

💬 jamescook, Mar 18th at 5:11 PM

question is there a way to make a spawner that will spawn random varints of a mob? like with the rust mod could i make a spawner that spawns any of the firrent magic mobs that float around and attack you?

💬 BoboDev , Feb 11th at 11:39 PM

jamescook In that case just look up the Creating Custom Spawner

💬 jamescook, Feb 9th at 6:19 AM

i think they wanted the spawners to spawn butterflies and song birds

💬 BoboDev , Nov 10th 2024 at 2:44 PM

Asil I didnt understand do you want the spawners to play a sound when spawning or play a sound every minute?

💬 Asil, Nov 9th 2024 at 3:18 PM

This is cool. Could later versions add song birds and butterflies, or above ground animals? I like to create hanging gardens and Edenistic environments.

💬 jamescook, Sep 3rd 2024 at 1:50 AM

ok unzipping it worked for the editing it lol

💬 BoboDev , Sep 3rd 2024 at 12:48 AM

jamescook My recomendation is you to create a addon for this mod, there is a example in the wiki, but if you really want to change the default spawners that come along with this mod, do you need to unzip the mod, change in the assets folders manually in there

💬 jamescook, Sep 1st 2024 at 5:47 AM

do i need a certan program to change the config as i'm not able to at all

💬 I3eauLeBoi, Aug 22nd 2024 at 12:20 PM

BoboDev

Got it to work, it just took quite some time to let those NPC's spawn.
Thank you for the light level, i figured it was related to that.

💬 I3eauLeBoi, Aug 20th 2024 at 12:07 AM

BoboDev

I could try and see if that would help.
And yes, i've added the entity name to the list of spawnable.
Got the item in game with the "rotwalker-normal" spawner, or "bandit-axe" spawner. I plant it.
Nothing happens, yet oddly enough "feral-hound" does spawn the entities.

Perhaps its not compatible? (Which is odd, since feral hounds do spawn.) Its a very confusing situation, i know.

💬 BoboDev , Aug 19th 2024 at 1:47 PM

I3eauLeBoi In the spawner configuration make the: "lightLevel1": 100, to fast spawning

OR

"lightLevel4": 100, for slow spawning, all other lightLevel should be -1

About the edit, i dind't understand, you add the outlaws to spawn in the "entitiesToSpawn" and is not spawning it?

💬 I3eauLeBoi, Aug 18th 2024 at 8:17 PM

What do i exactly need to do to allow them to spawn in any type of light?
I need some clarification on that since i am having a hard time letting a spawner spawn npcs i want.

Edit:
Whatever i'm noticing now is that i can't be able to make spawners in regards to outlaws. (So far i only got hounds to spawn, apart from there? no bandits or troops.)
Same for rotwalkers from rust and rot. Its confusing honestly.

💬 BoboDev , Aug 7th 2024 at 10:54 PM

Knives Yes should disable it, by default the spawners that comes by any example in this mod have the configuration "torchWillDisableSpawn" set to true, this means any torchs in sides or top of the spawner will disable it, torchs that is not on the side/top will not be effective

jamescook The configurations is inside the mod, is any asset that you change, "assets/spawnerapi/config/spawner-name.json"

💬 jamescook, Aug 6th 2024 at 12:34 AM

ok eather i'm being blind and can't find the config, or it's done via commands as i could not find it

💬 Knives, Aug 4th 2024 at 3:24 AM

BoboDev Default spawner, but I suppose I need some clarification. Is placing the torch on the spawner suppose to prevent it, or is it just the light levels in the area? Cause torch on spawner is mainly what I was refering to.

💬 BoboDev , Aug 2nd 2024 at 1:14 AM

Knives Last time i checked it is disabling, do you are using the default spawner from the mod or some custom?

jamescook The default spawners doesn't drops himself, you need to change the configuration droppable to true to drop the spawner when breaking, i believe you can get the spawner with any tool.

💬 Knives, Aug 1st 2024 at 6:42 AM

torches dont seem to disable spawn

💬 jamescook, Jul 27th 2024 at 5:34 AM

quick questions what tool breaks spawners and what grade tool does it need to be? last question would there be a way to gather a spawner in survival so one to move a spawner somewhere ealse?

💬 Chrizzlybear, Jul 16th 2024 at 7:42 PM

Hi, I have translated the mod into german.
de.json

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом