How to change FOV using procedures

Started by SirPogsalot on

Topic category: Help with modding (Java Edition)

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Last seen on 00:36, 3. Mar 2020
Joined Sep 2017
Points:

User statistics:

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

Try giving speed or slowness

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 08:59, 10. Jul 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

 

Last seen on 21:19, 18. Aug 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

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

I don't think this is possible yet.

Last seen on 15:38, 4. Nov 2023
Joined Dec 2020
Points:

User statistics:

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

I wanna do this too.

Last seen on 02:58, 24. May 2022
Joined Sep 2018
Points:

User statistics:

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

I too would liek t0 du tis, hlpp

Last seen on 02:58, 24. May 2022
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 20:29, 28. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.