Skip to content

Consider using HudElementRegistry #84

@Madis0

Description

@Madis0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions