aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/common/Blocks.java
blob: 2a4bf328f7de5b034c616d845256e4f4511c4667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package common;

import common.blocks.*;
import kekztech.KekzCore;
import net.minecraft.block.Block;

public class Blocks {

    public static Block yszUnit;
    public static Block gdcUnit;

    public static Block tfftCasing;
    public static Block tfftStorageField1;
    public static Block tfftStorageField2;
    public static Block tfftStorageField3;
    public static Block tfftStorageField4;
    public static Block tfftStorageField5;
    public static Block tfftMultiHatch;

    public static Block reactorChamberOFF;
    public static Block reactorChamberON;
    public static Block reactorControlRod;

    public static Block itemServerDrive;
    public static Block itemServerRackCasing;
    public static Block itemServerIOPort;

    public static Block itemProxyCable;
    public static Block itemProxySource;
    public static Block itemProxyEndpoint;

    public static Block jarThaumiumReinforced;
    public static Block jarIchor;

    public static Block lscLapotronicEnergyUnit;
    public static Block beamTransmitter;

    public static Block spaceElevatorStructure;
    public static Block spaceElevatorCapacitor;
    public static Block spaceElevatorTether;

    public static Block largeHexPlate;

    public static void preInit() {
        KekzCore.LOGGER.info("Registering blocks...");

        registerBlocks_SOFC();
        registerBlocks_TFFT();
        // registerBlocks_Nuclear();
        // registerBlocks_ItemProxy();
        registerBlocks_Jars();
        registerBlocks_LSC();
        // registerBlocks_SpaceElevator();
        registerBlocks_Cosmetics();

        KekzCore.LOGGER.info("Finished registering blocks");
    }

    private static void registerBlocks_SOFC() {
        yszUnit = Block_YSZUnit.registerBlock();
        gdcUnit = Block_GDCUnit.registerBlock();
    }

    private static void registerBlocks_TFFT() {
        tfftCasing = Block_TFFTCasing.registerBlock();
        tfftStorageField1 = Block_TFFTStorageFieldBlockT1.registerBlock();
        tfftStorageField2 = Block_TFFTStorageFieldBlockT2.registerBlock();
        tfftStorageField3 = Block_TFFTStorageFieldBlockT3.registerBlock();
        tfftStorageField4 = Block_TFFTStorageFieldBlockT4.registerBlock();
        tfftStorageField5 = Block_TFFTStorageFieldBlockT5.registerBlock();
        tfftMultiHatch = Block_TFFTMultiHatch.registerBlock();
    }

    /*private static void registerBlocks_Nuclear() {
    	reactorChamberOFF = Block_ReactorChamber_OFF.registerBlock();
    	reactorChamberON = Block_ReactorChamber_ON.registerBlock();
    	reactorControlRod = Block_ControlRod.registerBlock();
    }

    private static void registerBlocks_ItemProxy() {
    	itemProxyCable = Block_ItemProxyCable.registerBlock();
    	itemProxySource = Block_ItemProxySource.registerBlock();
    	itemProxyEndpoint = Block_ItemProxyEndpoint.registerBlock();
    }*/

    private static void registerBlocks_Jars() {
        jarThaumiumReinforced = Block_ThaumiumReinforcedJar.registerBlock();
        jarIchor = Block_IchorJar.registerBlock();
    }

    private static void registerBlocks_LSC() {
        lscLapotronicEnergyUnit = Block_LapotronicEnergyUnit.registerBlock();
        // beamTransmitter = Block_BeamTransmitter.registerBlock();
    }

    /*private static void registerBlocks_SpaceElevator() {
    	spaceElevatorStructure = Block_SpaceElevator.registerBlock();
    	spaceElevatorCapacitor = Block_SpaceElevatorCapacitor.registerBlock();
    	spaceElevatorTether = Block_SpaceElevatorTether.registerBlock();
    }*/

    private static void registerBlocks_Cosmetics() {
        largeHexPlate = Block_LargeHexPlate.registerBlock();
    }
}