Custom name is still broken
opekope2 opened this issue ยท 8 comments
It was never fixed. The client always forgets NBT information as soon as block entities get unloaded.
Apparently, the server doesn't send the NBT after restarting, so it's still broken
This mod on server resolve the issue
https://modrinth.com/mod/know-my-name
I haven't seen this mod, thanks for sending it.
Also, custom names appear on the top of the GUI, which should work on a vanilla server.
I tried to use a method to query nbt of a block entity (similar to what F3+I does), but that requires some permissions (which is not always granted).
There was a time when the OptiGUI code world run on the server side, which kind of worked on a local world, but not on a remote server. This feature was not intended and OptiGUI no longer does anything on server-side.
Custom names are stored in NBT, which is sent by the server for most block entities, but not for chests.
Custom name matching works for most block entities, except for chests.
Maybe you could add it in description just like animatica for people who want to solve that problem
Yeah, I'll do it soon. Much easier to do, until I have time to fix this (and other bugs)
We implemented the same fix into Purpur in July, so that OptiGUI could work
Custom name is finally fixed by a workaround by using Interaction.screenTitle
as a fallback, as seen on line 59:
I'll leave this here in case anyone wants to develop filters for OptiGUI.