Class FOVUpdateEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.FOVUpdateEvent

public class FOVUpdateEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Player
     
    private float
     
    private float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FOVUpdateEvent​(Player entity, float fov)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    float
     
    float
     
    void
    setNewfov​(float newfov)
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • entity

      private final Player entity
    • fov

      private final float fov
    • newfov

      private float newfov
  • Constructor Details

    • FOVUpdateEvent

      public FOVUpdateEvent(Player entity, float fov)
  • Method Details

    • getEntity

      public Player getEntity()
    • getFov

      public float getFov()
    • getNewfov

      public float getNewfov()
    • setNewfov

      public void setNewfov(float newfov)