Class ParametrizedGameTestSequence<T>
java.lang.Object
net.neoforged.testframework.gametest.ParametrizedGameTestSequence<T>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionParametrizedGameTestSequence(GameTestInfo info, ExtendedSequence sequence, Supplier<T> value) 
- 
Method SummaryModifier and TypeMethodDescriptionthenExecute(Runnable runnable) thenExecute(Consumer<T> runnable) thenExecuteAfter(int ticks, Runnable runnable) thenExecuteAfter(int ticks, Consumer<T> runnable) thenExecuteFor(int ticks, Runnable runnable) thenExecuteFor(int ticks, Consumer<T> runnable) voidvoidthenIdle(int amount) <Z> ParametrizedGameTestSequence<Z><Z> ParametrizedGameTestSequence<Z><Z> ParametrizedGameTestSequence<Z>thenMapAfter(int ticks, Function<T, Z> mapper) <Z> ParametrizedGameTestSequence<Z>thenMapAfter(int ticks, Supplier<Z> value) <Z> ParametrizedGameTestSequence<Z>thenMapToSequence(BiFunction<ParametrizedGameTestSequence<T>, Supplier<T>, ParametrizedGameTestSequence<Z>> sequence) <Z> ParametrizedGameTestSequence<Z>thenMapToSequence(Function<Supplier<T>, ParametrizedGameTestSequence<Z>> sequence) thenSequence(BiConsumer<ParametrizedGameTestSequence<T>, Supplier<T>> sequence) thenSequence(Consumer<ParametrizedGameTestSequence<T>> sequence) voidthenWaitUntil(long ticks, Runnable condition) thenWaitUntil(long ticks, Consumer<T> condition) thenWaitUntil(Runnable condition) thenWaitUntil(Consumer<T> condition) 
- 
Field Details- 
info
- 
sequence
- 
value
 
- 
- 
Constructor Details- 
ParametrizedGameTestSequencepublic ParametrizedGameTestSequence(GameTestInfo info, ExtendedSequence sequence, Supplier<T> value) 
 
- 
- 
Method Details- 
thenWaitUntil
- 
thenWaitUntil
- 
thenWaitUntil
- 
thenWaitUntil
- 
thenIdle
- 
thenExecute
- 
thenExecute
- 
thenExecuteAfter
- 
thenExecuteAfter
- 
thenExecuteFor
- 
thenExecuteFor
- 
thenMap
- 
thenMapAfter
- 
thenMap
- 
thenMapAfter
- 
thenMapToSequencepublic <Z> ParametrizedGameTestSequence<Z> thenMapToSequence(BiFunction<ParametrizedGameTestSequence<T>, Supplier<T>, ParametrizedGameTestSequence<Z>> sequence) 
- 
thenMapToSequencepublic <Z> ParametrizedGameTestSequence<Z> thenMapToSequence(Function<Supplier<T>, ParametrizedGameTestSequence<Z>> sequence) 
- 
thenSequencepublic ParametrizedGameTestSequence<T> thenSequence(BiConsumer<ParametrizedGameTestSequence<T>, Supplier<T>> sequence) 
- 
thenSequencepublic ParametrizedGameTestSequence<T> thenSequence(Consumer<ParametrizedGameTestSequence<T>> sequence) 
- 
thenSucceedpublic void thenSucceed()
- 
thenFail
- 
thenFail
- 
thenTrigger
 
-