Send terminal output to client and input back to server.

This commit is contained in:
Florian Nücke
2020-09-30 13:27:32 +02:00
parent cd1d06842d
commit 9275d9562a
17 changed files with 448 additions and 47 deletions

View File

@@ -1,12 +1,12 @@
package li.cil.oc2.client;
import li.cil.oc2.OpenComputers;
import li.cil.oc2.client.gui.ComputerScreen;
import li.cil.oc2.client.gui.ComputerContainerScreen;
import net.minecraft.client.gui.ScreenManager;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
public final class ClientSetup {
public static void run(final FMLClientSetupEvent event) {
ScreenManager.registerFactory(OpenComputers.COMPUTER_CONTAINER.get(), ComputerScreen::new);
ScreenManager.registerFactory(OpenComputers.COMPUTER_CONTAINER.get(), ComputerContainerScreen::new);
}
}