Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/speed command changing fov only #2

Open
skythebro opened this issue Jul 8, 2020 · 4 comments
Open

/speed command changing fov only #2

skythebro opened this issue Jul 8, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@skythebro
Copy link

Information

Minecraft Version: [1.16.1]
Fabric API Version: [0.8.9+build.203-1.16.1]
OS: [Windows 10]
Other installed mods:
image

Describe the issue
When using the command /speed only the fov changes in a weird way, let me explain: if you would do /speed 10 {playername} your fov would shrink dramatically and the playerspeed would not change as shown in this screenshot
image
When you write the command /speed 0.001 {playername} the same would occur, but now the fov is bigger as shown in the screenshot below
image

Crash/Error logs
No errors present

To Reproduce
Steps to reproduce the behavior:

  1. Type in /speed 10 {playername} or any other speed value
  2. Result is fov change but no speed change

Expected behavior
I expect it to change my players speed and fov correctly

@Martmists-GH
Copy link
Member

@i509VCB Can you help me look into why walkSpeed and flySpeed abilities don't change speed?

@i509VCB
Copy link

i509VCB commented Jul 8, 2020

I assume you are synchronizing the abilities on the server player after you set the value in the command?

@Martmists-GH
Copy link
Member

Yup, otherwise FOV wouldn't change.

@Martmists-GH
Copy link
Member

Cause seems to be that we need to use Entity Attribute Modifiers for changing player speed.

@Martmists-GH Martmists-GH transferred this issue from Gunpowder-MC/Gunpowder Sep 7, 2020
@Martmists-GH Martmists-GH added the bug Something isn't working label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants