Package net.minecraftforge.common.util
Class LogicalSidedProvider<T>
java.lang.Object
net.minecraftforge.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
Modifier and TypeMethodDescriptionget
(LogicalSide side) static void
static void
setServer
(Supplier<MinecraftServer> server)
-
Field Details
-
WORKQUEUE
-
CLIENTWORLD
-
client
-
server
-
clientSide
-
serverSide
-
-
Constructor Details
-
LogicalSidedProvider
-
-
Method Details
-
setClient
-
setServer
-
get
-