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

Started by QB on Sun, 05/03/2020 - 17:40

Topic category: Help with modding (Java Edition)

Last seen on 15:10, 2. Feb 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to change the FOV of a player when a keybinding is clicked?
Sun, 05/03/2020 - 17:40

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!

Last seen on 03:56, 30. May 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 05:05, 21. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
or speed
Sat, 06/06/2020 - 05:14

or speed

Last seen on 15:10, 2. Feb 2021
Joined May 2019
Points:

User statistics:

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

Alright, thanks for the help, guys! :D

Last seen on 14:37, 5. Jun 2021
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.