1 Commits
6.2 ... 6.2.1

Author SHA1 Message Date
38f96cb1e9 Fixed bug described in issue #3
> Now the speedometer (and debug screen) is hidden when f1(no gui) is toggled
2024-11-05 16:10:37 +01:00
4 changed files with 34 additions and 25 deletions

View File

@@ -128,6 +128,7 @@ public class Client {
private static void render(GuiGraphics graphics, DeltaTracker deltaTracker) { private static void render(GuiGraphics graphics, DeltaTracker deltaTracker) {
if(Minecraft.getInstance().player == null) return; if(Minecraft.getInstance().player == null) return;
if(Minecraft.getInstance().options.hideGui) return;
Entity entity = Minecraft.getInstance().player.getRootVehicle(); Entity entity = Minecraft.getInstance().player.getRootVehicle();
Vec3 vec = new Vec3( Vec3 vec = new Vec3(

View File

@@ -9,7 +9,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20.5": { "1.20.5": {
"1.0": "First version", "1.0": "First version",
@@ -20,7 +21,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20.4": { "1.20.4": {
"1.0": "First version", "1.0": "First version",
@@ -31,7 +33,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20.3": { "1.20.3": {
"1.0": "First version", "1.0": "First version",
@@ -42,7 +45,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20.2": { "1.20.2": {
"1.0": "First version", "1.0": "First version",
@@ -53,7 +57,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20.1": { "1.20.1": {
"1.0": "First version", "1.0": "First version",
@@ -64,7 +69,8 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"1.20": { "1.20": {
"1.0": "First version", "1.0": "First version",
@@ -75,28 +81,29 @@
"4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast", "4.0": "Removed the Size part of the position string, combined the visual and text location strings, updated config version to 3, fixed bug where the text would start to drift of screen if you where too fast",
"5.0": "Visual speed display has been added", "5.0": "Visual speed display has been added",
"5.1": "Added second speed display", "5.1": "Added second speed display",
"5.2": "Fixed issue #1" "5.2": "Fixed issue #1",
"5.2.1": "Fixed issue #3"
}, },
"promos": { "promos": {
"1.20.6-latest": "5.2", "1.20.6-latest": "5.2.1",
"1.20.6-recommended": "5.2", "1.20.6-recommended": "5.2.1",
"1.20.5-latest": "5.2", "1.20.5-latest": "5.2.1",
"1.20.5-recommended": "5.2", "1.20.5-recommended": "5.2.1",
"1.20.4-latest": "5.2", "1.20.4-latest": "5.2.1",
"1.20.4-recommended": "5.2", "1.20.4-recommended": "5.2.1",
"1.20.3-latest": "5.2", "1.20.3-latest": "5.2.1",
"1.20.3-recommended": "5.2", "1.20.3-recommended": "5.2.1",
"1.20.2-latest": "5.2", "1.20.2-latest": "5.2.1",
"1.20.2-recommended": "5.2", "1.20.2-recommended": "5.2.1",
"1.20.1-latest": "5.2", "1.20.1-latest": "5.2.1",
"1.20.1-recommended": "5.2", "1.20.1-recommended": "5.2.1",
"1.20-latest": "5.2", "1.20-latest": "5.2.1",
"1.20-recommended": "5.2" "1.20-recommended": "5.2.1"
} }
} }

View File

@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx8G
minecraft_version=1.21.1 minecraft_version=1.21.1
archives_base_name=speedometer archives_base_name=speedometer
mod_version=6.2 mod_version=6.2.1
maven_group=me.zacharias maven_group=me.zacharias
architectury_version=13.0.8 architectury_version=13.0.8

View File

@@ -4,10 +4,11 @@
"6.0": "Lost support for Forge and gain NeoForge support", "6.0": "Lost support for Forge and gain NeoForge support",
"6.0.1": "Small bug fix in Parser", "6.0.1": "Small bug fix in Parser",
"6.1": "Small bug fix in Parser", "6.1": "Small bug fix in Parser",
"6.2": "Making speedometer and pointer resource pack based" "6.2": "Making speedometer and pointer resource pack based",
"6.2.1": "Fixed issue #3"
}, },
"promos": { "promos": {
"1.21-latest": "6.1", "1.21-latest": "6.2.1",
"1.21-recommended": "6.1" "1.21-recommended": "6.2.1"
} }
} }