GeyserMC / Geyser

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

Unable to change movement velocity #4397

Open candrawardana opened 10 months ago

candrawardana commented 10 months ago

Describe the bug

plugins that changes velocity like grappling hook, fast move, can't change velocity of bedrock's player

not only that, simple as "to velocity" no works, player just stuck

To Reproduce

  1. install grappling hook, or simply create change player movement velocity plugins
  2. change it's velocity

Expected behaviour

velocity change

Screenshots / Videos

No response

Server Version and Plugins

No response

Geyser Dump

No response

Geyser Version

build 412

Minecraft: Bedrock Edition Device/Version

1.19 & 1.20

Additional Context

No response

Kas-tle commented 8 months ago

Is this still an issue on 1.20.71?

EpicKnarvik97 commented 7 months ago

I can confirm that this is a problem (Latest geyser as of today, Bedrock v1.20.73). In my case, I've been testing with my own plugin. player.setVelocity works fine for Java players, and properly changes the velocity both vertically and horizontally. When I try using Bedrock through Geyser, I am able to see a change in the vertical velocity when that's changed. However, I cannot make the horizontal velocity (X,Z) change from the default no matter what I set it to.

I should specify that the behavior I mentioned is specifically when the player is falling, and a velocity change is continuously applied. When just setting a velocity when a player walks onto a block, it seems to work as intended.