blob: 7844a6865e987ce92c506f0b8294015974b10ccf (
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
|
package tectech.loader.thing;
import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.api.enums.Textures;
import gregtech.api.interfaces.ITexture;
import tectech.Reference;
import tectech.TecTech;
import tectech.thing.block.BlockGodforgeGlass;
import tectech.thing.block.BlockQuantumGlass;
import tectech.thing.block.BlockReactorSim;
import tectech.thing.block.TileEntityEyeOfHarmony;
import tectech.thing.block.TileEntityForgeOfGods;
import tectech.thing.casing.BlockGTCasingsBA0;
import tectech.thing.casing.BlockGTCasingsTT;
import tectech.thing.casing.BlockGodforgeCasings;
import tectech.thing.casing.SpacetimeCompressionFieldCasing;
import tectech.thing.casing.StabilisationFieldCasing;
import tectech.thing.casing.TTCasingsContainer;
import tectech.thing.casing.TimeAccelerationFieldCasing;
import tectech.thing.item.ItemAstralArrayFabricator;
import tectech.thing.item.ItemEnderFluidLinkCover;
import tectech.thing.item.ItemEuMeterGT;
import tectech.thing.item.ItemParametrizerMemoryCard;
import tectech.thing.item.ItemPowerPassUpgradeCover;
import tectech.thing.item.ItemTeslaCoilCapacitor;
import tectech.thing.item.ItemTeslaCoilComponent;
import tectech.thing.item.ItemTeslaCoilCover;
import tectech.thing.item.ItemTeslaStaff;
/**
* Created by danie_000 on 16.11.2016.
*/
public class ThingsLoader implements Runnable {
@Override
public void run() {
GameRegistry.registerTileEntity(TileEntityEyeOfHarmony.class, Reference.MODID + ":EyeOfHarmonyRenderBlock");
GameRegistry.registerTileEntity(TileEntityForgeOfGods.class, Reference.MODID + ":ForgeOfGodsRenderBlock");
if (Textures.BlockIcons.casingTexturePages[TecTech.tectechTexturePage1] == null) {
Textures.BlockIcons.casingTexturePages[TecTech.tectechTexturePage1] = new ITexture[128];
}
if (Textures.BlockIcons.casingTexturePages[7] == null) {
Textures.BlockIcons.casingTexturePages[7] = new ITexture[128];
}
TecTech.LOGGER.info("Added texture page if was null");
TTCasingsContainer.sBlockCasingsTT = new BlockGTCasingsTT();
TecTech.LOGGER.info("Elemental Casing registered");
TTCasingsContainer.sBlockCasingsBA0 = new BlockGTCasingsBA0();
TecTech.LOGGER.info("Nikolai's Casing registered");
TTCasingsContainer.SpacetimeCompressionFieldGenerators = new SpacetimeCompressionFieldCasing();
TecTech.LOGGER.info("Spacetime Compression Field Casings registered.");
TTCasingsContainer.TimeAccelerationFieldGenerator = new TimeAccelerationFieldCasing();
TecTech.LOGGER.info("Time Acceleration Field Casings registered.");
TTCasingsContainer.StabilisationFieldGenerators = new StabilisationFieldCasing();
TTCasingsContainer.GodforgeCasings = new BlockGodforgeCasings();
TecTech.LOGGER.info("Godforge blocks registered.");
BlockGodforgeGlass.run();
TecTech.LOGGER.info("Godforge Glass registered");
BlockQuantumGlass.run();
TecTech.LOGGER.info("Quantum Glass registered");
BlockReactorSim.run();
TecTech.LOGGER.info("Reactor Simulator registered");
ItemParametrizerMemoryCard.run();
ItemEuMeterGT.run();
ItemTeslaStaff.run();
ItemTeslaCoilCover.run();
ItemTeslaCoilCapacitor.run();
ItemEnderFluidLinkCover.run();
ItemPowerPassUpgradeCover.run();
TecTech.LOGGER.info("Useful Items registered");
ItemTeslaCoilComponent.run();
ItemAstralArrayFabricator.run();
TecTech.LOGGER.info("Crafting Components registered");
TecTech.LOGGER.info("Debug Items registered");
}
}
|