public class RecipeTransferButton extends GuiIconButtonSmall
Constructor and Description |
---|
RecipeTransferButton(int xPos,
int yPos,
int width,
int height,
mezz.jei.api.gui.drawable.IDrawable icon,
RecipeLayout recipeLayout) |
Modifier and Type | Method and Description |
---|---|
void |
drawToolTip(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 |
onClick(double mouseX,
double mouseY) |
void |
setOnClickHandler(IOnClickHandler onClickHandler) |
render
changeFocus, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, renderBg, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
public RecipeTransferButton(int xPos, int yPos, int width, int height, mezz.jei.api.gui.drawable.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(int mouseX, int mouseY)
public boolean isMouseOver(double mouseX, double mouseY)
isMouseOver
in interface net.minecraft.client.gui.IGuiEventListener
isMouseOver
in class net.minecraft.client.gui.widget.Widget
public void setOnClickHandler(IOnClickHandler onClickHandler)
public void onClick(double mouseX, double mouseY)
onClick
in class net.minecraft.client.gui.widget.button.AbstractButton