aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/bartworks/common/configs/Configuration.java
blob: 813c825dce0ad658a7f5f547b5f4b33563b69a98 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
package bartworks.common.configs;

import com.gtnewhorizon.gtnhlib.config.Config;

import gregtech.api.enums.Mods;

@Config(modid = Mods.Names.BART_WORKS, filename = "bartworks")
@Config.LangKeyPattern(pattern = "GT5U.gui.config.%cat.%field", fullyQualified = true)
@Config.RequiresMcRestart
public class Configuration {

    public static final Mixins mixins = new Mixins();

    public static final CrossModInteractions crossModInteractions = new CrossModInteractions();

    public static final Multiblocks multiblocks = new Multiblocks();

    public static final Tooltip tooltip = new Tooltip();

    public static final SingleBlocks singleBlocks = new SingleBlocks();

    public static final Pollution pollution = new Pollution();

    public static final RossRuinMetas rossRuinMetas = new RossRuinMetas();

    @Config.Comment("Mixins section.")
    public static class Mixins {

        @Config.Comment("if true, patches the crafting manager to cache recipes in class: net.minecraft.item.crafting.CraftingManager")
        @Config.DefaultBoolean(false)
        public boolean enableCraftingManagerRecipeCaching = false;
    }

    @Config.Comment("Crossmod interactions section.")
    public static class CrossModInteractions {

        @Config.Comment("The Dim ID for Ross128b")
        @Config.DefaultInt(64)
        public int ross128BID;

        @Config.Comment("The Dim ID for Ross128ba (Ross128b's Moon)")
        @Config.DefaultInt(63)
        public int ross128BAID;

        @Config.Ignore()
        public static int ross128btier = 3;

        @Config.Ignore()
        public static int ross128batier = 5;

        @Config.Comment("Higher Values mean lesser Ruins.")
        @Config.DefaultInt(512)
        public int ross128bRuinChance;

        @Config.Comment("If the Ross128 System should be activated, DO NOT CHANGE AFTER WORLD GENERATION")
        @Config.DefaultBoolean(true)
        public boolean Ross128Enabled;

        @Config.Comment("1 = Moon Lander, 2 = Landing Balloons, 3 = Asteroid Lander")
        @Config.DefaultEnum("AsteroidsLander")
        public LanderType landerType;

        @Config.Comment("True disables the magical Forest Biome on Ross for more performance during World generation.")
        @Config.DefaultBoolean(false)
        public boolean disableMagicalForest;
    }

    @Config.Comment("Multiblocks section.")
    public static class Multiblocks {

        @Config.Comment("This will set Up the Energy per LESU Cell")
        @Config.DefaultInt(20_000_000)
        public int energyPerCell;

        @Config.Comment("This switch enables the Direct Steam Mode of the DEHP. If enabled it will take in Waterand output steam. If disabled it will Input IC2Coolant and output hot coolant")
        @Config.DefaultBoolean(false)
        public boolean DEHPDirectSteam;

        @Config.Ignore()
        public static int megaMachinesMax = 256;

        @Config.Ignore()
        public static int bioVatMaxParallelBonus = 1_000;

        @Config.Comment({
            "This is a blacklist for the Void Miner, blacklisted ores will not enter the drop prize pool.",
            "Please fill in the Unique Identifier of Ore and connect Damage with a colon,",
            "For example: gregtech:gt.blockores:32" })
        @Config.DefaultStringList({})
        public String[] voidMinerBlacklist;

        @Config.Comment("This switch completely disables piston animation in Electric Implosion Compressor multiblock")
        @Config.DefaultBoolean(false)
        public boolean disablePistonInEIC;
    }

    @Config.Comment("Tooltip section.")
    public static class Tooltip {

        @Config.Comment("If true, add glass tier in tooltips.")
        @Config.DefaultBoolean(true)
        public boolean addGlassTierInTooltips;
    }

    @Config.Comment("Single blocks section.")
    public static class SingleBlocks {

        @Config.Comment("mL Water per Sec for the StirlingPump")
        @Config.DefaultInt(150)
        public int mbWaterperSec;
    }

    @Config.Comment("Pollution section.")
    public static class Pollution {

        @Config.Comment("How much should the Simple Stirling Water Pump produce pollution per second")
        @Config.DefaultInt(5)
        public int pollutionHeatedWaterPumpSecond;

        @Config.Comment("How much should the MBF produce pollution per tick per ingot. Then it'll be multiplied by the amount of ingots done in parallel")
        @Config.DefaultInt(400)
        public int basePollutionMBFSecond;
    }

    @Config.Comment("Ross' ruins machine metaIDs section.")
    public static class RossRuinMetas {

        @Config.Ignore()
        public static final byte maxTierRoss = 5;

        public HighPressureSteam highPressureSteam = new HighPressureSteam();
        public LV lv = new LV();
        public MV mv = new MV();
        public HV hv = new HV();
        public EV ev = new EV();

        @Config.Comment("Possible machines for high pressure steam ruins.")
        public static class HighPressureSteam {

            @Config.Comment("MetaIDs of the GT machines for the buffer slots")
            @Config.DefaultIntList({ 5133, 5123 })
            public int[] buffers;

