Class AutoOmen
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.AbstractInventoryModule
com.zenith.module.impl.AutoOmen
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInventoryModule
AbstractInventoryModule.HandRestriction -
Field Summary
FieldsFields inherited from class ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this module should be enabled automatically on startup Typically, this should be read from a config boolean valuevoidvoidbooleanitemPredicate(ItemStack itemStack) List<com.github.rfresh2.EventConsumer<?>> Override this to register module eventsvoidbooleanMethods inherited from class AbstractInventoryModule
doInventoryActions, getHand, isItemEquipped, switchToItemMethods inherited from class Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, onDisable, onEnable, registerClientPacketHandlerCodec, registerServerPacketHandlerCodec, setEnabled, subscribeEvents, syncEnabledFromConfig, unsubscribeEventsMethods inherited from class ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, executeCommand, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Field Details
-
MOVEMENT_PRIORITY
public static final int MOVEMENT_PRIORITY- See Also:
-
-
Constructor Details
-
AutoOmen
public AutoOmen()
-
-
Method Details
-
enabledSetting
public boolean enabledSetting()Description copied from class:ModuleWhether this module should be enabled automatically on startup Typically, this should be read from a config boolean value- Specified by:
enabledSettingin classModule
-
registerEvents
Description copied from class:ModuleOverride this to register module events- Overrides:
registerEventsin classModule
-
handleClientTick
-
switchToFood
public boolean switchToFood() -
startEating
public void startEating() -
handleBotTickStarting
-
itemPredicate
- Specified by:
itemPredicatein classAbstractInventoryModule
-