Class TickEvent.ServerTickEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.TickEvent
net.minecraftforge.event.TickEvent.ServerTickEvent
Enclosing class:
TickEvent

public static class TickEvent.ServerTickEvent extends TickEvent
  • Field Details

  • Constructor Details

  • Method Details

    • haveTime

      public boolean haveTime()
      Returns:
      true whether the server has enough time to perform any additional tasks (usually IO related) during the current tick, otherwise false
    • getServer

      public MinecraftServer getServer()
      Returns the server instance.
      Returns:
      the server instance