MCTickEvent
Link to mctickevent
The event is not cancelable.
The event does not have a result.
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.event.tick.MCTickEvent;
Extending MCEvent
Link to extending-mcevent
MCTickEvent extends MCEvent. That means all methods available in MCEvent are also available in MCTickEvent
Methods
Link to methods
Name: getPhase
Return Type: string
ZenScript Copy// MCTickEvent.getPhase() as string
myMCTickEvent.getPhase();
Name: getSide
Return Type: string
ZenScript Copy// MCTickEvent.getSide() as string
myMCTickEvent.getSide();
Name: getType
Return Type: string
ZenScript Copy// MCTickEvent.getType() as string
myMCTickEvent.getType();
Name: isClient
Return Type: boolean
ZenScript Copy// MCTickEvent.isClient() as boolean
myMCTickEvent.isClient();
Name: isEnd
Return Type: boolean
ZenScript Copy// MCTickEvent.isEnd() as boolean
myMCTickEvent.isEnd();
Name: isServer
Return Type: boolean
ZenScript Copy// MCTickEvent.isServer() as boolean
myMCTickEvent.isServer();
Name: isStart
Return Type: boolean
ZenScript Copy// MCTickEvent.isStart() as boolean
myMCTickEvent.isStart();
Properties
Link to properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name client | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name fin | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name phase | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Name server | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name side | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Name Début | Type boolean | Has Getter true | Has Setter false | Description No Description Provided |
Name type | Type string | Has Getter true | Has Setter false | Description No Description Provided |