public class FOVUpdateEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
entity |
private float |
fov |
private float |
newfov |
Constructor and Description |
---|
FOVUpdateEvent(EntityPlayer entity,
float fov) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getEntity() |
float |
getFov() |
float |
getNewfov() |
void |
setNewfov(float newfov) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final EntityPlayer entity
private final float fov
private float newfov
public FOVUpdateEvent(EntityPlayer entity, float fov)
public EntityPlayer getEntity()
public float getFov()
public float getNewfov()
public void setNewfov(float newfov)