fix hud bug, update to 1.21.1
This commit is contained in:
parent
253ee1d5be
commit
00e91b98aa
4 changed files with 12 additions and 13 deletions
|
@ -4,14 +4,14 @@ org.gradle.parallel=true
|
|||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.21
|
||||
yarn_mappings=1.21+build.2
|
||||
loader_version=0.15.11
|
||||
minecraft_version=1.21.1
|
||||
yarn_mappings=1.21.1+build.3
|
||||
loader_version=0.16.3
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 0.2.0
|
||||
mod_version = 0.2.1
|
||||
maven_group = me.kawaiizenbo
|
||||
archives_base_name = moonlight
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.100.1+1.21
|
||||
fabric_version=0.103.0+1.21.1
|
||||
|
|
|
@ -24,7 +24,7 @@ public class Moonlight implements ModInitializer
|
|||
public static final Moonlight INSTANCE = new Moonlight();
|
||||
public static final Logger LOGGER = LoggerFactory.getLogger("Moonlight");
|
||||
public static final String clientTag = ColorUtils.aqua + "Moonlight Meadows";
|
||||
public static final String versionTag = ColorUtils.magenta + "v0.2.0";
|
||||
public static final String versionTag = ColorUtils.magenta + "v0.2.1";
|
||||
public static Config CONFIG = new Config();
|
||||
public static int uiColorA = 0xFF55FFFF;
|
||||
public static int uiColor = 0x55FFFF;
|
||||
|
|
|
@ -33,9 +33,9 @@ public class HUDOverlay
|
|||
|
||||
// draw coordinates
|
||||
drawContext.drawTextWithShadow(mc.textRenderer,
|
||||
"X: " + ColorUtils.gray + MathUtils.round(mc.player.getX(), 1) + ColorUtils.reset +
|
||||
" Y: " + ColorUtils.gray + MathUtils.round(mc.player.getY(), 1) + ColorUtils.reset +
|
||||
" Z: " + ColorUtils.gray + MathUtils.round(mc.player.getZ(), 1), 2, scaledHeight - 10, Moonlight.uiColorA
|
||||
"X: " + ColorUtils.gray + String.format("%.1f", mc.player.getX()) + ColorUtils.reset +
|
||||
" Y: " + ColorUtils.gray + String.format("%.1f", mc.player.getY()) + ColorUtils.reset +
|
||||
" Z: " + ColorUtils.gray + String.format("%.1f", mc.player.getZ()), 2, scaledHeight - 10, Moonlight.uiColorA
|
||||
);
|
||||
|
||||
// draw client tag (if enabled)
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "moonlight",
|
||||
"version": "v0.2.0",
|
||||
|
||||
"version": "v0.2.1",
|
||||
"name": "Moonlight Meadows",
|
||||
"description": "Utility mod with a focus on stability.",
|
||||
"authors": [
|
||||
|
@ -29,9 +28,9 @@
|
|||
],
|
||||
|
||||
"depends": {
|
||||
"fabricloader": ">=0.15.11",
|
||||
"fabricloader": ">=0.16.3",
|
||||
"fabric-api": "*",
|
||||
"minecraft": "~1.21",
|
||||
"minecraft": "~1.21.1",
|
||||
"java": ">=21"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue