Class KillAura
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.AbstractInventoryModule
com.zenith.module.impl.KillAura
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInventoryModule
AbstractInventoryModule.ActionState, AbstractInventoryModule.HandRestriction, AbstractInventoryModule.InventoryActionResult -
Field Summary
Fields 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 valueintbooleanisActive()booleanitemPredicate(ItemStack itemStack) voidOverride to run a custom hook when the module is disabledList<com.github.rfresh2.EventConsumer<?>> Override this to register module eventsbooleanMethods inherited from class AbstractInventoryModule
doInventoryActions, doInventoryActionsV2, getHand, isItemEquippedMethods inherited from class Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, 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
-
Constructor Details
-
KillAura
public KillAura()
-
-
Method Details
-
isActive
public boolean isActive() -
registerEvents
Description copied from class:ModuleOverride this to register module events- Overrides:
registerEventsin classModule
-
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
-
getPriority
public int getPriority()- Specified by:
getPriorityin classAbstractInventoryModule
-
onDisable
-
switchToWeapon
public boolean switchToWeapon() -
itemPredicate
- Specified by:
itemPredicatein classAbstractInventoryModule
-
getHostileEntities
-
getNeutralEntities
-