Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PlayerEntity getEntity()  
      float getFov()  
      float getNewfov()  
      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 Detail

      • fov

        private final float fov
      • newfov

        private float newfov
    • Constructor Detail

      • FOVUpdateEvent

        public FOVUpdateEvent​(PlayerEntity entity,
                              float fov)
    • Method Detail

      • getFov

        public float getFov()
      • getNewfov

        public float getNewfov()
      • setNewfov

        public void setNewfov​(float newfov)