From 5554b4791e8decb80ff87c1ad119214af6f772c8 Mon Sep 17 00:00:00 2001 From: Zgoly <46041044+Zgoly@users.noreply.github.com> Date: Tue, 30 Apr 2024 02:19:19 +0500 Subject: [PATCH] Update MeteorTextHud.java --- .../meteorclient/systems/hud/elements/MeteorTextHud.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/meteordevelopment/meteorclient/systems/hud/elements/MeteorTextHud.java b/src/main/java/meteordevelopment/meteorclient/systems/hud/elements/MeteorTextHud.java index 9188959a38..16259d95e2 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/hud/elements/MeteorTextHud.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/hud/elements/MeteorTextHud.java @@ -15,6 +15,7 @@ public class MeteorTextHud { public static final HudElementInfo.Preset TPS; public static final HudElementInfo.Preset PING; public static final HudElementInfo.Preset SPEED; + public static final HudElementInfo.Preset GAME_MODE; public static final HudElementInfo.Preset DURABILITY; public static final HudElementInfo.Preset POSITION; public static final HudElementInfo.Preset OPPOSITE_POSITION; @@ -37,6 +38,7 @@ public class MeteorTextHud { TPS = addPreset("TPS", "TPS: #1{round(server.tps, 1)}"); PING = addPreset("Ping", "Ping: #1{ping}"); SPEED = addPreset("Speed", "Speed: #1{round(player.speed, 1)}", 0); + GAME_MODE = addPreset("Game mode", "Game mode: #1{player.gamemode}", 0); DURABILITY = addPreset("Durability", "Durability: #1{player.hand_or_offhand.durability}"); POSITION = addPreset("Position", "Pos: #1{floor(camera.pos.x)}, {floor(camera.pos.y)}, {floor(camera.pos.z)}", 0); OPPOSITE_POSITION = addPreset("Opposite Position", "{player.opposite_dimension != \"End\" ? player.opposite_dimension + \":\" : \"\"} #1{player.opposite_dimension != \"End\" ? \"\" + floor(camera.opposite_dim_pos.x) + \", \" + floor(camera.opposite_dim_pos.y) + \", \" + floor(camera.opposite_dim_pos.z) : \"\"}", 0);