Class StatusBarOverlayRenderEvents

java.lang.Object
com.github.thedeathlycow.thermoo.api.client.StatusBarOverlayRenderEvents

@Environment(CLIENT) public final class StatusBarOverlayRenderEvents extends Object
Event for rendering temperature overlays on status bar.
  • Field Details

    • AFTER_HEALTH_BAR

      public static final net.fabricmc.fabric.api.event.Event<StatusBarOverlayRenderEvents.RenderHealthBarCallback> AFTER_HEALTH_BAR
      Invoked 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_BAR
      Invoked 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.