Class InventoryConditionResult

java.lang.Object
net.minestom.server.inventory.condition.InventoryConditionResult

public class InventoryConditionResult extends Object
Used by InventoryCondition to step in inventory click processing.
  • Constructor Details

    • InventoryConditionResult

      public InventoryConditionResult(ItemStack clickedItem, ItemStack cursorItem)
  • Method Details

    • getClickedItem

      public ItemStack getClickedItem()
    • setClickedItem

      public void setClickedItem(ItemStack clickedItem)
    • getCursorItem

      public ItemStack getCursorItem()
    • setCursorItem

      public void setCursorItem(ItemStack cursorItem)
    • isCancel

      public boolean isCancel()
    • setCancel

      public void setCancel(boolean cancel)