Class OverlayRecipeComponent.OverlaySmeltingRecipeButton
java.lang.Object
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
,Renderable
,TabOrderedElement
,LayoutElement
,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, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionOverlaySmeltingRecipeButton
(int p_100262_, int p_100263_, RecipeHolder<?> p_299173_, boolean p_100265_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
calculateIngredientsPositions
(RecipeHolder<?> p_301296_) Methods inherited from class net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent.OverlayRecipeButton
addItemToSlot, renderWidget, updateWidgetNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractWidget
clearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, nextFocusPath, onClick, onDrag, onRelease, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setFocused, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
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, getCurrentFocusPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPosition
Methods inherited from interface net.minecraft.recipebook.PlaceRecipe
placeRecipe
-
Constructor Details
-
OverlaySmeltingRecipeButton
public OverlaySmeltingRecipeButton(int p_100262_, int p_100263_, RecipeHolder<?> p_299173_, boolean p_100265_)
-
-
Method Details
-
calculateIngredientsPositions
- Overrides:
calculateIngredientsPositions
in classOverlayRecipeComponent.OverlayRecipeButton
-