Class ContinuationTask<T,P>
java.lang.Object
net.minecraft.commands.execution.tasks.ContinuationTask<T,P>
- All Implemented Interfaces:
EntryAction<T>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final CommandQueueEntry<T>
private final ContinuationTask.TaskProvider<T,
P> -
Constructor Summary
ModifierConstructorDescriptionprivate
ContinuationTask
(ContinuationTask.TaskProvider<T, P> p_312248_, List<P> p_311891_, Frame p_311182_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ExecutionContext<T> p_310507_, Frame p_311035_) static <T,
P> void schedule
(ExecutionContext<T> p_311894_, Frame p_312100_, List<P> p_310159_, ContinuationTask.TaskProvider<T, P> p_309687_)
-
Field Details
-
taskFactory
-
arguments
-
selfEntry
-
index
private int index
-
-
Constructor Details
-
ContinuationTask
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceEntryAction<T>
-
schedule
public static <T,P> void schedule(ExecutionContext<T> p_311894_, Frame p_312100_, List<P> p_310159_, ContinuationTask.TaskProvider<T, P> p_309687_)
-