Class StatusBarOverlayRenderEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.client.StatusBarOverlayRenderEvents
Event for rendering temperature overlays on status bar.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<StatusBarOverlayRenderEvents.RenderHealthBarCallback> Invoked after the player health bar is drawn.static final net.fabricmc.fabric.api.event.Event<StatusBarOverlayRenderEvents.RenderMountHealthBarCallback> Invoked after the players mount health is drawn. -
Method Summary
-
Field Details
-
AFTER_HEALTH_BAR
public static final net.fabricmc.fabric.api.event.Event<StatusBarOverlayRenderEvents.RenderHealthBarCallback> AFTER_HEALTH_BARInvoked after the player health bar is drawn. Does not include information on the Absorption bar.Custom heart types, like Frozen Hearts, should be handled separately.
-
AFTER_MOUNT_HEALTH_BAR
public static final net.fabricmc.fabric.api.event.Event<StatusBarOverlayRenderEvents.RenderMountHealthBarCallback> AFTER_MOUNT_HEALTH_BARInvoked after the players mount health is drawn.Is not integrated with Colorful Hearts or Overflowing Bars by default, however these mods do not override the mount health.
Note that indexes are backwards from the regular health: index 0 is the heart on the far RIGHT of the screen. Adjust half-hearts accordingly.
-