Class SequenceType
java.lang.Object
com.blamejared.crafttweaker.api.util.sequence.SequenceType
Represents the type of 'actor' a
Sequence acts on and is used to ensure that Sequences are ticked correctly.
Some examples are a Level or a 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.
- DocParam:
- this SequenceType.SERVER_THREAD_LEVEL
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SequenceTypeThe type of the CLIENT_THREAD_LEVEL sequence which is only ticked on the server thread.static final SequenceTypeThe type of the SERVER_THREAD_LEVEL sequence which is only ticked on the server thread. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERVER_THREAD_LEVEL
The type of the SERVER_THREAD_LEVEL sequence which is only ticked on the server thread. -
CLIENT_THREAD_LEVEL
The type of the CLIENT_THREAD_LEVEL sequence which is only ticked on the server thread.
-
-
Constructor Details
-
SequenceType
The name of the type.- Parameters:
name- The name of the type.
-
-
Method Details
-
name
Gets the name of the sequence type.- Returns:
- The name of the sequence type.
-