Class SequenceContext<T,U>
java.lang.Object
com.blamejared.crafttweaker.api.util.sequence.SequenceContext<T,U>
A SequenceContext provides more data to
Sequences and allows a sequence to be stopped from inside a task.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SequenceContext
-
-
Method Details
-
stop
public void stop()Stop the sequence. -
getData
Gets the data provided to the sequence.Note, this can never return null, if the data is null then it will throw an error.
- Returns:
- The data provided to the sequence or an error if null was provided.
-