#CustomJsonLib - Added support for custom JSON tags for all mods :)

1 messages · Page 1 of 1 (latest)

pine goblet
#

Hey everyone! Long time no see. I made a mod that allows YOUR mods to support custom JSON tags from OTHER PEOPLE's mods. Let's say you added a plethora of cool features to your mod, and wished others could use them from JSON alone, just add this library and, boom, custom JSON.

It's better explained in the README but that's the gist of it.

It does not break the game if the mod uses the library but the library is not installed in the game, so it should be (for the most part) foolproof. Here's the repo: https://github.com/ThePythonGuy3/CustomJsonLib

Feel free to ask any questions as to how to make it work (but please ping me if you do so because I don't always check this server :p)

GitHub

A library/mod that allows Mindustry mods to support custom JSON fields. - ThePythonGuy3/CustomJsonLib

pine goblet
#

CustomJsonLib - Added support for custom JSON tags for all mods :)

inner gorge
pine goblet
#

and I didn't make that just for the sake of it, there is a mod I am working on that needs it, so I decided to make it a library instead of just a part of it

#

:)

pine goblet
#

The library is now supported as a Maven dependency, meaning you no longer need to import the library jar manually for compiling. Check the README for more information on how to automatically import it now.

marble plover
#

how do i add new stuff?

pine goblet
marble plover
#

json

#

like how to add new effects?
specifically scathe explosion kinda stuff

pine goblet
#

from what I can tell no mods currently use CustomJsonLib

#

unless you want to make a java mod that allows for new effects?

#

are you sure you can't just do it without CustomJsonLib?

#

is ExplosionBulletType not allowed?

marble plover
#

no like im trying to say like can i use this to make effects that cant be made with vanilla effects

pine goblet
#

yes

#

but somebody (can be you) needs to make a js/java mod that implements those json keys

#

for you to use it in your json only mod

#

this is just a library

#

not a collection of json functionality