SHsuperCM / CITResewn

Fabric implementation of mcpatcher's cit
MIT License
166 stars 94 forks source link

Can I number entries in the json? #490

Closed ImpulsiveLad closed 1 week ago

ImpulsiveLad commented 1 week ago

The question

Screenshot 2024-10-18 015111 I am not sure how to make them seperate, do I HAVE to make them all be in separate files? its a pain in the ass as I got 165 I need to number, stopped at 25 and it doesn't seem to be working at all.

Checklist

SHsuperCM commented 1 week ago

I'm not quite sure what you are asking for here? where are these numbers coming from?

ImpulsiveLad commented 1 week ago

so I code c# but I think these jsons are code so type is just undefined no? so I have to give it a unique entry so that type!=type

so type.1, type.2 etc and the attached properties are numbered as well?

I am quite disappointed I cannot get it to work.

etf/emf looks very similar and allows it Screenshot 2024-10-18 032338

I would think this would too as its just a lang isn't it?

SHsuperCM commented 1 week ago

The old CIT spec does not allow for multiple CITs to be defined in the same properties file.

At some point there will be a modernized spec that will allow it as it's designed with that in mind, but that is a bit away until I start working on that.

ImpulsiveLad commented 1 week ago

alright, I'll have to manually modify them one by one, I got almost 400 to go through... ig I can only fix the actively broken ones at least.

particularly potions get fucked up because for some reason adding recipes seems to change the namespace for the potion so I have to use *:name to make it not break from a million mods