Class ExprInventoryAction

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<T>
ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.event.inventory.InventoryAction>
ch.njol.skript.expressions.ExprInventoryAction
All Implemented Interfaces:
Debuggable, DefaultExpression<org.bukkit.event.inventory.InventoryAction>, Expression<org.bukkit.event.inventory.InventoryAction>, SyntaxElement

@Name("Inventory Action") @Description("The <a href=\'./classes.html#inventoryaction\'>inventory action</a> of an inventory event. Please click on the link for more information.") @Examples("inventory action is pickup all") @Since("2.2-dev16") public class ExprInventoryAction extends EventValueExpression<org.bukkit.event.inventory.InventoryAction>
  • Constructor Details

    • ExprInventoryAction

      public ExprInventoryAction()
  • Method Details

    • toString

      public String toString(@Nullable org.bukkit.event.Event e, boolean debug)
      Specified by:
      toString in interface Debuggable
      Overrides:
      toString in class EventValueExpression<org.bukkit.event.inventory.InventoryAction>
      Parameters:
      e - The event to get information to. This is always null if debug == false.
      debug - If true this should print more information, if false this should print what is shown to the end user
      Returns:
      String representation of this object