Class AutoFish


public class AutoFish extends AbstractInventoryModule
  • Field Details

  • Constructor Details

    • AutoFish

      public AutoFish()
  • Method Details

    • registerEvents

      public List<com.github.rfresh2.EventConsumer<?>> registerEvents()
      Description copied from class: Module
      Override this to register module events
      Overrides:
      registerEvents in class Module
    • enabledSetting

      public boolean enabledSetting()
      Description copied from class: Module
      Whether this module should be enabled automatically on startup Typically, this should be read from a config boolean value
      Specified by:
      enabledSetting in class Module
    • registerClientPacketHandlerCodec

      public PacketHandlerCodec registerClientPacketHandlerCodec()
      Description copied from class: Module
      Override this to register client packet handlers Meaning packets between zenith and the destination server
      Overrides:
      registerClientPacketHandlerCodec in class Module
    • handleBotTickStarting

      public void handleBotTickStarting(ClientBotTick.Starting event)
    • handleBotTickStopped

      public void handleBotTickStopped(ClientBotTick.Stopped event)
    • handleEntityFishHookSpawnEvent

      public void handleEntityFishHookSpawnEvent(EntityFishHookSpawnEvent event)
    • handleSplashSoundEffectEvent

      public void handleSplashSoundEffectEvent(SplashSoundEffectEvent event)
    • handleClientTick

      public void handleClientTick(ClientBotTick event)
    • switchToFishingRod

      public boolean switchToFishingRod()
    • itemPredicate

      public boolean itemPredicate(ItemStack itemStack)
      Specified by:
      itemPredicate in class AbstractInventoryModule