public class RecipeTransferButton extends GuiIconButtonSmall
Constructor and Description |
---|
RecipeTransferButton(int id,
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,
net.minecraft.entity.player.EntityPlayer player) |
void |
onClick(double mouseX,
double mouseY) |
void |
setOnClickHandler(IOnClickHandler onClickHandler) |
render
drawButtonForegroundLayer, getHoverState, getWidth, isMouseOver, isPressable, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playPressSound, renderBg, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public RecipeTransferButton(int id, 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, net.minecraft.entity.player.EntityPlayer player)
public void drawToolTip(int mouseX, int mouseY)
public void setOnClickHandler(IOnClickHandler onClickHandler)
public void onClick(double mouseX, double mouseY)
onClick
in class net.minecraft.client.gui.GuiButton