public final class PlayerStatsEvent extends Event
player's statistics is
required queried using AbstractPlayerEntity.getRange(), AbstractPlayerEntity.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 |
|---|---|
AbstractPlayerEntity |
player |
PlayerStatsEvent.StatType |
statType |
double |
value |
| Constructor and Description |
|---|
PlayerStatsEvent(AbstractPlayerEntity player,
PlayerStatsEvent.StatType statType,
double value) |
public final AbstractPlayerEntity player
public final PlayerStatsEvent.StatType statType
public double value
public PlayerStatsEvent(AbstractPlayerEntity player, PlayerStatsEvent.StatType statType, double value)