Class FOVModifierEvent

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

public class FOVModifierEvent 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 Player
     
    private final float
     
    private float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FOVModifierEvent(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

    • FOVModifierEvent

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

    • getEntity

      public Player getEntity()
    • getFov

      public float getFov()
    • getNewfov

      public float getNewfov()
    • setNewfov

      public void setNewfov(float newfov)