Closed eclipseisoffline closed 7 months ago
Adding default fallbacks when retrieving blocks (replacing BlockRegistries.JAVA_BLOCKS.get
calls with BlockRegistries.JAVA_BLOCKS.getOrDefault
) in BedrockActionTranslator
and JavaBlockDestructionTranslator
seems to mostly fix the issue. When adding the profile texture values used by the custom head blocks to custom-skulls.yml
these blocks have a better appearance, though they still appear attached to a wall, which can cause collision desyncs.
I created a commit solving the issue. Should I pull request, or is there a better fix available?
Happy to accept the PR, will need some testing though
Describe the bug
Hello, I'm using a Polymer mod (Universal Shops) on a private server with Geyser. This mod uses player heads to represent custom blocks, which seem a bit buggy when on Bedrock, especially when trying to break them.
Notably, when starting to break a block in survival mode (on a Bedrock client), this error pops up in the server logs:
And another error pops up when finishing breaking a block:
In the end, Bedrock players are unable to destroy these blocks in survival mode (it leads to a desync). Notably, Bedrock players in creative mode can destroy them fine with no errors popping up in the logs. I have tried setting the Geyser
use-direct-connection
tofalse
to fix the issue, but with no success.To Reproduce
Setup a simple Fabric server with Geyser (optionally Floodgate as well, this was used in my testing environment) and any mod using the library Polymer to create custom blocks represented by player heads (in my testing environment Universal Shops).
Join the server using Bedrock, place down a custom block (in my case the Trade Shop), and try to break it (in survival/adventure mode). Notice that one error appears when starting to break the block, and another when finishing breaking it. Also notice that the block appears broken on the Bedrock client, but isn't.
Expected behaviour
It is expected for the block to break correctly with no issues or errors appearing in the logs, since Polymer is fully compatible with vanilla Java clients, it is expected to be fully compatible with vanilla Bedrock as well.
Screenshots / Videos
Notice that along with block breaking being broken, the shop block has a weird appearance as well. Its UI however is fully functional.
Server Version and Plugins
Geyser Dump
https://dump.geysermc.org/1eVduK3F21L60G9TYAbv10D4dOZWyBgZ
Geyser Version
2.2.3-SNAPSHOT (git-master-fa2e4e5)
Minecraft: Bedrock Edition Device/Version
1.20.73, MCPE (ran on Linux using mcpelauncher)
Additional Context
No response