protected abstract static class RenderTooltipEvent.Post extends RenderTooltipEvent
Do not use this event directly, use one of its subclasses:
RenderTooltipEvent.Color, RenderTooltipEvent.Post, RenderTooltipEvent.PostBackground, RenderTooltipEvent.PostText, RenderTooltipEvent.Pre
Event.HasResult, Event.Result
Constructor and Description |
---|
Post(ItemStack stack,
java.util.List<java.lang.String> textLines,
int x,
int y,
FontRenderer fr,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getWidth() |
getFontRenderer, getLines, getStack, getX, getY
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public Post(@Nonnull ItemStack stack, @Nonnull java.util.List<java.lang.String> textLines, int x, int y, @Nonnull FontRenderer fr, int width, int height)