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
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:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.RenderTooltipEvent
RenderTooltipEvent.Color, RenderTooltipEvent.Post, RenderTooltipEvent.PostBackground, RenderTooltipEvent.PostText, RenderTooltipEvent.Pre
-
-
Field Summary
Fields Modifier and Type Field Description private int
height
private int
width
-
Fields inherited from class net.minecraftforge.client.event.RenderTooltipEvent
fr, lines, matrixStack, stack, x, y
-
-
Constructor Summary
Constructors Constructor Description Post(ItemStack stack, java.util.List<? extends ITextProperties> textLines, MatrixStack matrixStack, int x, int y, FontRenderer fr, int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
-
Methods inherited from class net.minecraftforge.client.event.RenderTooltipEvent
getFontRenderer, getLines, getMatrixStack, getStack, getX, getY
-
-
-
-
Constructor Detail
-
Post
public Post(@Nonnull ItemStack stack, @Nonnull java.util.List<? extends ITextProperties> textLines, MatrixStack matrixStack, int x, int y, @Nonnull FontRenderer fr, int width, int height)
-
-