Class InventoryActionRequest

java.lang.Object
com.zenith.feature.inventory.InventoryActionRequest

@NullMarked public class InventoryActionRequest extends Object
  • Constructor Details

    • InventoryActionRequest

      protected InventoryActionRequest(@Nullable Object owner, List<InventoryAction> actions, int priority, @Nullable Integer actionDelayTicks)
  • Method Details

    • isCompleted

      public boolean isCompleted()
    • isExecuting

      public boolean isExecuting()
    • next

      protected @Nullable InventoryAction next()
    • peek

      protected @Nullable InventoryAction peek()
    • getOwnerName

      public String getOwnerName()
    • builder

      public static InventoryActionRequest.Builder builder()
    • noAction

      public static InventoryActionRequest noAction(Object owner, int priority)
    • getOwner

      public @Nullable Object getOwner()
    • getActions

      public List<InventoryAction> getActions()
    • getPriority

      public int getPriority()
    • getActionDelayTicks

      public @Nullable Integer getActionDelayTicks()
    • getActionExecIndex

      public int getActionExecIndex()
    • setActionExecIndex

      public void setActionExecIndex(int actionExecIndex)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object