Class RenderTooltipEvent.Post

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderTooltipEvent
net.minecraftforge.client.event.RenderTooltipEvent.Post
Direct Known Subclasses:
RenderTooltipEvent.PostBackground, RenderTooltipEvent.PostText
Enclosing class:
RenderTooltipEvent

protected abstract static class RenderTooltipEvent.Post extends RenderTooltipEvent
Events inheriting from this class are fired at different stages during the tooltip rendering.

Do not use this event directly, use one of its subclasses:

  • Field Details

    • width

      private final int width
    • height

      private final int height
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
      Returns:
      The width of the tooltip box. This is the width of the inner box, not including the border.
    • getHeight

      public int getHeight()
      Returns:
      The height of the tooltip box. This is the height of the inner box, not including the border.