Geyser
Geyser copied to clipboard
Invisible items in the inventory
Describe the bug
Certain items (typically containers with lots of nbt data) will not be visible to Bedrock players. They can have these large items in their inventory, but it won't be displayed to them. So far this has happened with shulker boxes and barrels.
I dumped an example item that causes this issue in this gist: https://gist.github.com/cerus/86ee2c47b5c033a0c017a4e520bda15c A modified version of the item that can be displayed can also be found in the dump.
The example item has a size of around 127K bytes. I tried creating a stone item with lots of nbt data (160K bytes) and for some reason this can be displayed by the Bedrock client, so I assume this only affects containers.
To Reproduce
- Create a container (barrel, shulkerbox, ...) with lots of nbt data
- Give the item to a Bedrock client
- The client will not see the item
Expected behaviour
I expect that the Bedrock client will be able to see the item
Screenshots / Videos
Server Version and Plugins
Server:
This server is running Paper version git-Paper-792 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
You are 2 version(s) behind
Previous version: git-Paper-790 (MC: 1.16.5)
Proxy:
[06:10:27] [main/INFO]: Enabled Waterfall version git:Waterfall-Bootstrap:1.18-R0.1-SNAPSHOT:ba3bbcc:483
Plugins:
WorldEdit, WorldGuard, Floodgate, LuckPerms and lots of private plugins
Geyser Dump
No response
Geyser Version
Geyser version 2.0.3-SNAPSHOT (git-master-137eb3e)
Minecraft: Bedrock Edition Device/Version
1.18.12.01 on Linux using https://github.com/minecraft-linux/mcpelauncher-manifest and 1.18.32 on Android
Additional Context
No response
Could you please dump the NBT by holding the broken item in your hand and running /paper dumpitem
? The output will also post to the console. Thanks!
Could you please dump the NBT by holding the broken item in your hand and running
/paper dumpitem
? The output will also post to the console. Thanks!
Here's the dump: https://gist.githubusercontent.com/cerus/305344fef6fc73b98249f579ae1fda95/raw/53ac390d2446351c7e1ae589f5f45df7c74cba3a/nbt-dump
Sorry for the delay - the most recent dump seems to have included the chat colors that Paper uses for making the output pretty. Would you be able to get one with those stripped? Thanks.
@Camotoy here I made a datapack to give yourself the item. bukkit_datapack.tar.gz
The bug has been confirmed. Issue:
Caused by: java.lang.IllegalArgumentException: Reached depth limit
The NBT tag is very large.
Hey, is there any update on this? Are you planning on fixing this or is it out of scope?
Thanks!
Does this issue still occur on the latest version of Geyser? If that's the case, send a new Geyser dump.
Does this issue still occur on the latest version of Geyser? If that's the case, send a new Geyser dump.
Will test this out once we update Geyser in a couple of days, I'll keep you updated
Closing this due to no response, feel free to create a new issue with reproduction steps in case it still persists :)