I actually had the same problem in the beginning too. What I did was, I downloaded the latest version from the forge website.
Make sure you download "latest", not "recommended". In the latest version, the function names should be deobfuscated.
The version I used was 1.15.2-31.1.19. Im not sure why, the mapping for it is 20200225-1.15.1.
Hope it helps you!
What he means, is that 1.12 is no longer supported on this forum due to age.
Please update to a modern version to receive support here.
More information on supported versions can be found in the LTS link at the top of every page.
You can register either the class or an instance, but it affects which methods get checked for events!
If you register the class: static methods are checked for events
If you register an instance of the class, non-static methods are checked for events.
In this case I think you've registered it correctly.
I suggest you troubleshoot it by putting a breakpoint in the forge code, at the point that it posts the DifficultyChangeEvent.
That will tell you if your registration has failed.
(Search project and library for usages of DifficultyChangeEvent)
-TGG
So I tried just setting the value of the ItemRenderer to an extended version using reflection and it stopped the ModelManager from getting the splashList from the bakery resulting in a bunch of missing textures (unsurprisingly). I tried setting this during the ModelBakeEvent which fixed this issue but opened up a realm of new problems. Since I didn't change the ItemRenderer right when Minecraft was initializing, a bunch of variables set still had the regular ItemRenderer attached to it. I overwrote all of those variables using reflection as well. I know this is not a good idea but I was testing a case. The issue with the idea is that it creates a new instance each time the models are reloaded. Which means that if you refresh the models (e.g. F3 + T) all data currently being used will be reset. So, the game simply crashes whenever those buttons are pressed.
I still want to find a way of doing this without having to create a PR for a hook into ItemRenderer#getItemModelWithOverrides. Maybe there is another way to hook into all the itemstacks at once and update their current model.
Hello everyone
Sorry to be such a noob. I am brand new to minecraft mods and trying to set things up for my kids. They really wanted a Dragons themes mod like Yow to Train Your Dragon movies or something similar where you raise\train\ride\fight dragons and stuff. We are using a hand-me-down Mac with OS10.12.6
To show I did try some things LOL
We have Minecraft 1.15.2 and installed the same forge version. Then I searched the mods site and only found Dragons Fire and Ice 1.12 to seem to be a full realm experience. Downloaded and put that in the Mods folder but then when I opened forge, an error message said I needed to open Minecraft in 1.12.2 and install Forge 1.12.2
So I deleted the other forge version and its folders (as well as 1.12.2) and then installed Forge 1.12.2 again. Now when I load forge it just crashes before loading anything.
I would really appreciate how to fix this so we can run that mod or even ideas on another full mod with dragons and stuff (like where is the HTTYD one)
Thanks in advance for putting up with my noob status. Hope you have a good laugh and can help us
1.12 is no longer supported on these forums due to age.
Please update to a modern version to receive support here.
More information on supported versions can be found in the LTS link at the top of every page.