Class PDCCheck
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 Summary
ConstructorsConstructorDescriptionPDCCheck
(org.bukkit.NamespacedKey key, org.bukkit.persistence.PersistentDataType<?, ?> type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(org.bukkit.inventory.ItemStack original, org.bukkit.inventory.ItemStack check) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.tnemc.item.platform.Identifiable
identifier
Methods inherited from interface net.tnemc.item.platform.check.LocaleItemCheck
applies, check
-
Constructor Details
-
PDCCheck
-
-
Method Details
-
check
- Specified by:
check
in interfaceLocaleItemCheck<org.bukkit.inventory.ItemStack>
- Parameters:
original
- the original stackcheck
- the stack to use for the check- Returns:
- True if the check passes, otherwise false.
-