gigaherz / JsonThings

Data-driven minecraft
https://www.curseforge.com/minecraft/mc-mods/json-things
Other
22 stars 6 forks source link

Registering addons #13

Open screret opened 1 year ago

screret commented 1 year ago

is there a way you could facilitate creating custom thing types? e.g. an api i would like to add the ability to register some other types of things in my mod.

screret commented 1 year ago

also, github has a wiki tab you could use instead of a folder in the source root

gigaherz commented 1 year ago

I know there's a wiki tab, but it's easier for me to update the documentation as I code, in the same repository, vs trying to remember later, and failing because my memory is shit.

There's a way to register parsers for new thing types, but the timings of it may not work for other mods, I have to look into it properly. The API may not be fully complete, though, and I welcome people to try to use it and report any issues they find.

screret commented 1 year ago

Well then I'll try yo set it up and will come back with patches if it doesn't work.