Coder Social home page Coder Social logo

simple-armor-hud's Introduction

Simple armor hud logo

Simple armor hud

Minecraft version Release Modrinth downloads Github downloads

Information

This mod shows your armor above the foodbar in the in-game hud. It also moves armor up when underwater and down when in creative and has a few config options for compatibility with other mods. You can toggle the armor hud on or off with a keybind, configurable through the normal menu.

Features

armor hud third person
Shows armor you're currently wearing armor hud underwater
Moves armor up underwater

Bugs

If you have any bug reports or a suggestion for the mod leave them here. If you have any coding experience and want to help out with development, fork the repository and open a pull request.

Translations

This mod is available with english and dutch translations, if you know any other translations, create a pull request with a new lang file with your translation.

Dependencies

Simple armor hud requires the Fabric API

Installation

Releases for the mod are found on Modrinth, Releases and on Curseforge. After downloading, you can put the .jar file in your mods folder. If you don't have fabric installed, take a look at this installation tutorial Note: Simple armor hud requires the Fabric API

Build

To build from source, follow these steps:

  1. Open a terminal and clone the repository using git clone https://github.com/legoraft/simple-armor-hud.
  2. Go into this directory using cd <location of cloned repo>.
  3. Run ./gradlew build on linux or macos or gradlew build on windows.
  4. Get the mod file from the /build/libs folder.

simple-armor-hud's People

Contributors

legoraft avatar jjblock21 avatar

Stargazers

 avatar  avatar Leo avatar  avatar  avatar ElitoGame avatar

Watchers

 avatar

Forkers

rvzo6 jjblock21

simple-armor-hud's Issues

Support for Raised hotbar

The mod Raised introduces a fix to the hotbar, which sadly does not look good with simple-armor-hud installed at the same time (armor too low, not adjusting like the hearts).

It would be great if the armor details also automatically adjusted in height with the hotbar

allow for dynamic HUD placement

I am aware at least one previous issue goes in a similar direction, but I want to suggest generalizing this, for arbitrary compatibility between this mod and any modifications done to the hotbar. In this specific case, Double Hotbar pushes the armor hud into the xp bar. Having two config sliders for X and Y position respectively would be decent solution.

image

Add durability bar

Add durability bar under the armor to show how low the durability on an item is.

1.18.2

i dont really know if this is a bug however my game crashes everytime i try to launch my game
(i do have fabric api for my other mods to work)

Armor hud is visible in spectator in version 1.3.1

Description
The armor hud keeps being visible when in spectator mode, probably because the inject location has changed.

Reproduction
Steps to reproduce the bug:

  1. Put on armor
  2. Go into spectator mode

Screenshots
2023-06-29_17 43 05

[BUG] in version [1.4.4]

Hello, when i use this mod the item that i hold do not show the name.

Reproduction
Steps to reproduce the bug: Having it instlled

Not Showing Armor in version 1.4.5

Description
A clear description about your bug and the behavior that's expected:

Armor isn't showing on top of the inventory bar, i used to use the one for minecraft 1.20 and it worked perfectly

Reproduction
Steps to reproduce the bug:
1.Open Minecraft
2. Load World or connect to Server
3. put on armor
4. See that armor isnt shown on top of inventory bar

Screenshots
Add screenshots/videos if possible

image
image
image

[QUESTION] Third Party Client Including This Mod

image
A third party client called "Hoplite" is including your mod built-in, just curious if they have permission or not.

Asking this because there was a drama happened about Feather Client because they also used built-in mods without permission.

[replay mod showing armor] in version [1.20]

if u use replay mod to make a cool fight scene or something, the armor hud pops up and when u render the video it shows the armor hud and looks really bad, can u fix it plz
thank you

-ameenplayz

A lot of problems in version dev-1.21

Description
Mojang just changed up all the code in the game, making most features not working. This issue will keep track of all the issues and problems in 1.21. The mod will release when all issues found are resolved

Issues

  • Config screen makes the game crash
  • Config screen has to be rewritten, methods have changed
  • tickDelta has been changed to tickCounter, making it so the hud freezes

[Horse Health Clipping] in version [1.20.1 Fabric]

Description
image
It is what it is :v i don't know what mod was adding your hunger bar in the riding too, but it just happens to be getting inside of hearts of the horse.

Reproduction
Steps to reproduce the bug:

  1. Download Elysium Days Modpack 3.2.0
  2. Tame a horse and get on it.
  3. See the glitch.

Alternative display options (replacing the armor bar, and RTL item display)

'Replace Armorbar', and "Right to Left Display" options
I think there should be an option to change the way the armor hud in a way to replace the vanilla armor bar UI with that hud,
along with an option to switch the item ordering from LTR to RTL to match,
I think It'd look cleaner if you prefer to remove the armor bar from the hud entirely

Add option GUI

There isn't a gui for the config options, which should be there, accessible from the mod menu screen possibly

Armor hud displays over recharging air meter in version [1.18.1]

Description
When out of water, the air meter takes time to recharge. While underwater, the armor hud moves out of the way of the air meter, however, when out of water, if the air meter is recharging, the armor hud moves back over the air meter.

Reproduction
Steps to reproduce the bug:

  1. Deplete your air meter while underwater in survival mode
  2. Resurface from the water
  3. Any items currently in the armor hud will display directly over the air meter, instead of above it

Screenshots
https://imgur.com/e8tLOIq

Toggle ability

Make the armor hud toggleable with a configurable keybind.

Armor icons interferes with mount HUD

The armor icons are drawn on top of the horse's HP bar when the horse has more than 10 hearts. This also affects creative mode.

Screenshots

Survival mode
survival

Creative mode
creative

Resize and Move Displayed Armor Icons

Would there be any way to add a menu with options that would allow either/both resizing of the displayed icons or moving the location on the screen where they are displayed?

Fabric: Add support for Elyra Slot/Trinket

Feature for problem
There are currently a couple interchangeable mods that allow users to wear an Elyta at the same time as a chest armor, via the Trinkets API: Elytra Trinket and Elytra Slot.

It would be awesome if, Simple Armor Hud could detect these mods and display an additional item in the HUD for the Elytra when it's in the "cape trinket slot"!

Thanks!

Custom Location

you should add a menu where you can move each armor piece separately to a custom location so maybe the boots is bottom right than pants is bottom left than the chestplate is top right and helmet is top left or whatever you choose but it should be custom and they shouldnt be connected to eachother you should be able to move them separately or when selecting hold ctrl to select multiple and move the selected ones

Hotbar becomes dark

Hotbar becomes black when in a match on pvplegacy (play.pvplegacy.net)

not sure how to reproduce this bug, I tried replicating it on a single player world and a server by wearing armor/a kit but couldn't replicate it. The issue is not caused by other mods because I tried it without any other mods and it still happened. It doesn't happen in the lobby but only in a match which might be related to whether wearing armor could be the issue. no resource packs were used.

With mod in a match
image

Without mod in a match
image

Full code rewrite

The current codebase is kind of a mess with a lot of if statements and everything crammed into a single mixin. All the code needs a rewrite with a few features:

  • Switch statement in stead of if statements piled upon each other
  • Render method within main armorHud class
  • Automatic support for parity issues

Adjust the armor size

Hi i am wondering if you will be making a edit to the mod for all version so that we can adjust the sxie of the armor display

Location customization

Hey, I'd like to suggest adding the ability to move the entire armorhud and individual armor pieces to any location a player desires. This enhancement would greatly improve this mod and allow for better customization, especially across different modpacks, which often have varying gui layouts. (+ Grid, like one in the video, would enable users to align all pieces to the same height).

2024-02-28.16-20-40.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.