Package guideme.document.block.recipes
Class LytStandardRecipeBox.Builder
java.lang.Object
guideme.document.block.recipes.LytStandardRecipeBox.Builder
- Enclosing class:
LytStandardRecipeBox<T extends net.minecraft.world.item.crafting.Recipe<?>>
-
Method Summary
Modifier and TypeMethodDescriptionInsert a block to be placed vertically after the main recipe body.Insert a block to be placed vertically before the main recipe body.Insert a block to be placed vertically before the main recipe body.Insert a block to be placed vertically before the main recipe body.<T extends net.minecraft.world.item.crafting.Recipe<?>>
LytStandardRecipeBox<T> build
(net.minecraft.world.item.crafting.RecipeHolder<T> recipe) customBody
(@Nullable LytBlock customBody) Use a completely custom recipe body.icon
(net.minecraft.world.item.ItemStack workbench) icon
(net.minecraft.world.level.ItemLike workbench) input
(LytSlotGrid grid) input
(net.minecraft.world.item.crafting.Ingredient ingredient) output
(LytSlotGrid grid) output
(net.minecraft.world.item.ItemStack resultItem) outputFromResultOf
(net.minecraft.world.item.crafting.RecipeHolder<?> recipe)
-
Method Details
-
build
public <T extends net.minecraft.world.item.crafting.Recipe<?>> LytStandardRecipeBox<T> build(net.minecraft.world.item.crafting.RecipeHolder<T> recipe) -
icon
-
icon
-
icon
-
title
-
input
-
input
-
output
-
output
-
outputFromResultOf
public LytStandardRecipeBox.Builder outputFromResultOf(net.minecraft.world.item.crafting.RecipeHolder<?> recipe) -
addTop
Insert a block to be placed vertically before the main recipe body. -
addLeft
Insert a block to be placed vertically before the main recipe body. -
addBottom
Insert a block to be placed vertically after the main recipe body. -
addRight
Insert a block to be placed vertically before the main recipe body. -
customBody
Use a completely custom recipe body. Using this is mutually exclusive withaddLeft(guideme.document.block.LytBlock)
andaddRight(guideme.document.block.LytBlock)
, as well as any of the input/output setters.
-