Class PlayerStatsEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.PlayerStatsEvent

public final class PlayerStatsEvent extends Event
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.