Class HudElementRegistryImpl

java.lang.Object
net.fabricmc.fabric.impl.client.rendering.hud.HudElementRegistryImpl

public class HudElementRegistryImpl extends Object
  • Field Details

  • Constructor Details

    • HudElementRegistryImpl

      public HudElementRegistryImpl()
  • Method Details

    • getRoot

      public static HudElementRegistryImpl.RootLayer getRoot(net.minecraft.resources.Identifier id)
    • addFirst

      public static void addFirst(net.minecraft.resources.Identifier id, HudElement element)
    • addLast

      public static void addLast(net.minecraft.resources.Identifier id, HudElement element)
    • attachElementBefore

      public static void attachElementBefore(net.minecraft.resources.Identifier beforeThis, net.minecraft.resources.Identifier id, HudElement element)
    • attachElementAfter

      public static void attachElementAfter(net.minecraft.resources.Identifier afterThis, net.minecraft.resources.Identifier id, HudElement element)
    • removeElement

      public static void removeElement(net.minecraft.resources.Identifier identifier)
    • replaceElement

      public static void replaceElement(net.minecraft.resources.Identifier identifier, Function<HudElement, HudElement> replacer)