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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
|
package gregtech.common.config;
import com.gtnewhorizon.gtnhlib.config.Config;
import gregtech.api.enums.Mods;
import gregtech.common.GTProxy;
@Config(modid = Mods.Names.GREG_TECH, category = "gregtech", configSubDirectory = "GregTech", filename = "GregTech")
@Config.LangKey("GT5U.gui.config.gregtech")
public class Gregtech {
@Config.Comment("Debug section")
public static final Debug debug = new Debug();
@Config.Comment("Features section")
public static final Features features = new Features();
@Config.Comment("General section")
public static final General general = new General();
@Config.Comment("Harvest level section")
public static final HarvestLevel harvestLevel = new HarvestLevel();
@Config.Comment("Machines section")
public static final Machines machines = new Machines();
@Config.Comment("Ore drop behavior section")
public static final OreDropBehavior oreDropBehavior = new OreDropBehavior();
@Config.LangKey("GT5U.gui.config.gregtech.debug")
public static class Debug {
@Config.Comment("enable D1 flag (a set of debug logs)")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean D1;
@Config.Comment("enable D2 flag (another set of debug logs)")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean D2;
@Config.Comment("This will prevent NEI from crashing but spams the Log.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean allowBrokenRecipeMap;
@Config.Comment("Debug parameters for cleanroom testing.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugCleanroom;
@Config.Comment("Debug parameter for driller testing.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugDriller;
@Config.Comment("Debug parameter for world generation. Tracks chunks added/removed from run queue.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugWorldgen;
@Config.Comment("Debug parameter for orevein generation.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugOrevein;
@Config.Comment("Debug parameter for small ore generation.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugSmallOres;
@Config.Comment("Debug parameter for stones generation.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugStones;
@Config.Comment("Debug parameter for single block miner.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugBlockMiner;
@Config.Comment("Debug parameter for single block pump.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugBlockPump;
@Config.Comment("Debug parameter for entity cramming reduction.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugEntityCramming;
@Config.Comment("Debug parameter for gregtech.api.util.GT_ChunkAssociatedData")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugWorldData;
@Config.Comment("Debug parameter for chunk loaders.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean debugChunkloaders;
}
@Config.LangKey("GT5U.gui.config.gregtech.features")
public static class Features {
@Config.Comment("Controls the stacksize of tree related blocks.")
@Config.DefaultInt(64)
@Config.RequiresMcRestart
public int maxLogStackSize;
@Config.Comment("Controls the stacksize of every oredicted prefix based items used for blocks (if that even makes sense)")
@Config.DefaultInt(64)
@Config.RequiresMcRestart
public int maxOtherBlocksStackSize;
@Config.Comment("Controls the stacksize of oredicted planks.")
@Config.DefaultInt(64)
@Config.RequiresMcRestart
public int maxPlankStackSize;
@Config.Comment("Controls the stacksize of oredicted items used in ore treatment.")
@Config.DefaultInt(64)
@Config.RequiresMcRestart
public int maxOreStackSize;
@Config.Comment("Controls the stacksize of IC2 overclocker upgrades.")
@Config.DefaultInt(4)
@Config.RequiresMcRestart
public int upgradeStackSize;
}
@Config.LangKey("GT5U.gui.config.gregtech.general")
public static class General {
@Config.Comment("Control percentage of filled 3x3 chunks. Lower number means less oreveins spawn.")
@Config.DefaultInt(100)
@Config.RequiresMcRestart
public int oreveinPercentage;
@Config.Comment("Control number of attempts to find a valid orevein. Generally this maximum limit isn't hit, selecting a vein is cheap")
@Config.DefaultInt(64)
@Config.RequiresMcRestart
public int oreveinAttempts;
@Config.Comment("Control number of attempts to place a valid ore vein. If a vein wasn't placed due to height restrictions, completely in the water, etc, another attempt is tried.")
@Config.DefaultInt(8)
@Config.RequiresMcRestart
public int oreveinMaxPlacementAttempts;
@Config.Comment("Whether to place small ores as placer ores for an orevein.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean oreveinPlacerOres;
@Config.Comment("Multiplier to control how many placer ores get generated.")
@Config.DefaultInt(2)
@Config.RequiresMcRestart
public int oreveinPlacerOresMultiplier;
@Config.Comment("If true, enables the timber axe (cuts down whole tree in a single hit).")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean timber;
@Config.Comment("If true, all the GT5U potions are always drinkable.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean drinksAlwaysDrinkable;
@Config.Comment("if true, shows all the metaitems in creative and in NEI.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean doShowAllItemsInCreative;
@Config.Comment("if true, makes the GT5U sounds multi-threaded.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean multiThreadedSounds;
@Config.Comment("Max entity amount in the same block for entity craming.")
@Config.DefaultInt(6)
@Config.RequiresMcRestart
public int maxEqualEntitiesAtOneSpot;
@Config.Comment("The chance of success to start a fire from the flint and steel.")
@Config.DefaultInt(30)
@Config.RequiresMcRestart
public int flintChance;
@Config.Comment("Entity despawn time.")
@Config.DefaultInt(6000)
@Config.RequiresMcRestart
public int itemDespawnTime;
@Config.Comment("If true, allows small boiler automation.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean allowSmallBoilerAutomation;
@Config.Comment("If true, increases dungeon loots in vanilla structures.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean increaseDungeonLoot;
@Config.Comment("If true, spawns an axe at the start in adventure mode. Does nothing if the advanture mode isn't forced.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean axeWhenAdventure;
@Config.Comment("If true, forces the survival map into adventure mode.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean survivalIntoAdventure;
@Config.Comment("If true, hungers the players based on his amount of stuff in the inventory every 6s, regardless of player movement.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean hungerEffect;
@Config.Comment("If true, enables the item oredification of the items in the inventory.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean inventoryUnification;
@Config.Comment("if true, enables GT5U and GT++ bees.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean GTBees;
@Config.Comment("if true, enables crafting unification.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean craftingUnification;
@Config.Comment("If true, nerfs planks recipes.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean nerfedWoodPlank;
@Config.Comment("if true, reduces the durability of the vanilla tools.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean nerfedVanillaTools;
@Config.Comment("if true, enables GT5U achievements.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public boolean achievements;
@Config.Comment("if true, hides unused ores.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean hideUnusedOres;
@Config.Comment("if true, enables all the materials in GT5U.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean enableAllMaterials;
@Config.Comment("Controls the amount of tick over the lag averaging is done with the scanner.")
@Config.DefaultInt(25)
@Config.RequiresMcRestart
public int ticksForLagAveraging;
@Config.Comment("Controls the threshold (in ms) above which a lag warning is issued in log for a specific tile entity.")
@Config.DefaultInt(100)
@Config.RequiresMcRestart
public int millisecondThesholdUntilLagWarning;
@Config.Comment("if true, drops the content of the machine inventory before exploding.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public boolean explosionItemDrop;
@Config.Comment("if true, enables the cleanroom multi.")
|