Package net.minecraft.util
Class FutureChain
java.lang.Object
net.minecraft.util.FutureChain
- All Implemented Interfaces:
AutoCloseable
,TaskChainer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> void
append
(CompletableFuture<T> p_307286_, Consumer<T> p_307337_) void
close()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.TaskChainer
append
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
head
-
executor
-
closed
private volatile boolean closed
-
-
Constructor Details
-
FutureChain
-
-
Method Details
-
append
- Specified by:
append
in interfaceTaskChainer
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-