-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathTweaksConfig.java
More file actions
479 lines (361 loc) · 19.2 KB
/
Copy pathTweaksConfig.java
File metadata and controls
479 lines (361 loc) · 19.2 KB
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
package com.mitchej123.hodgepodge.config;
import com.gtnewhorizon.gtnhlib.config.Config;
@Config(modid = "hodgepodge", category = "tweaks")
@Config.RequiresMcRestart
public class TweaksConfig {
// Minecraft
@Config.Comment("Sign input counts visible characters only, ignoring color format codes like &RRGGBB")
@Config.DefaultBoolean(true)
public static boolean signInputIgnoresFormatCodes;
@Config.Comment("Adds a button in the sounds menu to reload the sound system without needing to press F3 + S")
@Config.DefaultBoolean(true)
public static boolean reloadSoundsButton;
@Config.Comment("Adds system info to the F3 overlay (Java version and vendor; GPU name; OpenGL version; CPU cores; OS name, version and architecture)")
@Config.DefaultBoolean(true)
public static boolean addSystemInfo;
@Config.Comment("Adds the 'get' subcommand to /time to query the current time")
@Config.DefaultBoolean(false)
public static boolean addTimeGet;
@Config.Comment("Add a debug message in the chat when toggling vanilla debug options")
@Config.DefaultBoolean(true)
public static boolean addToggleDebugMessage;
@Config.Comment("Max hold time for F3+C to copy player location instead of causing a crash. Set to 0 to disable this.")
@Config.RangeInt(min = 0, max = 1000)
@Config.DefaultInt(500)
public static int maxHoldF3CForCopy;
@Config.Comment("Uses arabic numbers for enchantment levels and potion amplifier levels instead of roman numbers")
@Config.DefaultBoolean(false)
public static boolean arabicNumbersForEnchantsPotions;
@Config.Comment("Show \"cannot sleep\" messages above hotbar")
@Config.DefaultBoolean(true)
public static boolean bedMessageAboveHotbar;
@Config.Comment("Clicking on a bed while in a valid dimension will always set the player spawn")
@Config.DefaultBoolean(true)
public static boolean bedAlwaysSetsSpawn;
@Config.Comment("Moves the sprint keybind to the movement category")
@Config.DefaultBoolean(true)
public static boolean changeSprintCategory;
@Config.Comment("Amount of chat lines kept (Vanilla: 100)")
@Config.RangeInt(min = 100, max = 32767)
@Config.DefaultInt(8191)
public static int chatLength;
@Config.Comment("Compacts identical consecutive chat messages together")
@Config.DefaultBoolean(true)
public static boolean compactChat;
@Config.Comment("Specify default LAN port to open an integrated server on. Set to 0 to always open the server on an automatically allocated port.")
@Config.RangeInt(min = 0, max = 65535)
@Config.DefaultInt(25565)
public static int defaultLanPort;
@Config.Comment("Disable Minecraft Realms button on main menu")
@Config.DefaultBoolean(true)
public static boolean disableRealmsButton;
@Config.Comment("Translate Forge's Mod Options button in the pause menu")
@Config.DefaultBoolean(true)
public static boolean localizeForgeModOptionsButton;
@Config.Comment("Stop inverting colors of crosshair")
@Config.DefaultBoolean(false)
public static boolean dontInvertCrosshairColor;
@Config.Comment("Drop picked loot on entity despawn")
@Config.DefaultBoolean(true)
public static boolean dropPickedLootOnDespawn;
@Config.Comment("Open an integrated server on a static port.")
@Config.DefaultBoolean(true)
public static boolean enableDefaultLanPort;
@Config.Comment("Use CMD key on MacOS to COPY / INSERT / SELECT in text fields (Chat, NEI, Server IP etc.)")
@Config.DefaultBoolean(true)
public static boolean enableMacosCmdShortcuts;
@Config.Comment("Shows renderer's impact on FPS in vanilla lagometer")
@Config.DefaultBoolean(true)
public static boolean enableTileRendererProfiler;
@Config.Comment("Remove the blueish sky tint from night vision")
@Config.DefaultBoolean(false)
public static boolean enhanceNightVision;
@Config.Comment("Replaces night vision expiry effect with a fade-out effect")
@Config.DefaultBoolean(true)
public static boolean fadeNightVision;
@Config.Comment("Night vision fade-out duration (in ticks)")
@Config.DefaultInt(50)
public static int fadeNightVisionDuration;
@Config.Comment("Allows blocks to be placed at a faster rate (toggleable via keybind)")
@Config.DefaultBoolean(false)
public static boolean fastBlockPlacing;
@Config.Comment("Add a accurate hitbox to the redstone wire")
@Config.DefaultBoolean(true)
public static boolean improvedRedstoneWireHitbox;
@Config.Comment("Allow players on your server to use fast block placement")
@Config.DefaultBoolean(true)
public static boolean fastBlockPlacingServerSide;
@Config.Comment("Prevents the inventory from shifting when the player has active potion effects")
@Config.DefaultBoolean(true)
public static boolean fixPotionRenderOffset;
@Config.Comment("Show potion effect icons in inventory screens")
@Config.DefaultBoolean(true)
public static boolean showInventoryEffectIcons;
@Config.Comment("Stops rendering the crosshair when you are playing in third person")
@Config.DefaultBoolean(true)
public static boolean hideCrosshairInThirdPerson;
@Config.Comment("Increase particle limit")
@Config.DefaultBoolean(true)
public static boolean increaseParticleLimit;
@Config.Comment("Makes the chat history longer instead of 100 lines")
@Config.DefaultBoolean(true)
public static boolean longerChat;
@Config.Comment("Allows you to send longer chat messages, up to 256 characters, instead of 100 in vanilla.")
@Config.DefaultBoolean(true)
public static boolean longerSentMessages;
@Config.Comment("Adds pick block functionality to survival mode")
@Config.DefaultBoolean(true)
public static boolean modernPickBlock;
@Config.Comment("Particle limit (Vanilla: 4000)")
@Config.RangeInt(min = 4000, max = 16000)
@Config.DefaultInt(8000)
public static int particleLimit;
@Config.Comment("Prevent monsters from picking up loot.")
@Config.DefaultBoolean(true)
public static boolean preventPickupLoot;
@Config.Comment("Stop playing a sound when spawning a minecart in the world")
@Config.DefaultBoolean(true)
public static boolean removeSpawningMinecartSound;
@Config.Comment("Doesn't render the black box behind messages when the chat is closed")
@Config.DefaultBoolean(true)
public static boolean transparentChat;
@Config.Comment("Sets the interval for auto saves in ticks (20 ticks = 1 second)")
@Config.RangeInt(min = 1)
@Config.DefaultInt(900)
public static int autoSaveInterval;
@Config.Comment("Reduces water opacity from 3 to 1, to match modern")
@Config.DefaultBoolean(false)
public static boolean useLighterWater;
@Config.Comment("Entirely remove Endermen's ability to grab blocks. Should also work for any modded entities that extend EntityEnderman and call its onLivingUpdate")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean endermanBlockGrabDisable;
@Config.Comment("Entirely remove Endermen's ability to place blocks. Should also work for any modded entities that extend EntityEnderman and call its onLivingUpdate")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean endermanBlockPlaceDisable;
@Config.Comment("Enable the blacklist (defined in endermanBlockPlaceBlacklistBlocks) for blocks that Endermen are unable to place held blocks on top of. Ignored if endermanBlockPlaceDisable is true. Should also work for any modded entities that extend EntityEnderman and call its onLivingUpdate")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean endermanBlockPlaceBlacklist;
@Config.Comment("Fix the metadata of potions dropped and thrown by witches.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean witchPotionMetadata;
@Config.Comment("The list of blocks that Endermen are unable to place held blocks on top of. Requires endermanBlockPlaceBlacklist to be true. Ignored if endermanBlockPlaceDisable is true. Add entries in the format modId:blockName(:meta optional), with meta of 32767 to prevent endermen from placing on blocks of any meta value with the same id")
@Config.RequiresMcRestart
public static String[] endermanBlockPlaceBlacklistBlocks;
@Config.Comment("Better ModList")
@Config.DefaultBoolean(true)
public static boolean betterModList;
@Config.Comment({ "Controls the default sorting on the mod list GUI.", "0 - Default sort (load order)",
"1 - A to Z sort", "2 - Z to A sort" })
@Config.RangeInt(min = 0, max = 2)
public static int defaultModSort = 1;
@Config.Comment("Skips playing empty sounds.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean skipEmptySounds;
@Config.Comment("Hides the texture errors in the log.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean hideTextureErrors;
@Config.Comment("Allows players in Creative to eat food.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean allowEatingFoodInCreative;
@Config.Comment({ "Removes all void fog.", "0 = keep void fog", "1 = disable for DEFAULT worldtype only",
"2 = disable for all world types" })
@Config.DefaultInt(1)
@Config.RangeInt(min = 0, max = 2)
public static int disableVoidFog = 1;
@Config.Comment("The max amount of XP levels an anvil recipe can use.")
@Config.DefaultInt(40)
public static int anvilMaxLevel = 40;
@Config.Comment("Removes the color codes from the chat logs")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean cleanChatLogs = true;
// NBT String Pooling
@Config.Comment("Enable string pooling for NBT TagCompound Keys")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean enableTagCompoundStringPooling;
@Config.Comment("Enable string pooling for NBT Strings - trades performance for memory")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean enableNBTStringPooling;
@Config.Comment("String pooling mode (0 = Java intern, 1 = Guava strong interner, 2 = Guava weak interner)")
@Config.RangeInt(min = 0, max = 2)
@Config.DefaultInt(1)
@Config.RequiresMcRestart
public static int stringPoolMode;
// Threaded WorldData Saving
@Config.Comment("Enable threaded saving for WorldData")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean threadedWorldDataSaving;
@Config.Comment("Don't sleep on threaded IO")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean dontSleepOnThreadedIO;
@Config.Comment({ "Save Mineshaft data (Requires threadedWorldDataSaving for changes to take effect)",
"Might cause small worldgen issues if disabled; equivalent to removing the file on each boot if disabled" })
@Config.DefaultBoolean(true)
public static boolean saveMineshaftData;
// affecting multiple mods
@Config.Comment("Unbinds keybinds of certain ARR mods to avoid keybinds conflicts")
@Config.DefaultBoolean(true)
public static boolean unbindKeybindsByDefault;
@Config.Comment("Adds non-vanilla blocks/items to the statistics")
@Config.DefaultBoolean(true)
public static boolean addModItemStats;
@Config.Comment("Adds non-vanilla entities to the statistics")
@Config.DefaultBoolean(true)
public static boolean addModEntityStats;
@Config.Comment("No stats will be registered for these enties (e.g. because another mod already adds them)")
@Config.DefaultStringList({ "Mob", "Monster" })
public static String[] entityStatsExclusions;
@Config.Comment("Sort Mob stats lexicographically (Requires addModEntityStats)")
@Config.DefaultBoolean(true)
public static boolean sortEntityStats;
@Config.Comment("Adds a search bar to the mod config GUI")
@Config.DefaultBoolean(true)
public static boolean addModConfigSearchBar;
// Automagy
@Config.Comment("Implement container for thirsty tank")
@Config.DefaultBoolean(true)
public static boolean thirstyTankContainer;
// Biomes O' Plenty
@Config.Comment("Allow 5 Fir Sapling planted together ('+' shape) to grow to a big fir tree")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean makeBigFirsPlantable;
@Config.Comment("Remove the BOP quicksand generation")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean removeBOPQuicksandGeneration;
@Config.Comment("Remove the BOP donator effect which blocks the main thread when starting the game")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean removeBOPDonatorEffect;
// Cofh
@Config.Comment("Improve CoFH's breakBlock method")
@Config.DefaultBoolean(true)
public static boolean improveCofhBreakBlock;
// Extra Utilities
@Config.Comment("Disables the spawn of zombie aid when zombie is killed by Extra Utilities Spikes, since it can spawn them too far.")
@Config.DefaultBoolean(true)
public static boolean disableAidSpawnByXUSpikes;
// Industrialcraft
@Config.Comment("Display fluid localized name in IC2 fluid cell tooltip")
@Config.DefaultBoolean(true)
public static boolean displayIc2FluidLocalizedName;
@Config.Comment("Prevent IC2's reactor's coolant slots from being accessed by automations if not a fluid reactor")
@Config.DefaultBoolean(true)
public static boolean hideIc2ReactorSlots;
@Config.Comment("Give IC2 cells containers like GregTech cells do")
@Config.DefaultBoolean(false)
public static boolean ic2CellWithContainer;
@Config.Comment("IC2 seed max stack size")
@Config.RangeInt(min = 1, max = 64)
@Config.DefaultInt(64)
public static int ic2SeedMaxStackSize;
@Config.Comment("Ender Quarry RF Storage Override (ExU default value: 10000000) (0 to use default value)")
@Config.RangeInt(min = 0)
@Config.DefaultInt(0)
public static int extraUtilitiesEnderQuarryOverride;
@Config.Comment("Synchronize IC2 reactors to the world tick time, allowing for tick-perfect automation.")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean synchronizeIC2Reactors;
@Config.Comment("Allow Dispensers to dispense IC2 ITNT.")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean ic2DispenserITNT;
// Minechem
@Config.Comment("Minechem Atropine High (Delirium) effect ID")
@Config.RangeInt(min = 1, max = 255)
@Config.DefaultInt(255)
public static int atropineHighID;
// Minefactory Reloaded
@Config.Comment("Improves MineFactory Reloaded smasher block to support other mods manipulating its drops")
@Config.DefaultBoolean(true)
public static boolean improveMfrBlockSmasher;
@Config.Comment("Improves MineFactory Reloaded breaker block to support other mods manipulating its drops")
@Config.DefaultBoolean(true)
public static boolean improveMfrBlockBreaker;
// Modular Powersuits
@Config.Comment("Prevents ModularPowerSuits from charging and draining RF energy from other non-MPS items in inventory")
@Config.DefaultBoolean(false)
public static boolean preventMPSEnergyTransferRF;
@Config.Comment("Prevents ModularPowerSuits from charging and draining EU energy from other non-MPS items in inventory")
@Config.DefaultBoolean(false)
public static boolean preventMPSEnergyTransferEU;
@Config.Comment("Prevents ModularPowerSuits from charging and draining ME energy from other non-MPS items in inventory")
@Config.DefaultBoolean(false)
public static boolean preventMPSEnergyTransferME;
// NotEnoughItems
@Config.Comment("Fix vanilla potion effects rendering above the NEI tooltips in the inventory")
@Config.DefaultBoolean(true)
public static boolean fixPotionEffectRender;
// Optifine
@Config.Comment("Removes the 'GL error' message that appears when using a shader in Optifine/Shadersmod")
@Config.DefaultBoolean(true)
public static boolean removeOptifineGLErrors;
// ProjectRed
@Config.Comment("Fix Project Red components popping off on unloaded chunks")
@Config.DefaultBoolean(true)
public static boolean fixComponentsPoppingOff;
@Config.Comment("Fix hotbars being dark when Project Red is installed")
@Config.DefaultBoolean(true)
public static boolean fixHudLightingGlitch;
// Railcraft
@Config.Comment("Wake up passive & personal anchors on player login")
@Config.DefaultBoolean(true)
public static boolean installAnchorAlarm;
// Thaumcraft
@Config.Comment("Add CV support to Thaumcraft wand recharge pedestal")
@Config.DefaultBoolean(true)
public static boolean addCVSupportToWandPedestal;
@Config.Comment("Stops rendering potion particles from yourself")
@Config.DefaultBoolean(true)
public static boolean hidePotionParticlesFromSelf;
// VoxelMap
@Config.Comment("Changes the file extension of VoxelMap's cache files from .zip to .data to stop the TechnicLauncher from deleting them when updating")
@Config.DefaultBoolean(true)
public static boolean changeCacheFileExtension;
// Chunk generation and population config
@Config.Comment("Disable terrain generation for new generated chunks (all blocks become air, biomes remain)")
@Config.DefaultBoolean(false)
public static boolean disableChunkTerrainGeneration;
@Config.Comment("Disable world type associated chunk population for new generated chunks (e.g. vanilla structures in Overworld)")
@Config.DefaultBoolean(false)
public static boolean disableWorldTypeChunkPopulation;
@Config.Comment("Disable all extra mod chunk population for new generated chunks (e.g. Natura's clouds)")
@Config.DefaultBoolean(false)
public static boolean disableModdedChunkPopulation;
@Config.Comment("Avoids droping items on container close, and instead places them in the player inventory. (Inspired from EFR)")
@Config.DefaultBoolean(true)
public static boolean avoidDroppingItemsWhenClosing;
@Config.Comment("Simulation distance (needs addSimulationDistance_WIP to be active)")
@Config.DefaultInt(32)
public static int simulationDistance;
@Config.Comment("Add a gamerule to disable hunger")
@Config.DefaultBoolean(true)
public static boolean hungerGameRule;
@Config.Comment("Nether portal coordinate conversion ratio (Vanilla: 8.0). Controls how Overworld and Nether coordinates are scaled when traveling through portals")
@Config.RangeDouble(min = 0.125, max = 64.0)
@Config.DefaultDouble(8.0)
@Config.RequiresMcRestart
public static double netherPortalRatio;
@Config.Comment("Remove the notice about numeric ID deprecation that appears when a command uses them")
@Config.DefaultBoolean(true)
public static boolean hideDeprecatedIdNotice;
@Config.Comment("Allow creative tab gui title color via localization key")
@Config.DefaultBoolean(true)
public static boolean creativeTabLocalizationOverrides;
@Config.Comment("Makes the int cache size more readable")
@Config.DefaultBoolean(true)
public static boolean moreReadableIntCacheSize;
}