Class RenderTooltipEvent.Color

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderTooltipEvent
net.minecraftforge.client.event.RenderTooltipEvent.Color
Enclosing class:
RenderTooltipEvent

public static class RenderTooltipEvent.Color extends RenderTooltipEvent
This event is fired when the colours for the tooltip background are determined.
  • Field Details

    • originalBackground

      private final int originalBackground
    • originalBorderStart

      private final int originalBorderStart
    • originalBorderEnd

      private final int originalBorderEnd
    • background

      private int background
    • borderStart

      private int borderStart
    • borderEnd

      private int borderEnd
  • Constructor Details

  • Method Details

    • getBackground

      public int getBackground()
    • setBackground

      public void setBackground(int background)
    • getBorderStart

      public int getBorderStart()
    • setBorderStart

      public void setBorderStart(int borderStart)
    • getBorderEnd

      public int getBorderEnd()
    • setBorderEnd

      public void setBorderEnd(int borderEnd)
    • getOriginalBackground

      public int getOriginalBackground()
    • getOriginalBorderStart

      public int getOriginalBorderStart()
    • getOriginalBorderEnd

      public int getOriginalBorderEnd()