Add a simple network API..

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2019-02-18 15:09:03 -05:00
1 parent 2e2c57dbd1
commit 70be790b2a
4 files changed
+286 -3

No files matched your search

@@ -27,7 +27,9 @@ import java.util.function.Supplier;
public enum LogicalSidedProvider
{
WORKQUEUE((c)->c.get(), (s)->s.get());
WORKQUEUE((c)->c.get(), (s)->s.get()),
INSTANCE((c)->c.get(), (s)->s.get())
;
private static Supplier<Minecraft> client;
private static Supplier<MinecraftServer> server;