Package sawfowl.regionguard.api.data
Interface PlayerData
- All Superinterfaces:
org.spongepowered.api.data.persistence.DataSerializable
- All Known Implementing Classes:
PlayerDataImpl
@ConfigSerializable
public interface PlayerData
extends org.spongepowered.api.data.persistence.DataSerializable
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerData.Builder
builder()
Getting the volume of blocks claimed by the player and the number of regions created.Getting additional limits available to the player.static PlayerData
of
(PlayerLimits limits, ClaimedByPlayer claimed) setClaimed
(ClaimedByPlayer claimed) setLimits
(PlayerLimits limits) static PlayerData
zero()
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
-
Method Details
-
builder
-
of
-
zero
-
getLimits
PlayerLimits getLimits()Getting additional limits available to the player. -
setLimits
-
getClaimed
ClaimedByPlayer getClaimed()Getting the volume of blocks claimed by the player and the number of regions created. -
setClaimed
-