类 TickEvent.ServerTickEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.TickEvent
net.minecraftforge.event.TickEvent.ServerTickEvent
直接已知子类:
TickEvent.ServerTickEvent.Post, TickEvent.ServerTickEvent.Pre
封闭类:
TickEvent

public static class TickEvent.ServerTickEvent extends TickEvent
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • haveTime

      public boolean haveTime()
      返回:
      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()
      返回 the server instance。
      返回:
      the server instance