Small Forge config fixes (#6466)

This commit is contained in:
Cadiboo 2020-01-30 08:04:35 +11:00 committed by GitHub
parent c72d6e9122
commit 617159c825
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 22 deletions

View file

@ -19,7 +19,6 @@
package net.minecraftforge.common; package net.minecraftforge.common;
import static net.minecraftforge.fml.Logging.CORE;
import static net.minecraftforge.fml.loading.LogMarkers.FORGEMOD; import static net.minecraftforge.fml.loading.LogMarkers.FORGEMOD;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
@ -68,7 +67,7 @@ public class ForgeConfig
.define("removeErroringTileEntities", false); .define("removeErroringTileEntities", false);
fullBoundingBoxLadders = builder fullBoundingBoxLadders = builder
.comment("Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior. Default: false") .comment("Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior. Default: false.")
.translation("forge.configgui.fullBoundingBoxLadders") .translation("forge.configgui.fullBoundingBoxLadders")
.worldRestart() .worldRestart()
.define("fullBoundingBoxLadders", false); .define("fullBoundingBoxLadders", false);
@ -101,13 +100,13 @@ public class ForgeConfig
.defineInRange("dimensionUnloadQueueDelay", 0, 0, Integer.MAX_VALUE); .defineInRange("dimensionUnloadQueueDelay", 0, 0, Integer.MAX_VALUE);
clumpingThreshold = builder clumpingThreshold = builder
.comment("Controls the number threshold at which Packet51 is preferred over Packet52, default and minimum 64, maximum 1024") .comment("Controls the number threshold at which Packet51 is preferred over Packet52, default and minimum 64, maximum 1024.")
.translation("forge.configgui.clumpingThreshold") .translation("forge.configgui.clumpingThreshold")
.worldRestart() .worldRestart()
.defineInRange("clumpingThreshold", 64, 64, 1024); .defineInRange("clumpingThreshold", 64, 64, 1024);
treatEmptyTagsAsAir = builder treatEmptyTagsAsAir = builder
.comment("Vanilla will treat crafting recipess using empty tags as air, and allow you to craft with nothing in that slot. This changes empty tags to use BARRIER as the item. To prevent crafting with air.") .comment("Vanilla will treat crafting recipes using empty tags as air, and allow you to craft with nothing in that slot. This changes empty tags to use BARRIER as the item. To prevent crafting with air.")
.translation("forge.configgui.treatEmptyTagsAsAir") .translation("forge.configgui.treatEmptyTagsAsAir")
.define("treatEmptyTagsAsAir", false); .define("treatEmptyTagsAsAir", false);
@ -153,14 +152,14 @@ public class ForgeConfig
.define("disableStairSlabCulling", false); .define("disableStairSlabCulling", false);
alwaysSetupTerrainOffThread = builder alwaysSetupTerrainOffThread = builder
.comment("Enable forge to queue all chunk updates to the Chunk Update thread.", .comment("Enable Forge to queue all chunk updates to the Chunk Update thread.",
"May increase FPS significantly, but may also cause weird rendering lag.", "May increase FPS significantly, but may also cause weird rendering lag.",
"Not recommended for computers without a significant number of cores available.") "Not recommended for computers without a significant number of cores available.")
.translation("forge.configgui.alwaysSetupTerrainOffThread") .translation("forge.configgui.alwaysSetupTerrainOffThread")
.define("alwaysSetupTerrainOffThread", false); .define("alwaysSetupTerrainOffThread", false);
forgeLightPipelineEnabled = builder forgeLightPipelineEnabled = builder
.comment("Enable the forge block rendering pipeline - fixes the lighting of custom models.") .comment("Enable the Forge block rendering pipeline - fixes the lighting of custom models.")
.translation("forge.configgui.forgeLightPipelineEnabled") .translation("forge.configgui.forgeLightPipelineEnabled")
.define("forgeLightPipelineEnabled", true); .define("forgeLightPipelineEnabled", true);
@ -170,8 +169,8 @@ public class ForgeConfig
.define("selectiveResourceReloadEnabled", true); .define("selectiveResourceReloadEnabled", true);
showLoadWarnings = builder showLoadWarnings = builder
.comment("When enabled, forge will show any warnings that occurred during loading") .comment("When enabled, Forge will show any warnings that occurred during loading.")
.translation("forge.configgui.showloadwarnings") .translation("forge.configgui.showLoadWarnings")
.define("showLoadWarnings", true); .define("showLoadWarnings", true);
builder.pop(); builder.pop();
@ -202,7 +201,7 @@ public class ForgeConfig
@SubscribeEvent @SubscribeEvent
public static void onFileChange(final ModConfig.Reloading configEvent) { public static void onFileChange(final ModConfig.Reloading configEvent) {
LogManager.getLogger().fatal(CORE, "Forge config just got changed on the file system!"); LogManager.getLogger().debug(FORGEMOD, "Forge config just got changed on the file system!");
} }
//General //General

View file

@ -46,7 +46,7 @@
"fml.modloading.failedtoloadmod":"{0,modinfo,name} ({0,modinfo,id}) has failed to load correctly\n\u00a77{2,exc,msg}", "fml.modloading.failedtoloadmod":"{0,modinfo,name} ({0,modinfo,id}) has failed to load correctly\n\u00a77{2,exc,msg}",
"fml.modloading.uncaughterror":"An uncaught parallel processing error has occurred.\n\u00a77{2,exc,msg}", "fml.modloading.uncaughterror":"An uncaught parallel processing error has occurred.\n\u00a77{2,exc,msg}",
"fml.modloading.errorduringevent":"{0,modinfo,name} ({0,modinfo,id}) encountered an error during the {1,lower} event phase\n\u00a77{2,exc,msg}", "fml.modloading.errorduringevent":"{0,modinfo,name} ({0,modinfo,id}) encountered an error during the {1,lower} event phase\n\u00a77{2,exc,msg}",
"fml.modloading.failedtoloadforge": "Failed to load forge", "fml.modloading.failedtoloadforge": "Failed to load Forge",
"fml.modloading.missingdependency": "Mod \u00a7e{4}\u00a7r requires \u00a76{3}\u00a7r \u00a7o{5,vr}\u00a7r\n\u00a77Currently, \u00a76{3}\u00a7r\u00a77 is \u00a7o{6,i18n,fml.messages.artifactversion.ornotinstalled}", "fml.modloading.missingdependency": "Mod \u00a7e{4}\u00a7r requires \u00a76{3}\u00a7r \u00a7o{5,vr}\u00a7r\n\u00a77Currently, \u00a76{3}\u00a7r\u00a77 is \u00a7o{6,i18n,fml.messages.artifactversion.ornotinstalled}",
"fml.modloading.cycle": "Detected a mod dependency cycle: {0}", "fml.modloading.cycle": "Detected a mod dependency cycle: {0}",
"fml.modloading.failedtoprocesswork":"{0,modinfo,name} ({0,modinfo,id}) encountered an error processing deferred work\n\u00a77{2,exc,msg}", "fml.modloading.failedtoprocesswork":"{0,modinfo,name} ({0,modinfo,id}) encountered an error processing deferred work\n\u00a77{2,exc,msg}",
@ -109,15 +109,11 @@
"forge.update.newversion": "New Forge version available: %s", "forge.update.newversion": "New Forge version available: %s",
"forge.menu.updatescreen.title": "Mod Update", "forge.menu.updatescreen.title": "Mod Update",
"forge.configgui.clumpingThreshold.tooltip": "Controls the number threshold at which Packet51 is preferred over Packet52.",
"forge.configgui.clumpingThreshold": "Packet Clumping Threshold",
"forge.configgui.disableVersionCheck.tooltip": "Set to true to disable Forge version check mechanics. Forge queries a small json file on our server for version information. For more details see the ForgeVersion class in our github.",
"forge.configgui.disableVersionCheck": "Disable Forge Version Check",
"forge.configgui.removeErroringEntities.tooltip": "Set this to true to remove any Entity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.", "forge.configgui.removeErroringEntities.tooltip": "Set this to true to remove any Entity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.",
"forge.configgui.removeErroringEntities": "Remove Erroring Entities", "forge.configgui.removeErroringEntities": "Remove Erroring Entities",
"forge.configgui.removeErroringTileEntities.tooltip": "Set this to true to remove any TileEntity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.", "forge.configgui.removeErroringTileEntities.tooltip": "Set this to true to remove any TileEntity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.",
"forge.configgui.removeErroringTileEntities": "Remove Erroring Tile Entities", "forge.configgui.removeErroringTileEntities": "Remove Erroring Tile Entities",
"forge.configgui.fullBoundingBoxLadders.tooltip": "Set this to true to check the entire entity collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior.", "forge.configgui.fullBoundingBoxLadders.tooltip": "Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior. Default: false.",
"forge.configgui.fullBoundingBoxLadders": "Full Bounding Box Ladders", "forge.configgui.fullBoundingBoxLadders": "Full Bounding Box Ladders",
"forge.configgui.zombieBaseSummonChance.tooltip": "Base zombie summoning spawn chance. Allows changing the bonus zombie summoning mechanic.", "forge.configgui.zombieBaseSummonChance.tooltip": "Base zombie summoning spawn chance. Allows changing the bonus zombie summoning mechanic.",
"forge.configgui.zombieBaseSummonChance": "Zombie Summon Chance", "forge.configgui.zombieBaseSummonChance": "Zombie Summon Chance",
@ -125,22 +121,32 @@
"forge.configgui.zombieBabyChance": "Zombie Baby Chance", "forge.configgui.zombieBabyChance": "Zombie Baby Chance",
"forge.configgui.logCascadingWorldGeneration.tooltip": "Log cascading chunk generation issues during terrain population.", "forge.configgui.logCascadingWorldGeneration.tooltip": "Log cascading chunk generation issues during terrain population.",
"forge.configgui.logCascadingWorldGeneration": "Log Cascading World Gen", "forge.configgui.logCascadingWorldGeneration": "Log Cascading World Gen",
"forge.configgui.fixVanillaCascading.tooltip": "Fix various bugs in vanilla world gen that causes extra chunks to load. This WILL change your worldgen from vanilla. Do not report differences if this is enabled.", "forge.configgui.fixVanillaCascading.tooltip": "Fix vanilla issues that cause worldgen cascading. This DOES change vanilla worldgen so DO NOT report bugs related to world differences if this flag is on.",
"forge.configgui.fixVanillaCascading": "Fix Vanilla Cascading", "forge.configgui.fixVanillaCascading": "Fix Vanilla Cascading",
"forge.configgui.dimensionUnloadQueueDelay.tooltip": "The time in ticks the server will wait until unloading a dimension. This can be useful when rapidly loading and unloading dimensions, like e.g. throwing items through a nether portal a few time per second.", "forge.configgui.dimensionUnloadQueueDelay.tooltip": "The time in ticks the server will wait when a dimension was queued to unload. This can be useful when rapidly loading and unloading dimensions, like e.g. throwing items through a nether portal a few time per second.",
"forge.configgui.dimensionUnloadQueueDelay": "Delay when unloading dimension", "forge.configgui.dimensionUnloadQueueDelay": "Delay when unloading dimension",
"forge.configgui.clumpingThreshold.tooltip": "Controls the number threshold at which Packet51 is preferred over Packet52, default and minimum 64, maximum 1024.",
"forge.configgui.clumpingThreshold": "Packet Clumping Threshold",
"forge.configgui.treatEmptyTagsAsAir.tooltip": "Vanilla will treat crafting recipes using empty tags as air, and allow you to craft with nothing in that slot. This changes empty tags to use BARRIER as the item. To prevent crafting with air.",
"forge.configgui.treatEmptyTagsAsAir": "Treat empty tags as air",
"forge.configgui.zoomInMissingModelTextInGui.tooltip": "Toggle off to make missing model text in the gui fit inside the slot.",
"forge.configgui.zoomInMissingModelTextInGui": "Zoom in Missing model text in the GUI", "forge.configgui.zoomInMissingModelTextInGui": "Zoom in Missing model text in the GUI",
"forge.configgui.forgeCloudsEnabled.tooltip": "Enable uploading cloud geometry to the GPU for faster rendering.", "forge.configgui.forgeCloudsEnabled.tooltip": "Enable uploading cloud geometry to the GPU for faster rendering.",
"forge.configgui.forgeCloudsEnabled": "Use Forge cloud renderer", "forge.configgui.forgeCloudsEnabled": "Use Forge cloud renderer",
"forge.configgui.disableStairSlabCulling.tooltip": "Enable this if you see through blocks touching stairs/slabs with your resource pack.", "forge.configgui.disableStairSlabCulling.tooltip": "Disable culling of hidden faces next to stairs and slabs. Causes extra rendering, but may fix some resource packs that exploit this vanilla mechanic.",
"forge.configgui.disableStairSlabCulling": "Disable Stair/Slab culling.", "forge.configgui.disableStairSlabCulling": "Disable Stair/Slab culling",
"forge.configgui.alwaysSetupTerrainOffThread.tooltip": "Enable forge to queue all chunk updates to the Chunk Update thread. May increase FPS significantly, but may also cause weird rendering lag. Not recommended for computers without a significant number of cores available.", "forge.configgui.alwaysSetupTerrainOffThread.tooltip": "Enable Forge to queue all chunk updates to the Chunk Update thread.\nMay increase FPS significantly, but may also cause weird rendering lag.\nNot recommended for computers without a significant number of cores available.",
"forge.configgui.alwaysSetupTerrainOffThread": "Force threaded chunk rendering", "forge.configgui.alwaysSetupTerrainOffThread": "Force threaded chunk rendering",
"forge.configgui.forgeLightPipelineEnabled.tooltip": "Enable the Forge block rendering pipeline - fixes the lighting of custom models.",
"forge.configgui.forgeLightPipelineEnabled": "Forge Light Pipeline Enabled", "forge.configgui.forgeLightPipelineEnabled": "Forge Light Pipeline Enabled",
"forge.configgui.selectiveResourceReloadEnabled.tooltip": "When enabled, makes specific reload tasks such as language changing quicker to run.", "forge.configgui.selectiveResourceReloadEnabled.tooltip": "When enabled, makes specific reload tasks such as language changing quicker to run.",
"forge.configgui.selectiveResourceReloadEnabled": "Enable Selective Resource Loading", "forge.configgui.selectiveResourceReloadEnabled": "Enable Selective Resource Loading",
"forge.configgui.treatEmptyTagsAsAir.tooltip": "Vanilla will treat crafting recipess using empty tags as air, and allow you to craft with nothing in that slot. If false, this changes empty tags to use BARRIER as the item. To prevent crafting with air.", "forge.configgui.showLoadWarnings.tooltip": "When enabled, Forge will show any warnings that occurred during loading.",
"forge.configgui.treatEmptyTagsAsAir": "Treat empty tags as air", "forge.configgui.showLoadWarnings": "Show Load Warnings",
"forge.configgui.disableVersionCheck.tooltip": "Set to true to disable Forge version check mechanics. Forge queries a small json file on our server for version information. For more details see the ForgeVersion class in our github.",
"forge.configgui.disableVersionCheck": "Disable Forge Version Check",
"forge.controlsgui.shift": "SHIFT + %s", "forge.controlsgui.shift": "SHIFT + %s",
"forge.controlsgui.control": "CTRL + %s", "forge.controlsgui.control": "CTRL + %s",