Package cpw.mods.fml.common

Examples of cpw.mods.fml.common.ITickHandler


    return scheduledTickHandler.getLabel();
  }

  public WrappedScheduledTickHandler(IScheduledTickHandler scheduledTickHandler) {
    EnumSet<TickType> ticks = scheduledTickHandler.ticks();
    ITickHandler tickHandler = scheduledTickHandler;
    if (tickHandler instanceof SingleIntervalHandler) {
      tickHandler = ReflectUtil.get(scheduledTickHandler, "wrapped");
    }
    if (ticks == null || ticks.isEmpty()) {
      ticks = null;
      Log.warning("Null ticks for tick handler " + Log.toString(tickHandler) + ':' + tickHandler.getLabel());
    }
    this.ticks = ticks;
    this.scheduledTickHandler = scheduledTickHandler;
  }
View Full Code Here

TOP

Related Classes of cpw.mods.fml.common.ITickHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.