Class PlayerLootData
java.lang.Object
net.playavalon.mythicdungeons.dungeons.rewards.PlayerLootData
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class PlayerLootData
extends Object
implements org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
ConstructorDescriptionPlayerLootData
(Map<String, Object> config) PlayerLootData
(org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLootCooldown
(FunctionReward reward, Date resetTime) void
getLootCooldown
(FunctionReward reward) boolean
boolean
hasLootOnCooldown
(FunctionReward reward) void
removeLootCooldown
(LootCooldown cooldown)
-
Constructor Details
-
PlayerLootData
-
PlayerLootData
public PlayerLootData(org.bukkit.entity.Player player)
-
-
Method Details
-
addLootCooldown
-
removeLootCooldown
-
getLootCooldown
-
checkCooldowns
public void checkCooldowns() -
hasLootOnCooldown
public boolean hasLootOnCooldown() -
hasLootOnCooldown
-
serialize
- Specified by:
serialize
in interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
-