Class HudTakeoverManager
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.HudTakeoverManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanextract(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.DeltaTracker deltaTracker) Draws every active takeover.static voidregister(net.minecraft.resources.Identifier id, BooleanSupplier active, HudTakeover.View view) static booleanunregister(net.minecraft.resources.Identifier id)
-
Method Details
-
register
public static void register(net.minecraft.resources.Identifier id, BooleanSupplier active, HudTakeover.View view) -
unregister
public static boolean unregister(net.minecraft.resources.Identifier id) -
extract
public static boolean extract(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.DeltaTracker deltaTracker) Draws every active takeover. Returns whether there was one, in which case the HUD itself is not drawn.
-