FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

Inventory screen buttons change identifiers under certain conditions

benbenlaw opened this issue ยท 3 comments

commented

Describe the bug
Using a vanilla element to link another element causes linked element to move incorrectly with recipe book open

To Reproduce
Steps to reproduce the behavior (e.g.):

  1. Link button to recipe book in surivial inventory

Image
3. Open recipe book,
4. close inventory
5. open inventory

Image

Expected behavior
Button should stay with anchored elent

Game Log
Please always include your .minecraft/logs/latest.log file right after the issue happened.
Please don't send the whole log as plain text here. Upload the file to https://gist.github.com and send the link.
DON'T SEND LOG SNIPPETS OR CRASH LOGS, PLEASE SEND THE WHOLE LATEST.LOG FILE!

Screenshots
included in steps

Basic Informations (please complete the following information):

  • OS: Windows
  • FancyMenu Version [3.4.6]
  • NeoForge [21.1.122]
  • Minecraft Version [1.21.1]
  • Active Mods [JEI, Darkmode Everywhere]
commented

It's probably related to the book button. maybe its position is calculated/updated in a strange way. Anchoring to normal buttons works fine, so it's probably not something I can fix.

commented

its a strange one as when you press the recipe button the other button does move its just when the inventory is closed. i did try to anchor to the extreme sound muffler and the curio button with the same results

commented

I ran into the same problem and came to the conclusion that for some reason, if you open the inventory, open the recipe book, close and open the inventory, the buttons IDs change. That is, if you close the inventory with an open recipe book and reopen it, it opens like a different layout with different buttons, but the ones that were manually created remain.