Class RenderGameOverlayEvent.BossInfo

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
RenderGameOverlayEvent

public static class RenderGameOverlayEvent.BossInfo extends RenderGameOverlayEvent.Pre
  • Field Details

    • bossInfo

      private final LerpingBossEvent bossInfo
    • x

      private final int x
    • y

      private final int y
    • increment

      private int increment
  • Constructor Details

  • Method Details

    • getBossInfo

      public LerpingBossEvent getBossInfo()
      Returns:
      The LerpingBossEvent currently being rendered
    • getX

      public int getX()
      Returns:
      The current x position we are rendering at
    • getY

      public int getY()
      Returns:
      The current y position we are rendering at
    • getIncrement

      public int getIncrement()
      Returns:
      How much to move down before rendering the next bar
    • setIncrement

      public void setIncrement(int increment)
      Sets the amount to move down before rendering the next bar
      Parameters:
      increment - The increment to set