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
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.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
ConstructorDescriptionPostBackground
(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
-
PostBackground
public PostBackground(@Nonnull ItemStack stack, @Nonnull List<? extends ITextProperties> textLines, MatrixStack matrixStack, int x, int y, @Nonnull FontRenderer fr, int width, int height)
-