SequenceType
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Represents the type of 'actor' aSequence
acts on and is used to ensure that Sequence
s are ticked correctly. Some examples are a net.minecraft.world.level.Level
or a net.minecraft.world.entity.LivingEntity
(which is not yet implemented).
Mods adding custom sequenceable actors (really anything that can be ticked) should make their own SequenceType and expose it to ZenScript.
Members
Field
The type of the CLIENT_THREAD_LEVEL sequence which is only ticked on the server thread.
Return Type:
SequenceType
Getter
Gets the name of the sequence type.
Return Type:
string
name() as string
Gets the name of the sequence type.
Returns: The name of the sequence type.
Return Type:
string
Field
The type of the SERVER_THREAD_LEVEL sequence which is only ticked on the server thread.
Return Type:
SequenceType