public class ChapterLabel extends AbstractSimiWidget
onClick, toolTip, wasHovered, z| Constructor and Description |
|---|
ChapterLabel(PonderChapter chapter,
int x,
int y,
java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> onClick) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClick(double x,
double y) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
afterRender, atZLevel, beforeRender, clicked, getToolTip, renderButton, runCallback, tick, withCallback, withCallbackchangeFocus, clearFGColor, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic ChapterLabel(PonderChapter chapter, int x, int y, java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> onClick)
public void render(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class AbstractSimiWidgetpublic void onClick(double x,
double y)
onClick in class AbstractSimiWidget