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
Copy
import 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

Link to g-

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();

Link to g--3

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();

Link to g--5

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();
NombreTypeHas GetterHas SetterDescription
Nombre
client
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
fin
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
phase
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
server
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
side
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
empezar
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
type
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided