Class OnTickEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnTickEvent

public abstract class OnTickEvent extends Event
Triggered every tick, try to not use this one, use EveryTenMinutes instead because it can create a lot of frame loss/garbage collection.
  • Constructor Details

    • OnTickEvent

      public OnTickEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(Double numberTicks)
      Called Event Handling Method
      Parameters:
      numberTicks - The number of ticks.