Uses of Enum
de.marcely.bedwars.api.player.AttributeChangeCause
-
Uses of AttributeChangeCause in de.marcely.bedwars.api.player
Modifier and TypeMethodDescriptionstatic AttributeChangeCause
Returns the enum constant of this type with the specified name.static AttributeChangeCause[]
AttributeChangeCause.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionPlayerStats.add
(String key, Number addAmount, AttributeChangeCause cause) Adds an amount to a stats entry.PlayerProperties.remove
(String key, AttributeChangeCause cause) Removes the property from the internal storage.PlayerProperties.replace
(String key, String value, AttributeChangeCause cause) CombinesPlayerProperties.get(String)
withPlayerProperties.set(String, String)
.void
PlayerProperties.set
(String key, String value, AttributeChangeCause cause) Will set the value of the property with that key
Ignores whether the key is uppercase or undercase
You may only use the following chars for the key: a-z, 0-9, :, _
It's safe to use UTF8 for the value.
Values are limited to 8192 bytes, otherwise an exception will be thrownPlayerStats.set
(String key, Number value, AttributeChangeCause cause) Sets the value of a stats entry,