GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.71k stars 674 forks source link

After modifying the game height, the modified parts of geyser cannot be converted #4998

Closed yzklpaa closed 1 month ago

yzklpaa commented 1 month ago

Describe the bug

After modifying the height of the original Minecraft game using data packets, it was found that geyser was unable to convert normal blocks located in extremely high areas (y=320 or above) and extremely low areas (y=-64 or below), resulting in players of the Bedrock version being unable to render any content.

To Reproduce

  1. Load any data package that modifies the height of the game. Here is Infinite Cave.
  2. Enter the server (Infinite Cave modified the world's lowest altitude from y=-64 to y=-128) and arrive at the y=-64~-128 area.
    1. It can be seen that the bug has already appeared.

Expected behaviour

Should be square area, showing a blank.

Screenshots / Videos

Screenshot_20240827_162644_com mojang minecraftpe Screenshot_20240827_162455_com tungsten fcl The following is a scene of Java and Bedrock players watching from the same locationLeft bedrock , right Java

Server Version and Plugins

No response

Geyser Dump

https://dump.geysermc.org/i0hJAgzlxcbrhW0ZMapiQc8dsVR6nQXJ

Geyser Version

1.21 2.4.2-b650 (git-master-7da1d7d)

Minecraft: Bedrock Edition Device/Version

1.21.2

Additional Context

I think we can modify the geyser conversion height through configuration

onebeastchris commented 1 month ago

This is a duplicate of https://github.com/GeyserMC/Geyser/issues/3804, and a can't fix - Bedrock's world heights/lows are hardcoded

yzklpaa commented 1 month ago

Is there no good solution?