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 Details

    • PlayerLootData

      public PlayerLootData(Map<String,Object> config)
    • PlayerLootData

      public PlayerLootData(org.bukkit.entity.Player player)
  • Method Details

    • addLootCooldown

      public void addLootCooldown(FunctionReward reward, Date resetTime)
    • removeLootCooldown

      public void removeLootCooldown(LootCooldown cooldown)
    • getLootCooldown

      public LootCooldown getLootCooldown(FunctionReward reward)
    • checkCooldowns

      public void checkCooldowns()
    • hasLootOnCooldown

      public boolean hasLootOnCooldown()
    • hasLootOnCooldown

      public boolean hasLootOnCooldown(FunctionReward reward)
    • serialize

      @NotNull public Map<String,Object> serialize()
      Specified by:
      serialize in interface org.bukkit.configuration.serialization.ConfigurationSerializable