Class LogicalSidedProvider<T>
java.lang.Object
net.neoforged.neoforge.common.util.LogicalSidedProvider<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LogicalSidedProvider
<Optional<Level>> private static Supplier
<MinecraftServer> private final Function
<Supplier<MinecraftServer>, T> static final LogicalSidedProvider
<BlockableEventLoop<? super TickTask>> -
Constructor Summary
ModifierConstructorDescriptionprivate
LogicalSidedProvider
(Function<Supplier<Minecraft>, T> clientSide, Function<Supplier<MinecraftServer>, T> serverSide) -
Method Summary
-
Field Details
-
WORKQUEUE
-
CLIENTWORLD
-
client
-
server
-
clientSide
-
serverSide
-
-
Constructor Details
-
LogicalSidedProvider
-
-
Method Details
-
setClient
-
setServer
-
get
-