Class PlayerStatsEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.PlayerStatsEvent
This event is fired when any of the provided
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.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlayerStatsEvent(AbstractPlayerEntity player, PlayerStatsEvent.StatType statType, double value) -
Method Summary
-
Field Details
-
player
-
statType
-
value
public double value
-
-
Constructor Details
-
PlayerStatsEvent
public PlayerStatsEvent(AbstractPlayerEntity player, PlayerStatsEvent.StatType statType, double value)
-