Mods / Spawners API

Tags: #Creatures #Library
Author: BoboDev
Side: Both
Created: Jun 15th 2024 at 1:18 PM
Last modified: Mar 19th at 10:54 PM
Downloads: 8116
Follow Unfollow 100

Latest release (for outdated Vintage Story v1.20.0 - v1.20.5):
spawnersapi_1.1.3.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

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.1.3 1670 Mar 19th at 10:54 PM Show spawnersapi_1.1.3.zip 1-click install
v1.1.2 2576 Nov 15th 2024 at 4:04 PM Show spawnersapi_1.1.2.zip 1-click install
v1.1.1 277 Nov 10th 2024 at 4:09 PM Show spawnersapi_1.1.1.zip 1-click install
v1.1.0 145 Oct 31st 2024 at 11:48 PM Show spawnersapi_1.1.0.zip 1-click install
v1.0.9 920 Sep 3rd 2024 at 12:45 AM Show spawnersapi_1.0.9.zip 1-click install
v1.0.8 1126 Jul 19th 2024 at 10:20 PM Show spawnersapi_1.0.8.zip 1-click install
v1.0.7 872 Jun 18th 2024 at 10:44 PM Show spawnersapi_1.0.7.zip 1-click install
v1.0.4 179 Jun 17th 2024 at 3:30 PM Show spawnersapi_1.0.4.zip 1-click install
v1.0.3 136 Jun 16th 2024 at 3:47 PM Show spawnersapi_1.0.3.zip 1-click install
v1.0.2 107 Jun 16th 2024 at 2:12 PM Show spawnersapi_1.0.2.zip 1-click install
v1.0.0 108 Jun 15th 2024 at 1:20 PM Show spawnersapi_1.0.0.zip 1-click install

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)