public final class PlayerStatsEvent extends Event
player's statistics is
required queried using AbstractEntityPlayer.getRange(), AbstractEntityPlayer.getMoveSpeed() and similar methods. The type of
statistic being queried is indicated by the statType. Changing the
value will cause the stat to be changed. The event cannot be
cancelled.| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerStatsEvent.StatType |
| Modifier and Type | Field and Description |
|---|---|
AbstractEntityPlayer |
player |
PlayerStatsEvent.StatType |
statType |
double |
value |
| Constructor and Description |
|---|
PlayerStatsEvent(AbstractEntityPlayer player,
PlayerStatsEvent.StatType statType,
double value) |
public final AbstractEntityPlayer player
public final PlayerStatsEvent.StatType statType
public double value
public PlayerStatsEvent(AbstractEntityPlayer player, PlayerStatsEvent.StatType statType, double value)