GeyserMC / Geyser

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

when holding items in both hands and interacting geyser does not correctly send both the main hand and offhand interactions to the event handler #3480

Open xsmeths opened 1 year ago

xsmeths commented 1 year ago

Describe the bug

when holding items in both hands and interacting geyser does not correctly send both the main hand and offhand interactions to the event handler leading to plugin incompatibilities with bedrock edition clients

To Reproduce

  1. hold items in both hands
  2. write a simple plugin to print out which hands have items in them
  3. hey look, it only picks up the main hand from bedrock edition clients but main hand and offhand from java edition clients

Expected behaviour

correctly send both the main hand and offhand interactions to the event handler

Screenshots / Videos

No response

Server Version and Plugins

geyser-spigot - version: Build #1262 foodgate-spigot - version: Build #74 paper - version: git-Paper-362 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: 52718db)

Geyser Dump

No response

Geyser Version

Geyser version 2.1.0-SNAPSHOT (git-master-6485200) (Java: 1.19.3, Bedrock: 1.19.20 - 1.19.50/1.19.51) >

Minecraft: Bedrock Edition Device/Version

windows 10 edition

Additional Context

<>_<>

Camotoy commented 1 year ago

This will probably be fixed eventually, but in order to properly fix it we need to replicate Java item and block behaviors on the client (I.E. when the client clicks a grass block, what is supposed to happen?)

Therefore it's low priority.

xsmeths commented 1 year ago

Thanks for the reply, well, I'll leave this low priority issue report for you to refer back to anyhow, I'll be looking forward to eventually when this issue will be probably fixed :)

DaddyRobLIVE commented 4 months ago

Any update? sorry to bump this up