public class RibbonButton
extends net.minecraft.client.gui.widget.button.Button
| Modifier and Type | Field and Description |
|---|---|
protected Ribbon |
ribbon |
protected java.util.function.Predicate<Ribbon> |
selectedRender |
NO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
RibbonButton(int x,
int y,
int width,
int height,
net.minecraft.util.text.ITextComponent message,
net.minecraft.client.gui.widget.button.Button.IPressable clickHandler,
Ribbon ribbon,
java.util.function.Predicate<Ribbon> selectedRender) |
| Modifier and Type | Method and Description |
|---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
keyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine