Class AbstractInventoryModule
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.AbstractInventoryModule
Modules that follow a general pattern of equipping an item to a hotbar or offhand slot and using it
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.zenith.module.api.ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
ConstructorsConstructorDescriptionAbstractInventoryModule(AbstractInventoryModule.HandRestriction handRestriction, int targetMainHandHotbarSlot, int inventoryActionPriority) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanabstract booleanitemPredicate(ItemStack itemStack) booleanMethods inherited from class com.zenith.module.api.Module
disable, enable, enabledSetting, onDisable, onEnable, registerClientPacketHandlerCodec, registerEvents, registerServerPacketHandlerCodec, setEnabled, subscribeEvents, syncEnabledFromConfig, unsubscribeEventsMethods inherited from class com.zenith.module.api.ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Constructor Details
-
AbstractInventoryModule
public AbstractInventoryModule(AbstractInventoryModule.HandRestriction handRestriction, int targetMainHandHotbarSlot, int inventoryActionPriority)
-
-
Method Details
-
itemPredicate
-
doInventoryActions
public int doInventoryActions() -
isItemEquipped
public boolean isItemEquipped() -
switchToItem
public boolean switchToItem()
-