mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Fix some config checks still using the old fields (#6193)
This commit is contained in:
1 parent
a8bd5e7ece
commit
c98abaaa42
6 files changed
+19
-13
No files matched your search
@@ -77,13 +77,22 @@ public class ForgeMod implements WorldPersistenceHooks.WorldPersistenceHook
|
||||
public static final String VERSION_CHECK_CAT = "version_checking";
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
private static final Marker FORGEMOD = MarkerManager.getMarker("FORGEMOD");
|
||||
//TODO: Remove all of these, use ForgeConfig instead
|
||||
@Deprecated
|
||||
public static int[] blendRanges = { 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34 };
|
||||
@Deprecated
|
||||
public static boolean disableVersionCheck = false;
|
||||
@Deprecated
|
||||
public static boolean forgeLightPipelineEnabled = true;
|
||||
@Deprecated
|
||||
public static boolean zoomInMissingModelTextInGui = false;
|
||||
@Deprecated
|
||||
public static boolean disableStairSlabCulling = false; // Also known as the "DontCullStairsBecauseIUseACrappyTexturePackThatBreaksBasicBlockShapesSoICantTrustBasicBlockCulling" flag
|
||||
@Deprecated
|
||||
public static boolean alwaysSetupTerrainOffThread = false; // In WorldRenderer.setupTerrain, always force the chunk render updates to be queued to the thread
|
||||
@Deprecated
|
||||
public static boolean logCascadingWorldGeneration = true; // see Chunk#logCascadingWorldGeneration()
|
||||
@Deprecated
|
||||
public static boolean fixVanillaCascading = false; // There are various places in vanilla that cause cascading worldgen. Enabling this WILL change where blocks are placed to prevent this.
|
||||
// DO NOT contact Forge about worldgen not 'matching' vanilla if this flag is set.
|
||||
|
||||
@@ -124,10 +133,7 @@ public class ForgeMod implements WorldPersistenceHooks.WorldPersistenceHook
|
||||
MinecraftForge.EVENT_BUS.register(MinecraftForge.INTERNAL_HANDLER);
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
|
||||
if (!ForgeMod.disableVersionCheck)
|
||||
{
|
||||
VersionChecker.startVersionCheck();
|
||||
}
|
||||
VersionChecker.startVersionCheck();
|
||||
|
||||
/*
|
||||
* We can't actually add any of these, because vanilla clients will choke on unknown argument types
|
||||
|
||||
Reference in new issue
Block a user