YATS/Forge Documentation
|
Public Member Functions | |
void | tickStart (EnumSet< TickType > type, Object...tickData) |
void | tickEnd (EnumSet< TickType > type, Object...tickData) |
EnumSet< TickType > | ticks () |
String | getLabel () |
Tick handler for mods to implement and register through the TickRegistry
The data available to each tick is documented in the TickType
String cpw.mods.fml.common.ITickHandler.getLabel | ( | ) |
A profiling label for this tick handler
Implemented in cpw.mods.fml.common.modloader.BaseModTicker, cpw.mods.fml.client.modloader.ModLoaderKeyBindingHandler, and cpw.mods.fml.common.SingleIntervalHandler.
void cpw.mods.fml.common.ITickHandler.tickEnd | ( | EnumSet< TickType > | type, |
Object... | tickData | ||
) |
Called at the "end" phase of a tick
Multiple ticks may fire simultaneously- you will only be called once with all the firing ticks
type | |
tickData |
Implemented in cpw.mods.fml.common.modloader.BaseModTicker, and cpw.mods.fml.common.SingleIntervalHandler.
EnumSet<TickType> cpw.mods.fml.common.ITickHandler.ticks | ( | ) |
Returns the list of ticks this tick handler is interested in receiving at the minute
Implemented in cpw.mods.fml.common.modloader.BaseModTicker, cpw.mods.fml.client.modloader.ModLoaderKeyBindingHandler, and cpw.mods.fml.common.SingleIntervalHandler.
void cpw.mods.fml.common.ITickHandler.tickStart | ( | EnumSet< TickType > | type, |
Object... | tickData | ||
) |
Called at the "start" phase of a tick
Multiple ticks may fire simultaneously- you will only be called once with all the firing ticks
type | |
tickData |
Implemented in cpw.mods.fml.common.modloader.BaseModTicker, and cpw.mods.fml.common.SingleIntervalHandler.