Class RenderTooltipEvent.PostBackground

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

@Deprecated(since="1.18", forRemoval=true) public static class RenderTooltipEvent.PostBackground extends RenderTooltipEvent.Post
Deprecated, for removal: This API element is subject to removal in a future version.
This event is fired directly after the tooltip background is drawn, but before any text is drawn.
  • Constructor Details

    • PostBackground

      public PostBackground(@Nonnull ItemStack stack, @Nonnull List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, @Nonnull Font fr, int width, int height)
      Deprecated, for removal: This API element is subject to removal in a future version.