Search in sources :

Example 1 with MultiBlockPreviewARApp

use of gregtech.common.terminal.app.multiblockhelper.MultiBlockPreviewARApp in project GregTech by GregTechCEu.

the class TerminalRegistry method init.

public static void init() {
    // register hardware
    registerHardware(new BatteryHardware());
    int deviceSize = DeviceHardware.DEVICE.values().length;
    for (int i = 1; i < deviceSize; i++) {
        registerHardware(new DeviceHardware(i));
    }
    // register applications
    AppRegistryBuilder.create(new SimpleMachineGuideApp()).defaultApp().build();
    AppRegistryBuilder.create(new MultiBlockGuideApp()).defaultApp().build();
    AppRegistryBuilder.create(new ItemGuideApp()).defaultApp().build();
    AppRegistryBuilder.create(new TutorialGuideApp()).defaultApp().build();
    AppRegistryBuilder.create(new GuideEditorApp()).defaultApp().build();
    AppRegistryBuilder.create(new SettingsApp()).defaultApp().build();
    AppRegistryBuilder.create(new PongApp()).battery(GTValues.LV, 75).build();
    AppRegistryBuilder.create(new MazeApp()).battery(GTValues.LV, 150).build();
    AppRegistryBuilder.create(new MinesweeperApp()).battery(GTValues.LV, 150).build();
    AppRegistryBuilder.create(new ProspectorApp(0)).battery(0, GTValues.LV, 640).battery(1, GTValues.LV, 640).battery(2, GTValues.MV, 1000).battery(3, GTValues.HV, 1500).battery(4, GTValues.HV, 1500).upgrade(0, MetaItems.SENSOR_LV.getStackForm(1)).upgrade(1, MetaItems.SENSOR_HV.getStackForm(1)).upgrade(2, MetaItems.SENSOR_EV.getStackForm(1)).upgrade(3, MetaItems.SENSOR_IV.getStackForm(1)).upgrade(4, MetaItems.SENSOR_LuV.getStackForm(1)).device(0, DeviceHardware.DEVICE.PROSPECTOR_LV).device(1, DeviceHardware.DEVICE.PROSPECTOR_LV).device(2, DeviceHardware.DEVICE.PROSPECTOR_LV).device(3, DeviceHardware.DEVICE.PROSPECTOR_HV).device(4, DeviceHardware.DEVICE.PROSPECTOR_HV).build();
    AppRegistryBuilder.create(new ProspectorApp(1)).battery(0, GTValues.MV, 1000).battery(1, GTValues.MV, 1000).battery(2, GTValues.HV, 1500).battery(3, GTValues.HV, 1500).battery(4, GTValues.HV, 1500).upgrade(0, MetaItems.SENSOR_HV.getStackForm(1)).upgrade(1, MetaItems.SENSOR_HV.getStackForm(3)).upgrade(2, MetaItems.SENSOR_EV.getStackForm(1)).upgrade(3, MetaItems.SENSOR_IV.getStackForm(1)).upgrade(4, MetaItems.SENSOR_LuV.getStackForm(1)).device(DeviceHardware.DEVICE.PROSPECTOR_HV).build();
    AppRegistryBuilder.create(new MultiBlockPreviewARApp()).battery(GTValues.LV, 128).device(DeviceHardware.DEVICE.CAMERA).upgrade(1, MetaItems.EMITTER_HV.getStackForm(4), MetaItems.WORKSTATION_EV.getStackForm(2)).defaultApp().build();
    if (Loader.isModLoaded(GTValues.MODID_JEI)) {
        AppRegistryBuilder.create(new RecipeChartApp()).battery(GTValues.LV, 160).upgrade(0, new ItemStack(Items.PAPER, 32)).upgrade(1, new ItemStack(Items.PAPER, 64)).upgrade(2, MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(16)).upgrade(3, MetaItems.RANDOM_ACCESS_MEMORY.getStackForm(32)).build();
    }
    AppRegistryBuilder.create(new ConsoleApp()).battery(GTValues.LV, 500).device(DeviceHardware.DEVICE.WIRELESS).build();
    AppRegistryBuilder.create(new BatteryManagerApp()).defaultApp().battery(GTValues.ULV, 0).build();
    AppRegistryBuilder.create(new HardwareManagerApp()).defaultApp().build();
    AppRegistryBuilder.create(new AppStoreApp()).defaultApp().build();
    AppRegistryBuilder.create(new WorldProspectorARApp()).battery(GTValues.LV, 320).upgrade(0, MetaItems.EMITTER_LV.getStackForm(2)).upgrade(1, MetaItems.EMITTER_MV.getStackForm(2)).upgrade(2, MetaItems.EMITTER_HV.getStackForm(2)).device(DeviceHardware.DEVICE.CAMERA).build();
    AppRegistryBuilder.create(new VirtualTankApp()).battery(GTValues.MV, 500).device(DeviceHardware.DEVICE.WIRELESS).build();
    AppRegistryBuilder.create(new CapeSelectorApp()).battery(GTValues.ULV, 8).build();
    if (Loader.isModLoaded(GTValues.MODID_CT)) {
        // handle CT register
        CTTerminalRegistry.register();
    }
}
Also used : MinesweeperApp(gregtech.common.terminal.app.game.minesweeper.MinesweeperApp) WorldProspectorARApp(gregtech.common.terminal.app.worldprospector.WorldProspectorARApp) VirtualTankApp(gregtech.common.terminal.app.VirtualTankApp) BatteryHardware(gregtech.common.terminal.hardware.BatteryHardware) MultiBlockGuideApp(gregtech.common.terminal.app.guide.MultiBlockGuideApp) RecipeChartApp(gregtech.common.terminal.app.recipechart.RecipeChartApp) BatteryManagerApp(gregtech.common.terminal.app.batterymanager.BatteryManagerApp) SimpleMachineGuideApp(gregtech.common.terminal.app.guide.SimpleMachineGuideApp) MazeApp(gregtech.common.terminal.app.game.maze.MazeApp) CapeSelectorApp(gregtech.common.terminal.app.capeselector.CapeSelectorApp) SettingsApp(gregtech.common.terminal.app.settings.SettingsApp) HardwareManagerApp(gregtech.common.terminal.app.hardwaremanager.HardwareManagerApp) GuideEditorApp(gregtech.common.terminal.app.guideeditor.GuideEditorApp) MultiBlockPreviewARApp(gregtech.common.terminal.app.multiblockhelper.MultiBlockPreviewARApp) PongApp(gregtech.common.terminal.app.game.pong.PongApp) AppStoreApp(gregtech.common.terminal.app.appstore.AppStoreApp) ItemGuideApp(gregtech.common.terminal.app.guide.ItemGuideApp) ConsoleApp(gregtech.common.terminal.app.console.ConsoleApp) ProspectorApp(gregtech.common.terminal.app.prospector.ProspectorApp) TutorialGuideApp(gregtech.common.terminal.app.guide.TutorialGuideApp) ItemStack(net.minecraft.item.ItemStack) DeviceHardware(gregtech.common.terminal.hardware.DeviceHardware)