            @Config.Comment("MetaIDs of the GT machines for the cable slots")
            @Config.DefaultIntList({ 5133, 5123 })
            public int[] cables;

            @Config.Comment("MetaIDs of the GT machines for the generator slots")
            @Config.DefaultIntList({ 100, 101, 102, 105 })
            public int[] generators;

            @Config.Comment("MetaIDs of the GT machines for the machine slots")
            @Config.DefaultIntList({ 103, 104, 106, 107, 109, 110, 112, 113, 115, 116, 118, 119 })
            public int[] machines;
        }

        @Config.Comment("Possible machines for LV ruins.")
        public static class LV {

            @Config.Comment("MetaIDs of the GT machines for the buffer slots")
            @Config.DefaultIntList({ 161, 171, 181, 191 })
            public int[] buffers;

            @Config.Comment("MetaIDs of the GT machines for the cable slots")
            @Config.DefaultIntList({ 1210, 1230, 1250, 1270, 1290 })
            public int[] cables;

            @Config.Comment("MetaIDs of the GT machines for the generator slots")
            @Config.DefaultIntList({ 1110, 1115, 1120, 1127 })
            public int[] generators;

            @Config.Comment("MetaIDs of the GT machines for the machine slots")
            @Config.DefaultIntList({ 201, 211, 221, 231, 241, 251, 261, 271, 281, 291, 301, 311, 321, 331, 341, 351,
                361, 371, 381, 391, 401, 411, 421, 431, 441, 451, 461, 471, 481, 491, 501, 511, 521, 531, 541, 551, 561,
                571, 581, 591, 601, 611, 621, 631, 641, 651, 661, 671 })
            public int[] machines;
        }

        @Config.Comment("Possible machines for MV ruins.")
        public static class MV {

            @Config.Comment("MetaIDs of the GT machines for the buffer slots")
            @Config.DefaultIntList({ 162, 172, 182, 192 })
            public int[] buffers;

            @Config.Comment("MetaIDs of the GT machines for the cable slots")
            @Config.DefaultIntList({ 1310, 1330, 1350, 1370, 1390 })
            public int[] cables;

            @Config.Comment("MetaIDs of the GT machines for the generator slots")
            @Config.DefaultIntList({ 1111, 12726, 1116, 1121, 1128 })
            public int[] generators;

            @Config.Comment("MetaIDs of the GT machines for the machine slots")
            @Config.DefaultIntList({ 202, 212, 222, 232, 242, 252, 262, 272, 282, 292, 302, 312, 322, 332, 342, 352,
                362, 372, 382, 392, 402, 412, 422, 432, 442, 452, 462, 472, 482, 492, 502, 512, 522, 532, 542, 552, 562,
                572, 582, 592, 602, 612, 622, 632, 642, 652, 662, 672 })
            public int[] machines;
        }

        @Config.Comment("Possible machines for HV ruins.")
        public static class HV {

            @Config.Comment("MetaIDs of the GT machines for the buffer slots")
            @Config.DefaultIntList({ 163, 173, 183, 193 })
            public int[] buffers;

            @Config.Comment("MetaIDs of the GT machines for the cable slots")
            @Config.DefaultIntList({ 1410, 1430, 1450, 1470, 1490 })
            public int[] cables;

            @Config.Comment("MetaIDs of the GT machines for the generator slots")
            @Config.DefaultIntList({ 1112, 12727, 1117, 1122, 1129 })
            public int[] generators;

            @Config.Comment("MetaIDs of the GT machines for the machine slots")
            @Config.DefaultIntList({ 203, 213, 223, 233, 243, 253, 263, 273, 283, 293, 303, 313, 323, 333, 343, 353,
                363, 373, 383, 393, 403, 413, 423, 433, 443, 453, 463, 473, 483, 493, 503, 513, 523, 533, 543, 553, 563,
                573, 583, 593, 603, 613, 623, 633, 643, 653, 663, 673 })
            public int[] machines;
        }

        @Config.Comment("Possible machines for EV ruins.")
        public static class EV {

            @Config.Comment("MetaIDs of the GT machines for the buffer slots")
            @Config.DefaultIntList({ 164, 174, 184, 194 })
            public int[] buffers;

            @Config.Comment("MetaIDs of the GT machines for the cable slots")
            @Config.DefaultIntList({ 1510, 1530, 1550, 1570, 1590 })
            public int[] cables;

            @Config.Comment("MetaIDs of the GT machines for the generator slots")
            @Config.DefaultIntList({ 12728, 1190, 1130, 12685 })
            public int[] generators;

            @Config.Comment("MetaIDs of the GT machines for the machine slots")
            @Config.DefaultIntList({ 204, 214, 224, 234, 244, 254, 264, 274, 284, 294, 304, 314, 324, 334, 344, 354,
                364, 374, 384, 394, 404, 414, 424, 434, 444, 454, 464, 474, 484, 494, 504, 514, 524, 534, 544, 554, 564,
                574, 584, 594, 604, 614, 624, 634, 644, 654, 664, 674 })
            public int[] machines;
        }
    }
}