java.lang.Object
net.tnemc.item.bukkitbase.platform.check.PDCCheck
All Implemented Interfaces:
ItemCheck<org.bukkit.inventory.ItemStack>, LocaleItemCheck<org.bukkit.inventory.ItemStack>, Identifiable

public abstract class PDCCheck extends Object implements LocaleItemCheck<org.bukkit.inventory.ItemStack>
PDCCheck
Since:
0.1.7.7
Author:
creatorfromhell
  • Constructor Details

    • PDCCheck

      public PDCCheck(org.bukkit.NamespacedKey key, org.bukkit.persistence.PersistentDataType<?,?> type)
  • Method Details

    • check

      public boolean check(org.bukkit.inventory.ItemStack original, org.bukkit.inventory.ItemStack check)
      Specified by:
      check in interface LocaleItemCheck<org.bukkit.inventory.ItemStack>
      Parameters:
      original - the original stack
      check - the stack to use for the check
      Returns:
      True if the check passes, otherwise false.