Aggregations

VirtualTankApp (gregtech.common.terminal.app.VirtualTankApp)1 AppStoreApp (gregtech.common.terminal.app.appstore.AppStoreApp)1 BatteryManagerApp (gregtech.common.terminal.app.batterymanager.BatteryManagerApp)1 CapeSelectorApp (gregtech.common.terminal.app.capeselector.CapeSelectorApp)1 ConsoleApp (gregtech.common.terminal.app.console.ConsoleApp)1 MazeApp (gregtech.common.terminal.app.game.maze.MazeApp)1 MinesweeperApp (gregtech.common.terminal.app.game.minesweeper.MinesweeperApp)1 PongApp (gregtech.common.terminal.app.game.pong.PongApp)1 ItemGuideApp (gregtech.common.terminal.app.guide.ItemGuideApp)1 MultiBlockGuideApp (gregtech.common.terminal.app.guide.MultiBlockGuideApp)1 SimpleMachineGuideApp (gregtech.common.terminal.app.guide.SimpleMachineGuideApp)1 TutorialGuideApp (gregtech.common.terminal.app.guide.TutorialGuideApp)1 GuideEditorApp (gregtech.common.terminal.app.guideeditor.GuideEditorApp)1 HardwareManagerApp (gregtech.common.terminal.app.hardwaremanager.HardwareManagerApp)1 MultiBlockPreviewARApp (gregtech.common.terminal.app.multiblockhelper.MultiBlockPreviewARApp)1 ProspectorApp (gregtech.common.terminal.app.prospector.ProspectorApp)1 RecipeChartApp (gregtech.common.terminal.app.recipechart.RecipeChartApp)1 SettingsApp (gregtech.common.terminal.app.settings.SettingsApp)1 WorldProspectorARApp (gregtech.common.terminal.app.worldprospector.WorldProspectorARApp)1 BatteryHardware (gregtech.common.terminal.hardware.BatteryHardware)1