Class AbstractInventoryModule

Direct Known Subclasses:
AutoEat, AutoFish, AutoMend, AutoOmen, AutoTotem, KillAura

public abstract class AbstractInventoryModule extends Module
Modules that follow a general pattern of equipping an item to a hotbar or offhand slot and using it
  • Constructor Details

  • Method Details

    • itemPredicate

      public abstract boolean itemPredicate(ItemStack itemStack)
    • getPriority

      public abstract int getPriority()
    • doInventoryActionsV2

      public AbstractInventoryModule.InventoryActionResult doInventoryActionsV2()
      executes and provides additional data about the action, including the action future do not call both V2 and the original method, select one
    • doInventoryActions

      public int doInventoryActions()
    • isItemEquipped

      public boolean isItemEquipped()
    • getHand

      public @Nullable Hand getHand()