Package guideme.document.block.recipes
Class LytCookingRecipe
java.lang.Object
guideme.document.block.LytNode
guideme.document.block.LytBlock
guideme.document.block.LytBox
guideme.document.block.recipes.LytRecipeBox
guideme.document.block.recipes.LytCookingRecipe
- All Implemented Interfaces:
LytBlockContainer
,LytErrorSink
,ExportableResourceProvider
,Styleable
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
Fields inherited from class guideme.document.block.LytBox
children, paddingBottom, paddingLeft, paddingRight, paddingTop
-
Constructor Summary
ConstructorsConstructorDescriptionLytCookingRecipe
(net.minecraft.world.item.ItemStack icon, net.minecraft.network.chat.Component title, net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> holder) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected LytRect
computeBoxLayout
(LayoutContext context, int x, int y, int availableWidth) Deprecated, for removal: This API element is subject to removal in a future version.static LytCookingRecipe
createBlasting
(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.BlastingRecipe> recipe) Deprecated, for removal: This API element is subject to removal in a future version.static LytCookingRecipe
createSmelting
(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.SmeltingRecipe> recipe) Deprecated, for removal: This API element is subject to removal in a future version.void
render
(RenderContext context) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class guideme.document.block.recipes.LytRecipeBox
exportResources
Methods inherited from class guideme.document.block.LytBox
append, clearContent, computeLayout, getBackgroundColor, getChildren, onLayoutMoved, removeChild, renderBatch, setBackgroundColor, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
Methods inherited from class guideme.document.block.LytBlock
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getBounds, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, isCulled, isFullWidth, layout, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setFullWidth, setLayoutPos, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
Methods inherited from class guideme.document.block.LytNode
getDocument, getHoverStyle, getParent, getSourceNode, getStyle, getStylingParent, getTextContent, onMouseEnter, onMouseLeave, pickNode, setHoverStyle, setSourceNode, setStyle, tick, visit, visit, visitChildren
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface guideme.document.block.LytBlockContainer
appendError
Methods inherited from interface guideme.style.Styleable
modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle
-
Constructor Details
-
LytCookingRecipe
public LytCookingRecipe(net.minecraft.world.item.ItemStack icon, net.minecraft.network.chat.Component title, net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> holder) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
computeBoxLayout
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
computeBoxLayout
in classLytBox
-
render
Deprecated, for removal: This API element is subject to removal in a future version. -
createSmelting
public static LytCookingRecipe createSmelting(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.SmeltingRecipe> recipe) Deprecated, for removal: This API element is subject to removal in a future version. -
createBlasting
public static LytCookingRecipe createBlasting(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.BlastingRecipe> recipe) Deprecated, for removal: This API element is subject to removal in a future version.
-