Package net.minecraftforge.client.event
Class FOVUpdateEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.FOVUpdateEvent
-
public class FOVUpdateEvent extends net.minecraftforge.eventbus.api.Event
-
-
Field Summary
Fields Modifier and Type Field Description private PlayerEntity
entity
private float
fov
private float
newfov
-
Constructor Summary
Constructors Constructor Description FOVUpdateEvent(PlayerEntity entity, float fov)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlayerEntity
getEntity()
float
getFov()
float
getNewfov()
void
setNewfov(float newfov)
-
-
-
Field Detail
-
entity
private final PlayerEntity entity
-
fov
private final float fov
-
newfov
private float newfov
-
-
Constructor Detail
-
FOVUpdateEvent
public FOVUpdateEvent(PlayerEntity entity, float fov)
-
-
Method Detail
-
getEntity
public PlayerEntity getEntity()
-
getFov
public float getFov()
-
getNewfov
public float getNewfov()
-
setNewfov
public void setNewfov(float newfov)
-
-