Class OverlayRecipeComponent.OverlaySmeltingRecipeButton
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlayRecipeButton
net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlaySmeltingRecipeButton
- All Implemented Interfaces:
GuiEventListener
,Widget
,NarratableEntry
,NarrationSupplier
,PlaceRecipe<Ingredient>
- Enclosing class:
- OverlayRecipeComponent
class OverlayRecipeComponent.OverlaySmeltingRecipeButton
extends OverlayRecipeComponent.OverlayRecipeButton
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlayRecipeButton
OverlayRecipeComponent.OverlayRecipeButton.Pos
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlayRecipeButton
ingredientPos, recipe
Fields inherited from class net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionOverlaySmeltingRecipeButton(int p_100262_, int p_100263_, Recipe<?> p_100264_, boolean p_100265_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
calculateIngredientsPositions(Recipe<?> p_100267_)
Methods inherited from class net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlayRecipeButton
addItemToSlot, renderButton, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractWidget
changeFocus, clearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getWidth, getYImage, isActive, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth, wrapDefaultNarrationMessage
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.recipebook.PlaceRecipe
placeRecipe
-
Constructor Details
-
OverlaySmeltingRecipeButton
public OverlaySmeltingRecipeButton(int p_100262_, int p_100263_, Recipe<?> p_100264_, boolean p_100265_)
-
-
Method Details
-
calculateIngredientsPositions
- Overrides:
calculateIngredientsPositions
in classOverlayRecipeComponent.OverlayRecipeButton
-