
1.121.6+ GUI bug
Closed this issue ยท 2 comments
What problem is this feature intended to solve?
A friend was desperate for this mod for his fabric 1.21.8 server so I built it from your repo (but using CraftedCore 7.0) as a test, and it seems to work absolutely fine.
Could you expand on what the bug is in this version of minecraft please?
If it does work, it'd be great if you could please put this version on Modrinth/Curseforge so he can include it in his modpack :)
Describe the solution you'd like
.
Have you considered any alternative solutions or features?
Additional Context
No response
Hey! The mod itself already works since Minecraft's 1.21.6 update. However, it seems like Mojang broke the entity rendering in GUI's.
Since both, woodwalkers and ReMorphed rely on such a menu, I cannot publish them until the bug is fixed.
Since in vanilla Minecraft, there is no "entity selection" menu, it probably never occurred to Mojang.
I already tried reaching out to Mojang, which closed the bug report automatically without a comment: https://report.bugs.mojang.com/servicedesk/customer/portal/2/MC-300002.
If you've got the time to work on a bug fix, I would appreciate it (you'd also get a developer wolf texture ๐).
I already tried, but I'm in my final semesters and do not have much time for coding.
I will publish my current code this evening and link you the broken classes.
EDIT: The currently uploaded code for 1.21.7 also runs on 1.21.8 with the same bug. You can see the malfunctioning code in the VariantMenu.java (I recommend commenting the real render
function and using the debug one below it).
If you use the original render
function, you can open the Variant Menu by default by pressing V
on your keyboard while being morphed as a mob with multiple variants, e.g. a wolf.
Alright. I had some time so I did my best to fix it.
As of 9b595c6, the woodwalkers' variants menu will work a bit different in order to prevent this error.
As of 134b1258c8fc49f84d854e9c27f0ba2a9df24dd4, ReMorphed will no longer be able to render mob variants within the menu (I managed to fix the error for different entity types but not for different variants).
The mods are uploading right now.
If you should find a better way to fix the error, please let me know!