|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TickType>
cpw.mods.fml.common.TickType
public enum TickType
Enum Constant Summary | |
---|---|
CLIENT
client side only Fired once per client tick loop. |
|
CLIENTGUI
client side Fired during the client evaluation loop arg 0 : The open gui or null if no gui is open |
|
GUI
client side Fired during the render processing phase if a GUI is open arg 0 : float "partial render time" arg 1 : the open gui or null if no gui is open |
|
PLAYER
client and server side. |
|
RENDER
client side Fired during the render processing phase arg 0 : float "partial render time" |
|
SERVER
server side only. |
|
WORLD
Fired during the world evaluation loop server and client side arg 0 : The world that is ticking |
|
WORLDLOAD
server side Fired once as the world loads from disk |
Method Summary | |
---|---|
EnumSet<TickType> |
partnerTicks()
Partner ticks that are also cancelled by returning false from onTickInGame |
static TickType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TickType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TickType WORLD
public static final TickType RENDER
public static final TickType GUI
public static final TickType CLIENTGUI
public static final TickType WORLDLOAD
public static final TickType CLIENT
public static final TickType PLAYER
public static final TickType SERVER
Method Detail |
---|
public static TickType[] values()
for (TickType c : TickType.values()) System.out.println(c);
public static TickType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic EnumSet<TickType> partnerTicks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |