Would perhaps allow for more compat with other mods. See https://github.com/FabricMC/fabric/pull/4639
https://github.com/FabricMC/fabric/blob/1.21.6/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/hud/HudElementRegistry.java
for example HudElementRegistry.removeElement(VanillaElements.HEALTH); and so on and then HudElementRegistry.attachElementAfter(VanillaElements.HOTBAR, Identifier.of("onebar", "onebar"), OneBarRenderClass::renderMethod);
https://discord.com/channels/963500392451289098/1232094411274326068/1380277267426709625
Would perhaps allow for more compat with other mods. See
https://github.com/FabricMC/fabric/pull/4639https://github.com/FabricMC/fabric/blob/1.21.6/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/hud/HudElementRegistry.java
https://discord.com/channels/963500392451289098/1232094411274326068/1380277267426709625