public class RecipeTransferButton extends GuiIconButtonSmall
NO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
RecipeTransferButton(int xPos,
int yPos,
int width,
int height,
IDrawable icon,
RecipeLayout<?> recipeLayout) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawToolTip(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
void |
init(RecipeTransferManager recipeTransferManager,
net.minecraft.inventory.container.Container container,
net.minecraft.entity.player.PlayerEntity player) |
boolean |
isMouseOver(double mouseX,
double mouseY) |
void |
onRelease(double mouseX,
double mouseY) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
void |
setOnClickHandler(IOnClickHandler onClickHandler) |
getAreaonPress, renderButton, renderToolTipkeyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, playDownSound, queueNarration, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic RecipeTransferButton(int xPos,
int yPos,
int width,
int height,
IDrawable icon,
RecipeLayout<?> recipeLayout)
public void init(RecipeTransferManager recipeTransferManager, @Nullable net.minecraft.inventory.container.Container container, net.minecraft.entity.player.PlayerEntity player)
public void drawToolTip(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY)
public boolean isMouseOver(double mouseX,
double mouseY)
isMouseOver in interface net.minecraft.client.gui.IGuiEventListenerisMouseOver in class net.minecraft.client.gui.widget.Widgetpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class GuiIconButtonSmallpublic void setOnClickHandler(IOnClickHandler onClickHandler)
public void onRelease(double mouseX,
double mouseY)
onRelease in class net.minecraft.client.gui.widget.Widget