Package net.minecraftforge.client.event
Class RenderTooltipEvent.PostText
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderTooltipEvent
net.minecraftforge.client.event.RenderTooltipEvent.Post
net.minecraftforge.client.event.RenderTooltipEvent.PostText
- Enclosing class:
- RenderTooltipEvent
This event is fired directly after the tooltip text is drawn, but before the GL state is reset.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.RenderTooltipEvent
RenderTooltipEvent.Color, 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
fr, lines, matrixStack, stack, x, y
-
Constructor Summary
ConstructorDescriptionPostText
(ItemStack stack, List<? extends ITextProperties> textLines, MatrixStack matrixStack, int x, int y, FontRenderer fr, int width, int height) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.RenderTooltipEvent.Post
getHeight, getWidth
Methods inherited from class net.minecraftforge.client.event.RenderTooltipEvent
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
-
PostText
public PostText(@Nonnull ItemStack stack, @Nonnull List<? extends ITextProperties> textLines, MatrixStack matrixStack, int x, int y, @Nonnull FontRenderer fr, int width, int height)
-