Package net.minecraftforge.client.event
Class RenderTooltipEvent.PostBackground
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderTooltipEvent
net.minecraftforge.client.event.RenderTooltipEvent.Post
net.minecraftforge.client.event.RenderTooltipEvent.PostBackground
- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.RenderTooltipEvent
RenderTooltipEvent.Color, RenderTooltipEvent.GatherComponents, RenderTooltipEvent.Post, RenderTooltipEvent.PostBackground, RenderTooltipEvent.PostText, RenderTooltipEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class net.minecraftforge.client.event.RenderTooltipEvent
components, fr, lines, matrixStack, stack, x, y
-
Constructor Summary
ConstructorDescriptionPostBackground(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class net.minecraftforge.client.event.RenderTooltipEvent.Post
getHeight, getWidth
Methods inherited from class net.minecraftforge.client.event.RenderTooltipEvent
getComponents, getFontRenderer, getLines, getMatrixStack, getStack, getX, getY
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
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.
-