How to change the FOV of a player when a keybinding is clicked?

Started by QB on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change the FOV of a player when a keybinding is clicked?

So I wanted to make a scope aiming system. The first thing that pop up in my mind is to change the FOV with a custom GUI. I don't know how to change the FOV and I don't know if it is possible or not. Help me please, thank you!

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The only way I can think to…
Sat, 06/06/2020 - 01:28

The only way I can think to do it is to give the player a super strong slowness effect but then the player wouldn't be able to move.

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright, thanks for the help…
Sat, 06/06/2020 - 14:59

Alright, thanks for the help, guys! :D

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, aΒ way to get speed but…
Wed, 06/10/2020 - 00:13

Also, a way to get speed but be slow is to put them in a cobweb.