public class PlayerOneBlockConfigurator extends PlayerConfigurationUtils
Constructor and Description |
---|
PlayerOneBlockConfigurator() |
Modifier and Type | Method and Description |
---|---|
static int |
getBlock(org.bukkit.entity.Player player) |
static int |
getHighestPhase(org.bukkit.entity.Player player) |
static int |
getLevel(org.bukkit.entity.Player player) |
static int |
getPhase(org.bukkit.entity.Player player) |
static int |
getTotalBlocks(org.bukkit.entity.Player player) |
static void |
setBlock(org.bukkit.entity.Player player,
int block) |
static void |
setHighestPhase(org.bukkit.entity.Player player,
int phase) |
static void |
setLevel(org.bukkit.entity.Player player,
int level) |
static void |
setPhase(org.bukkit.entity.Player player,
int phase) |
static void |
setTotalBlocks(org.bukkit.entity.Player player,
int blocks) |
playerConfigGetBoolean, playerConfigGetBoolean, playerConfigGetDouble, playerConfigGetInt, playerConfigGetInt, playerConfigGetItemStacks, playerConfigGetLocation, playerConfigGetLong, playerConfigGetLong, playerConfigGetString, playerConfigGetString, playerConfigGetStringList, playerConfigGetStringList, playerConfigSet, playerConfigSet
public static int getHighestPhase(org.bukkit.entity.Player player)
player
- The player that owns the config file.public static void setHighestPhase(org.bukkit.entity.Player player, int phase)
player
- The player that owns the config file.phase
- The new highest reached one-block phase of the player.public static int getPhase(org.bukkit.entity.Player player)
player
- The player that owns the config file.public static void setPhase(org.bukkit.entity.Player player, int phase)
player
- The player that owns the config file.phase
- The new one-block phase of the player.public static int getLevel(org.bukkit.entity.Player player)
player
- The player that owns the config file.public static void setLevel(org.bukkit.entity.Player player, int level)
player
- The player that owns the config file.level
- The new one-block level of the player.public static int getBlock(org.bukkit.entity.Player player)
player
- The player that owns the config file.public static void setBlock(org.bukkit.entity.Player player, int block)
player
- The player that owns the config file.block
- The new one-block current block of the player.public static int getTotalBlocks(org.bukkit.entity.Player player)
player
- The player that owns the config file.public static void setTotalBlocks(org.bukkit.entity.Player player, int blocks)
player
- The player that owns the config file.blocks
- The new one-block total blocks destroyed of the player.