CraftTweaker

CraftTweaker

151M Downloads

Make more detailed zsdump of GlobalRegistry

Prunoideae opened this issue · 2 comments

commented

Feature request name
Make more detailed zsdump of GlobalRegistry

Feature request description
To add augment types of the methods in any class in GlobalRegistry. For example in IFurnaceManager:
Before: "addRecipe": {}
After: "addRecipe": [["IItemStack", "IIngredient", "int"], [["IItemStack", "IIngredient"]]

Feature request reason
Generally speaking, this is for making recipe modifications on some low-end computers, as there is not enough memory to run too many processes parallely, and it's easier for modpack makers to check the usage of methods offline, and cut off the possibility to restart minecraft for a several times just because a mistake in augment type.
And for a more private reason, a friend of mine is maintaining an extension of ZenScript, which works like this:
image
But it could be much better if the serializer can dump more things about the registries, then it could remind users about the augment they typed when they are coding on this.

Feature request dependencies
This feature should not require any dependencies.

commented

Fine, I wrote a serializer myself, sorry for disturbing you.

commented

🤷‍♂️
I've had absolutely no free time this past week.

You could have also made a PR if you were willing to write code yourself.