From 43d9b416481a841deac7edbbb819cebcbb74c9d2 Mon Sep 17 00:00:00 2001 From: coolGi2007 Date: Fri, 10 Dec 2021 01:21:04 +0000 Subject: [PATCH] Updated readme & removed stuff from conig --- Readme.md | 6 ++++++ .../com/seibel/lod/common/wrappers/config/ConfigGui.java | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 6af99590d..4e7dbaccc 100644 --- a/Readme.md +++ b/Readme.md @@ -69,6 +69,12 @@ Source code uses Mojang mappings. The source code can be 'created' with the `./eclipse` command and can be found in the following path:\ `minecraft-lod-mod\build\fg_cache\mcp\ VERSION \joined\ RANDOM_STRING \patch\output.jar` +## Useful commands + +Build only Fabric: `./gradlew fabric:build`\ +Build only Forge: `./gradlew forge:build`\ +Run the Fabric client: `./gradlew fabric:runClient`\ +Run the Forge client: `./gradlew fabric:runClient` ## Open Source Acknowledgements diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java index bb4dde917..d7e20873c 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java @@ -393,8 +393,9 @@ public abstract class ConfigGui { public void render(PoseStack matrices, int mouseX, int mouseY, float delta) { this.renderBackground(matrices); this.list.render(matrices, mouseX, mouseY, delta); - drawCenteredString(matrices, font, title, width / 2, 15, 0xFFFFFF); +// drawCenteredString(matrices, font, title, width / 2, 15, 0xFFFFFF); + /* // TODO[CONFIG]: Fix the tooltip for (EntryInfo info : entries) { if (info.id.equals(modid) && info.category.matches(category)) { @@ -415,6 +416,7 @@ public abstract class ConfigGui { } } } + */ super.render(matrices,mouseX,mouseY,delta); } } @@ -524,4 +526,4 @@ public abstract class ConfigGui { return fieldAttributes.getAnnotation(Entry.class) == null; } } -} \ No newline at end of file +}