public class BaseModTicker extends Object implements ITickHandler
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
A profiling label for this tick handler
|
void |
setMod(BaseModProxy mod) |
void |
tickEnd(EnumSet<TickType> types,
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
|
EnumSet<TickType> |
ticks()
Returns the list of ticks this tick handler is interested in receiving at the minute
|
void |
tickStart(EnumSet<TickType> types,
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
|
public void tickStart(EnumSet<TickType> types, Object... tickData)
ITickHandler
tickStart
in interface ITickHandler
public void tickEnd(EnumSet<TickType> types, Object... tickData)
ITickHandler
tickEnd
in interface ITickHandler
public EnumSet<TickType> ticks()
ITickHandler
ticks
in interface ITickHandler
public String getLabel()
ITickHandler
getLabel
in interface ITickHandler
public void setMod(BaseModProxy mod)