001/* 002 * Forge Mod Loader 003 * Copyright (c) 2012-2013 cpw. 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser Public License v2.1 006 * which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 008 * 009 * Contributors: 010 * cpw - implementation 011 */ 012 013package cpw.mods.fml.common; 014 015public interface IScheduledTickHandler extends ITickHandler 016{ 017 /** 018 * Return the number of actual ticks that will pass 019 * before your next tick will fire. This will be called 020 * just after your last tick fired to compute the next delay. 021 * @return Time until next tick 022 */ 023 public int nextTickSpacing(); 024}