Compare commits

...
Author SHA1 Message Date
Martin Robertz 71f405f4dd update 2025-03-28 11:42:23 +01:00
brandyn ee74509f39 Add configurable F3 Debug
Adds a config option that can disable or enable the F3 debug info as there wasn't any before and it takes up a lot of space and is quite useless!
2025-03-25 22:35:43 +00:00
4 changed files with 10 additions and 5 deletions

No files matched your search

+3 -3
View File
@@ -2,12 +2,12 @@
dependencies {
api('com.github.GTNewHorizons:Baubles:1.0.4:dev')
api('com.github.GTNewHorizons:GTNHLib:0.6.11:dev')
api('com.github.GTNewHorizons:GTNHLib:0.6.16:dev')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.42:api') {transitive=false}
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev') {transitive=false}
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.7.29-GTNH:dev')
compileOnly('com.github.GTNewHorizons:Railcraft:9.16.3:api') {transitive=false}
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.7.34-GTNH:dev')
compileOnly('com.github.GTNewHorizons:Railcraft:9.16.7:api') {transitive=false}
compileOnly('com.github.GTNewHorizons:StorageDrawers:2.1.0-GTNH:api') {transitive=false}
compileOnly('curse.maven:cofh-lib-220333:2388748')
compileOnly('curse.maven:minefactory-reloaded-66672:2366150')
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.36'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.37'
}
@@ -35,7 +35,7 @@ public final class DebugHandler {
@SubscribeEvent
public void onDrawDebugText(RenderGameOverlayEvent.Text event) {
World world = Minecraft.getMinecraft().theWorld;
if(Minecraft.getMinecraft().gameSettings.showDebugInfo) {
if(Minecraft.getMinecraft().gameSettings.showDebugInfo && ConfigHandler.showF3Debug) {
event.left.add(null);
String version = LibMisc.VERSION;
if(version.contains("GRADLE"))
@@ -48,6 +48,8 @@ public final class ConfigHandler {
public static boolean enableDefaultRecipes = true;
public static boolean showF3Debug = true;
public static boolean useShaders = true;
public static boolean lexiconRotatingItems = true;
public static boolean lexiconJustifiedText = false;
@@ -210,6 +212,9 @@ public final class ConfigHandler {
desc = "The ID of the dimension to use";
fancySkyboxDimensions = loadPropIntSet("fancySkybox.customDimID", desc, fancySkyboxDimensions);
desc = "Turn on or off the debug info in the F3 screen ingame";
showF3Debug = loadPropBool("showF3Debug", desc, showF3Debug);
desc = "The height of the mana display bar in above the XP bar. You can change this if you have a mod that changes where the XP bar is.";
manaBarHeight = loadPropInt("manaBar.height", desc, manaBarHeight);