Class CondIsStackable

All Implemented Interfaces:
Debuggable, SyntaxElement, Checker<org.bukkit.inventory.ItemStack>

@Name("Is Stackable") @Description("Checks whether an item is stackable.") @Examples({"diamond axe is stackable","birch wood is stackable","torch is stackable"}) @Since("2.7") public class CondIsStackable extends PropertyCondition<org.bukkit.inventory.ItemStack>
  • Constructor Details

    • CondIsStackable

      public CondIsStackable()
  • Method Details

    • check

      public boolean check(org.bukkit.inventory.ItemStack item)
      Specified by:
      check in interface Checker<org.bukkit.inventory.ItemStack>
      Specified by:
      check in class PropertyCondition<org.bukkit.inventory.ItemStack>
    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class PropertyCondition<org.bukkit.inventory.ItemStack>