Class HoneypotPlayerObject
java.lang.Object
org.reprogle.honeypot.common.storageproviders.HoneypotPlayerObject
-
Constructor Summary
ConstructorsConstructorDescriptionHoneypotPlayerObject(UUID uuid, int blocksBroken) Create a HoneypotPlayerObject -
Method Summary
Modifier and TypeMethodDescriptionintGet's the number of blocks broken by the playergetUUID()Get the UUID of the playervoidsetBlocksBroken(int blocksBroken) Set's the amount of blocks broken
-
Constructor Details
-
HoneypotPlayerObject
Create a HoneypotPlayerObject- Parameters:
uuid- The UUID of the playerblocksBroken- How many blocks the player has broken
-
-
Method Details
-
getUUID
Get the UUID of the player- Returns:
- Player's UUID
-
getBlocksBroken
public int getBlocksBroken()Get's the number of blocks broken by the player- Returns:
- Amount of blocks broken
-
setBlocksBroken
public void setBlocksBroken(int blocksBroken) Set's the amount of blocks broken- Parameters:
blocksBroken- The number of blocks the player has broken
-