Package net.minecraftforge.client.event
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
@Deprecated(since="1.18",
            forRemoval=true)
protected abstract static class RenderTooltipEvent.Post
extends RenderTooltipEvent
Deprecated, for removal: This API element is subject to removal in a future version.
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:
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.client.event.RenderTooltipEventRenderTooltipEvent.Color, RenderTooltipEvent.GatherComponents, RenderTooltipEvent.Post, RenderTooltipEvent.PostBackground, RenderTooltipEvent.PostText, RenderTooltipEvent.PreNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intDeprecated, for removal: This API element is subject to removal in a future version.private intDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class net.minecraftforge.client.event.RenderTooltipEventcomponents, fr, lines, matrixStack, stack, x, y
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.client.event.RenderTooltipEventgetComponents, getFontRenderer, getLines, getMatrixStack, getStack, getX, getYMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
- 
Field Details- 
widthprivate final int widthDeprecated, for removal: This API element is subject to removal in a future version.
- 
heightprivate final int heightDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Constructor Details- 
Postpublic Post(@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.
 
- 
- 
Method Details- 
getWidthpublic int getWidth()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The width of the tooltip box. This is the width of the inner box, not including the border.
 
- 
getHeightpublic int getHeight()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The height of the tooltip box. This is the height of the inner box, not including the border.
 
 
-