Tweaks 配置(TweaksConfig)

基本信息

属性 值
配置类 com.mitchej123.hodgepodge.config.TweaksConfig
配置分类 tweaks(@Config(modid = "hodgepodge", category = "tweaks"),TweaksConfig.java:5)
源文件 src/main/java/com/mitchej123/hodgepodge/config/TweaksConfig.java(521 行)
字段总数 110(全部为 public static)
分组数 19
配置文件 config/hodgepodge.cfg 的 S:tweaks 段
GUI 可见 是(列于 config/gui/HodgepodgeGuiConfig.java:28)
挂载的 Mixin 数 89(Mixins.java 中 .setApplyIf(() -> TweaksConfig.*) 出现 89 次)

功能

TweaksConfig 与 FixesConfig 的区别是行为变更而非缺陷修复:多数项默认开启、改变默认手感或默认界面(更长的聊天、更大的聊天框、取消 Realms 按钮、名牌不压暗等),少数项是纯功能追加(/time get、创造模式选取方块、F3 附加系统信息等)。

「原版 / Forge」分组(TweaksConfig.java:9)有 60 项,是本配置类的主体,也是玩家最常调整的部分。

数值

按分组统计

分组(源码 // 注释) 字段数
Minecraft 60
Chunk generation and population config 10
Industrialcraft 7
affecting multiple mods 6
Biomes O’ Plenty 4
NBT String Pooling 3
Threaded WorldData Saving 3
Modular Powersuits 3
Minefactory Reloaded 2
ProjectRed 2
Thaumcraft 2
Automagy 1
Cofh 1
Extra Utilities 1
Minechem 1
NotEnoughItems 1
Optifine 1
Railcraft 1
VoxelMap 1

关键可调数值(非布尔)

配置项 类型 默认值 含义
chatLength int 8191 保留的聊天行数(原版 100)
maxHoldF3CForCopy int 500 F3+C 复制坐标的最大按住毫秒数(原版按住即崩),0 关闭
musicDelayMinSeconds int 5 音乐间隔下限(秒)。1.7.10 原版 GAME 为 600,现代版为 5
musicDelayMaxSeconds int 300 音乐间隔上限(秒)。1.7.10 原版 GAME 为 1200,现代版为 300
defaultLanPort int 25565 局域网开服默认端口,0 表示自动分配
fadeNightVisionDuration int 100 夜视淡出时长(tick)
stringPoolMode int 2 NBT 字符串池化模式:0 = Java intern,1 = Guava 强引用 interner,2 = Guava 弱引用 interner
entityStatsExclusions String[] 空 不登记统计的实体名(避免与其它模组重复)
netherPortalRatio double 8.0 下界传送门坐标换算比(原版 8.0)
simulationDistance int 12 模拟距离,需 FixesConfig.addSimulationDistance_WIP 生效
atropineHighID int 9 Minechem 阿托品 High(谵妄)效果 ID
extraUtilitiesEnderQuarryOverride int 0 末影采石场 RF 存储上限覆盖(ExU 默认 10000000),0 用默认

明细

以下为 TweaksConfig.java 的全部 110 个字段,按源码 // 分节排列。

Minecraft

配置项 类型 默认值 说明
signInputIgnoresFormatCodes boolean true hodgepodge tweaks Sign input counts visible characters only, ignoring color format codes like &RRGGBB
reloadSoundsButton boolean true Adds a button in the sounds menu to reload the sound system without needing to press F3 + S
soundEnhancementsButton boolean true Adds a button in the sounds menu for Hodgepodge’s sound enhancements
addSystemInfo boolean true Adds system info to the F3 overlay (Java version and vendor; GPU name; OpenGL version; CPU cores; OS name, version and architecture)
addTimeGet boolean false Adds the ‘get’ subcommand to /time to query the current time
addToggleDebugMessage boolean true Add a debug message in the chat when toggling vanilla debug options
maxHoldF3CForCopy int 500 Max hold time for F3+C to copy player location instead of causing a crash. Set to 0 to disable this.
arabicNumbersForEnchantsPotions boolean false Uses arabic numbers for enchantment levels and potion amplifier levels instead of roman numbers
bedMessageAboveHotbar boolean true Show “cannot sleep” messages above hotbar
bedAlwaysSetsSpawn boolean true Clicking on a bed while in a valid dimension will always set the player spawn
changeSprintCategory boolean true Moves the sprint keybind to the movement category
chatLength int 8191 Amount of chat lines kept (Vanilla: 100)
compactChat boolean true Compacts identical consecutive chat messages together
configurableMusicDelay boolean true Override the vanilla delay between in-game music tracks using musicDelayMinSeconds/musicDelayMaxSeconds.
musicDelayMinSeconds int 5 Minimum delay between in-game music tracks, in seconds. 1.7.10 GAME: 600. Modern GAME: 5. Only applies to long-form music types (game/creative/nether/end), not menu/credits.
musicDelayMaxSeconds int 300 Maximum delay between in-game music tracks, in seconds. 1.7.10 GAME: 1200. Modern GAME: 300. Clamped to >= musicDelayMinSeconds at use time.
defaultLanPort int 25565 Specify default LAN port to open an integrated server on. Set to 0 to always open the server on an automatically allocated port.
disableRealmsButton boolean true Disable Minecraft Realms button on main menu
localizeForgeModOptionsButton boolean true Translate Forge’s Mod Options button in the pause menu
dontInvertCrosshairColor boolean false Stop inverting colors of crosshair
dropPickedLootOnDespawn boolean true Drop picked loot on entity despawn
enableDefaultLanPort boolean true Open an integrated server on a static port.
enableTextFieldCtrlShortcuts boolean true Use CTRL (CMD on MacOS) to COPY / PASTE / SELECT ALL / CUT in text fields (Chat, NEI, Server IP etc.), fixes these shortcuts not working with some keyboard layouts
enableTileRendererProfiler boolean true Shows renderer’s impact on FPS in vanilla lagometer
enhanceNightVision boolean false Remove the blueish sky tint from night vision
fadeNightVision boolean true Replaces night vision expiry effect with a fade-out effect
fadeNightVisionDuration int 50 Night vision fade-out duration (in ticks)
fastBlockPlacing boolean false Allows blocks to be placed at a faster rate (toggleable via keybind)
improvedRedstoneWireHitbox boolean true Add a accurate hitbox to the redstone wire
fastBlockPlacingServerSide boolean true Allow players on your server to use fast block placement
fixPotionRenderOffset boolean true Prevents the inventory from shifting when the player has active potion effects
showInventoryEffectIcons boolean true Show potion effect icons in inventory screens
moveInventoryCraftingGrid boolean true Uses a new player inventory texture and moves the 2x2 crafting grid, its output slot and the crafting title 2 pixels right and 4 pixels up.
hideCrosshairInThirdPerson boolean true Stops rendering the crosshair when you are playing in third person
hideCrosshairInGui boolean true Stops rendering the crosshair when a GUI screen (e.g. an inventory) is open
increaseParticleLimit boolean true Increase particle limit
longerChat boolean true Makes the chat history longer instead of 100 lines
longerSentMessages boolean true Allows you to send longer chat messages, up to 256 characters, instead of 100 in vanilla.
modernPickBlock boolean true Adds pick block functionality to survival mode
particleLimit int 8000 Particle limit (Vanilla: 4000)
preventPickupLoot boolean true Prevent monsters from picking up loot.
removeSpawningMinecartSound boolean true Stop playing a sound when spawning a minecart in the world
transparentChat boolean true Doesn’t render the black box behind messages when the chat is closed
texturedScrollbar boolean true Use a custom textured scrollbar
autoSaveInterval int 900 Sets the interval for auto saves in ticks (20 ticks = 1 second)
useLighterWater boolean false Reduces water opacity from 3 to 1, to match modern
endermanBlockGrabDisable boolean false Entirely remove Endermen’s ability to grab blocks. Should also work for any modded entities that extend EntityEnderman and call its onLivingUpdate
endermanBlockPlaceDisable boolean false Entirely remove Endermen’s ability to place blocks. Should also work for any modded entities that extend EntityEnderman and call its onLivingUpdate
endermanBlockPlaceBlacklist boolean false 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
witchPotionMetadata boolean true Fix the metadata of potions dropped and thrown by witches.
endermanBlockPlaceBlacklistBlocks String[] — 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
betterModList boolean true Better ModList
defaultModSort int 1 Controls the default sorting on the mod list GUI. 0 - Default sort (load order) 1 - A to Z sort 2 - Z to A sort
skipEmptySounds boolean true Skips playing empty sounds.
hideTextureErrors boolean true Hides the texture errors in the log.
allowEatingFoodInCreative boolean true Allows players in Creative to eat food.
disableVoidFog int 1 Removes all void fog. 0 = keep void fog 1 = disable for DEFAULT worldtype only 2 = disable for all world types
anvilMaxLevel int 40 The max amount of XP levels an anvil recipe can use.
cleanChatLogs boolean true Removes the color codes from the chat logs
f1ShowHand boolean false Enable extra F1 toggle to hide GUI but keep rendering hand

NBT String Pooling

配置项 类型 默认值 说明
enableTagCompoundStringPooling boolean true Enable string pooling for NBT TagCompound Keys
enableNBTStringPooling boolean false Enable string pooling for NBT Strings - trades performance for memory
stringPoolMode int 1 String pooling mode (0 = Java intern, 1 = Guava strong interner, 2 = Guava weak interner)

Threaded WorldData Saving

配置项 类型 默认值 说明
threadedWorldDataSaving boolean true Enable threaded saving for WorldData
dontSleepOnThreadedIO boolean true Don’t sleep on threaded IO
saveMineshaftData boolean true 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

affecting multiple mods

配置项 类型 默认值 说明
unbindKeybindsByDefault boolean true Unbinds keybinds of certain ARR mods to avoid keybinds conflicts
addModItemStats boolean true Adds non-vanilla blocks/items to the statistics
addModEntityStats boolean true Adds non-vanilla entities to the statistics
entityStatsExclusions String[] { “Mob”, “Monster” } No stats will be registered for these enties (e.g. because another mod already adds them) Mob Monster
sortEntityStats boolean true Sort Mob stats lexicographically (Requires addModEntityStats)
addModConfigSearchBar boolean true Adds a search bar to the mod config GUI

Automagy

配置项 类型 默认值 说明
thirstyTankContainer boolean true Implement container for thirsty tank

Biomes O’ Plenty

配置项 类型 默认值 说明
makeBigFirsPlantable boolean true Allow 5 Fir Sapling planted together (‘+’ shape) to grow to a big fir tree
removeBOPQuicksandGeneration boolean false Remove the BOP quicksand generation
removeBOPDonatorEffect boolean true Remove the BOP donator effect which blocks the main thread when starting the game
addBOPLavenderToBoneMealPool boolean true Add BOP lavenders to the bone meal pool in lavender fields

Cofh

配置项 类型 默认值 说明
improveCofhBreakBlock boolean true Improve CoFH’s breakBlock method

Extra Utilities

配置项 类型 默认值 说明
disableAidSpawnByXUSpikes boolean true Disables the spawn of zombie aid when zombie is killed by Extra Utilities Spikes, since it can spawn them too far.

Industrialcraft

配置项 类型 默认值 说明
displayIc2FluidLocalizedName boolean true Display fluid localized name in IC2 fluid cell tooltip
hideIc2ReactorSlots boolean true Prevent IC2’s reactor’s coolant slots from being accessed by automations if not a fluid reactor
ic2CellWithContainer boolean false Give IC2 cells containers like GregTech cells do
ic2SeedMaxStackSize int 64 IC2 seed max stack size
extraUtilitiesEnderQuarryOverride int 0 Ender Quarry RF Storage Override (ExU default value: 10000000) (0 to use default value)
synchronizeIC2Reactors boolean false Synchronize IC2 reactors to the world tick time, allowing for tick-perfect automation.
ic2DispenserITNT boolean true Allow Dispensers to dispense IC2 ITNT.

Minechem

配置项 类型 默认值 说明
atropineHighID int 255 Minechem Atropine High (Delirium) effect ID

Minefactory Reloaded

配置项 类型 默认值 说明
improveMfrBlockSmasher boolean true Improves MineFactory Reloaded smasher block to support other mods manipulating its drops
improveMfrBlockBreaker boolean true Improves MineFactory Reloaded breaker block to support other mods manipulating its drops

Modular Powersuits

配置项 类型 默认值 说明
preventMPSEnergyTransferRF boolean false Prevents ModularPowerSuits from charging and draining RF energy from other non-MPS items in inventory
preventMPSEnergyTransferEU boolean false Prevents ModularPowerSuits from charging and draining EU energy from other non-MPS items in inventory
preventMPSEnergyTransferME boolean false Prevents ModularPowerSuits from charging and draining ME energy from other non-MPS items in inventory

NotEnoughItems

配置项 类型 默认值 说明
fixPotionEffectRender boolean true Fix vanilla potion effects rendering above the NEI tooltips in the inventory

Optifine

配置项 类型 默认值 说明
removeOptifineGLErrors boolean true Removes the ‘GL error’ message that appears when using a shader in Optifine/Shadersmod

ProjectRed

配置项 类型 默认值 说明
fixComponentsPoppingOff boolean true Fix Project Red components popping off on unloaded chunks
fixHudLightingGlitch boolean true Fix hotbars being dark when Project Red is installed

Railcraft

配置项 类型 默认值 说明
installAnchorAlarm boolean true Wake up passive & personal anchors on player login

Thaumcraft

配置项 类型 默认值 说明
addCVSupportToWandPedestal boolean true Add CV support to Thaumcraft wand recharge pedestal
hidePotionParticlesFromSelf boolean true Stops rendering potion particles from yourself

VoxelMap

配置项 类型 默认值 说明
changeCacheFileExtension boolean true Changes the file extension of VoxelMap’s cache files from .zip to .data to stop the TechnicLauncher from deleting them when updating

Chunk generation and population config

配置项 类型 默认值 说明
disableChunkTerrainGeneration boolean false Disable terrain generation for new generated chunks (all blocks become air, biomes remain)
disableWorldTypeChunkPopulation boolean false Disable world type associated chunk population for new generated chunks (e.g. vanilla structures in Overworld)
disableModdedChunkPopulation boolean false Disable all extra mod chunk population for new generated chunks (e.g. Natura’s clouds)
avoidDroppingItemsWhenClosing boolean true Avoids droping items on container close, and instead places them in the player inventory. (Inspired from EFR)
simulationDistance int 32 Simulation distance (needs addSimulationDistance_WIP to be active)
hungerGameRule boolean true Add a gamerule to disable hunger
netherPortalRatio double 8.0 Nether portal coordinate conversion ratio (Vanilla: 8.0). Controls how Overworld and Nether coordinates are scaled when traveling through portals
hideDeprecatedIdNotice boolean true Remove the notice about numeric ID deprecation that appears when a command uses them
creativeTabLocalizationOverrides boolean true Allow creative tab gui title color via localization key
moreReadableIntCacheSize boolean true Makes the int cache size more readable