@Environment(value=CLIENT) class RecipeAlternativesWidget.FurnaceAlternativeButtonWidget extends RecipeAlternativesWidget.AlternativeButtonWidget
RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot
slots
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
FurnaceAlternativeButtonWidget(int x,
int y,
Recipe<?> recipe,
boolean craftable) |
Modifier and Type | Method and Description |
---|---|
protected void |
alignRecipe(Recipe<?> recipe) |
acceptAlignedInput, renderButton
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFocused, setMessage, setWidth
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alignRecipeToGrid
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
public FurnaceAlternativeButtonWidget(int x, int y, Recipe<?> recipe, boolean craftable)
protected void alignRecipe(Recipe<?> recipe)
alignRecipe
in class RecipeAlternativesWidget.AlternativeButtonWidget