Legacy4J

Legacy4J

224k Downloads

[Crash] Revert to old crafting_tab_listing read/write method

Cixon opened this issue ยท 5 comments

commented

Legacy4J Version

1.21.1-1.8

Mod Loader Version

NeoForge 21.1.115

Bug/Glitch Occurrence Context

My game crashed when opening crafting UI

Here's my .json from my modpack:
crafting_tab_listing.json

I'm requesting documentation/notes that will allow me to use this file once again, it worked prior to update.
Thank you and welcome back @Wilyicaro !

Crash Report

No response

What happened wrong?

Game crash using old crafting_tab_listing

commented

I don't think the format changed, I think it's bugged. I removed some vanilla items from the list and added modded items as well, added support for mods that are not installed so maybe this causes a issue now...? mind you, doing this in the past did not warrant a crash when opening the crafting menu.

commented

I don't think the format changed, I think it's bugged. I removed some vanilla items from the list and added modded items as well, added support for mods that are not installed so maybe this causes a issue now...? mind you, doing this in the past did not warrant a crash when opening the crafting menu.

The syntax was changed in 1.7.5, but still allowing to use the deprecated one, but warning in the console. This is also present in the 1.7.5 changelog. Also, the actual documentation uses the new format, this was changed on the wiki as soon as the update was released.

Ahh so technically I can use the old format. Is there a file I can refer to so I could update it? by updating I mean just copy and paste all the IDs, lol

Well, you could use this as a base, but you can't use the old format anymore, I'm sorry.

commented

I don't think the format changed, I think it's bugged. I removed some vanilla items from the list and added modded items as well, added support for mods that are not installed so maybe this causes a issue now...? mind you, doing this in the past did not warrant a crash when opening the crafting menu.

The syntax was changed in 1.7.5, but still allowing to use the deprecated one, but warning in the console. This is also present in the 1.7.5 changelog.
This support was ended in 1.8, as you noticed.
Also, the actual documentation uses the new format, this was changed on the wiki as soon as the update was released.

commented

I will certainly make some script to update the crafting_tab_listing.json and other related files, as many are having difficulties with this

commented

I don't think the format changed, I think it's bugged. I removed some vanilla items from the list and added modded items as well, added support for mods that are not installed so maybe this causes a issue now...? mind you, doing this in the past did not warrant a crash when opening the crafting menu.

The syntax was changed in 1.7.5, but still allowing to use the deprecated one, but warning in the console. This is also present in the 1.7.5 changelog. Also, the actual documentation uses the new format, this was changed on the wiki as soon as the update was released.

Ahh so technically I can use the old format. Is there a file I can refer to so I could update it? by updating I mean just copy and paste all the IDs, lol