Jump to content

What are the classes in charge of handling the JSON of resources?


Recommended Posts

Hello,
When loading resources for Items, Blocks and other objects from the resources folder I would like to know:


1.- What classes are in charge within Forge of carrying out this process
2.- Is there any way to show in a log the reading and parameters loaded, for example in an Item or in a Block?

Thank you in advantage!

Link to comment
Share on other sites

Start with ReloadableResourceManager and PreparableReloadListener with its subclasses and follow the rabbit hole.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.