diff options
author | ronald <inglettronald@gmail.com> | 2023-07-26 18:52:23 -0500 |
---|---|---|
committer | ronald <inglettronald@gmail.com> | 2023-07-26 18:52:23 -0500 |
commit | 45180d569a87740ed8da9535b8b362192e891988 (patch) | |
tree | 19795c7efa4cef23b941372fa7d3ba6a0b895fbb /src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt | |
parent | 829203c44dc2361e78764a59673f3f41fd306e33 (diff) | |
download | DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.tar.gz DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.tar.bz2 DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.zip |
wip
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt b/src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt index 8bacec0..6e86de8 100644 --- a/src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt +++ b/src/main/kotlin/com/dulkirfabric/hud/ActionBarHudReplacements.kt @@ -10,10 +10,14 @@ import moe.nea.jarvis.api.Point import net.minecraft.text.Text object ActionBarHudReplacements { - private val hpHud = DulkirConfig.hudElement("hpHud", Text.literal("Health"), 50, 11, Point(0.21, 0.21)) - private val defHud = DulkirConfig.hudElement("defHud", Text.literal("Def"), 50, 25, Point(0.22, 0.22)) - private val stackHud = DulkirConfig.hudElement("stackHud", Text.literal("Stacks"), 50, 11, Point(0.22, 0.22)) - private val manaHud = DulkirConfig.hudElement("manaHud", Text.literal("Mana"), 50, 11, Point(0.23, 0.23)) + private val hpHud = DulkirConfig.hudElement("hpHud", Text.literal("Health"), 50, 11, + Point(0.4056462738575835, 0.8479382203757649),1.2286775f) + private val defHud = DulkirConfig.hudElement("defHud", Text.literal("Def"), 50, 25, + Point(0.6407475196141946, 0.9963439393439096), 1.189786f) + private val stackHud = DulkirConfig.hudElement("stackHud", Text.literal("Stacks"), 50, 11, + Point(0.4046055614026583, 0.8128084113198316), 1.2318832f) + private val manaHud = DulkirConfig.hudElement("manaHud", Text.literal("Mana"), 50, 11, + Point(0.5699228055607499, 0.8479382203757649), 1.2286775f) @EventHandler fun onHudRender(event: HudRenderEvent) { |