public class Boosters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Boosters.BoosterType |
Constructor and Description |
---|
Boosters() |
Modifier and Type | Method and Description |
---|---|
static int |
getMultiplier(org.bukkit.entity.Player p)
Get integer multiplier
|
static java.util.HashMap<org.bukkit.entity.Player,java.lang.Integer> |
getPlayerBoosters()
Get the preferences list
|
static boolean |
hasBooster(org.bukkit.entity.Player p)
Check if a player has an active booster
|
static void |
setPlayerBooster(org.bukkit.entity.Player p,
Boosters.BoosterType boosterType)
Save booster for a player
If the player is already in the preferences list it will be replaced.
|
public static java.util.HashMap<org.bukkit.entity.Player,java.lang.Integer> getPlayerBoosters()
public static boolean hasBooster(org.bukkit.entity.Player p)
public static int getMultiplier(org.bukkit.entity.Player p)
public static void setPlayerBooster(org.bukkit.entity.Player p, Boosters.BoosterType boosterType)