Small Forge config fixes (#6466)

This commit is contained in:
Cadiboo authored and GitHub committed 2020-01-29 13:04:35 -08:00
1 parent c72d6e9122
commit 617159c825
2 files changed
+27 -22

No files matched your search

@@ -19,7 +19,6 @@
package net.minecraftforge.common;
import static net.minecraftforge.fml.Logging.CORE;
import static net.minecraftforge.fml.loading.LogMarkers.FORGEMOD;
import net.minecraftforge.eventbus.api.SubscribeEvent;
@@ -68,7 +67,7 @@ public class ForgeConfig
.define("removeErroringTileEntities", false);
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")
.worldRestart()
.define("fullBoundingBoxLadders", false);
@@ -101,13 +100,13 @@ public class ForgeConfig
.defineInRange("dimensionUnloadQueueDelay", 0, 0, Integer.MAX_VALUE);
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")
.worldRestart()
.defineInRange("clumpingThreshold", 64, 64, 1024);
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")
.define("treatEmptyTagsAsAir", false);
@@ -153,14 +152,14 @@ public class ForgeConfig
.define("disableStairSlabCulling", false);
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.",
"Not recommended for computers without a significant number of cores available.")
.translation("forge.configgui.alwaysSetupTerrainOffThread")
.define("alwaysSetupTerrainOffThread", false);
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")
.define("forgeLightPipelineEnabled", true);
@@ -170,8 +169,8 @@ public class ForgeConfig
.define("selectiveResourceReloadEnabled", true);
showLoadWarnings = builder
.comment("When enabled, forge will show any warnings that occurred during loading")
.translation("forge.configgui.showloadwarnings")
.comment("When enabled, Forge will show any warnings that occurred during loading.")
.translation("forge.configgui.showLoadWarnings")
.define("showLoadWarnings", true);
builder.pop();
@@ -202,7 +201,7 @@ public class ForgeConfig
@SubscribeEvent
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