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 final PlayerEntity
     
    private final float
     
    private float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FOVUpdateEvent(PlayerEntity 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 PlayerEntity entity
    • fov

      private final float fov
    • newfov

      private float newfov
  • Constructor Details

    • FOVUpdateEvent

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

    • getEntity

      public PlayerEntity getEntity()
    • getFov

      public float getFov()
    • getNewfov

      public float getNewfov()
    • setNewfov

      public void setNewfov(float newfov)