Class AntiKick


public class AntiKick extends Module
  • Constructor Details

    • AntiKick

      public AntiKick()
  • 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
    • onEnable

      public void onEnable()
      Description copied from class: Module
      Override to run a custom hook when the module is enabled
      Overrides:
      onEnable in class Module
    • onProxyClientConnectedEvent

      public void onProxyClientConnectedEvent(PlayerConnectedEvent event)
    • onClientTick

      public void onClientTick(ClientTickEvent event)
    • onEntityFishHookSpawnEvent

      public void onEntityFishHookSpawnEvent(EntityFishHookSpawnEvent event)
    • onClientSwingEvent

      public void onClientSwingEvent(ClientSwingEvent event)