How to change FOV using procedures

Started by SirPogsalot on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 weeks ago
Joined May 2018
Points:
1100

User statistics:

  • Modifications: 8
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
How to change FOV using procedures

Does anyone know how or if it's possible to use procedures to change the FOV of the game?

Active 5 years ago
Joined Sep 2017
Points:
940

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 200
Try giving speed or slowness
Thu, 06/28/2018 - 03:10

Try giving speed or slowness

Active 3 weeks ago
Joined May 2018
Points:
1100

User statistics:

  • Modifications: 8
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
Without the effects, I mean…
Thu, 06/28/2018 - 15:09

Without the effects, I mean. I'm trying to make a pair of binoculars which, when right-clicked, will change FOV really low (which will, in effect, cause the screen to zoom in) and I don't need effects to slow the player while using binoculars.

Active 4 years ago
Joined Aug 2019
Points:
661

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
I am trying to make a…
Sun, 02/23/2020 - 21:19

I am trying to make a magnifying glass in mcreator and i also want to chang the fov

 

Active 5 years ago
Joined Jun 2020
Points:
638

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
I'm trying to make a sniper…
Sat, 06/27/2020 - 23:27

I'm trying to make a sniper rifle and would also like to know how to change the FOV of a player while holding an item

Active 10 months ago
Joined Jun 2019
Points:
2601

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
I don't think this is…
Sat, 06/27/2020 - 23:33

I don't think this is possible yet.

Active 3 weeks ago
Joined Dec 2020
Points:
753

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 141
I wanna do this too.
Thu, 12/31/2020 - 13:30

I wanna do this too.

Active 3 years ago
Joined Sep 2018
Points:
687

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
I too would liek t0 du tis,…
Thu, 03/04/2021 - 18:28

I too would liek t0 du tis, hlpp

Active 3 years ago
Joined Sep 2018
Points:
687

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
With all seriousness, the…
Thu, 03/04/2021 - 18:36

With all seriousness, the best way I found is to add a potion effect without particles, make it go forever while also adding a custom NBT tag saying "scoped" or "zoomed", and when clicked again it will remove the effect and tag, should also make it where the player can't switch away from the item when scoped/zoomed, or make a tick that detects when they switch and then remove the effect and tag if it detects it.

Another fix is to detect if the player already has the effect when scoping, this way the player can't just scope and unscope when they want to remove a slowness effect.

This is the best possible solution I could find.

Active 5 days ago
Joined Feb 2018
Points:
2003

User statistics:

  • Modifications: 1
  • Forum topics: 166
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 767
It's possible to change FOV…
Thu, 03/04/2021 - 18:50

It's possible to change FOV but you need to code it yourself.

Active 3 weeks ago
Joined May 2018
Points:
1100

User statistics:

  • Modifications: 8
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
What code would I use? I'm…
Thu, 03/25/2021 - 14:24

What code would I use? I'm fine with using code as long as it's not too complicated.