net.minecraft.recipe

public class ShapedRecipe

implements CraftingRecipe

net.minecraft.world.item.crafting.ShapedRecipe
net.minecraft.class_1869
net.minecraft.recipe.ShapedRecipe

Field summary

Modifier and TypeField
private final RawShapedRecipe
pattern
field_47320
raw
private final ItemStack
result
field_9053
result
private final String
group
field_9056
group
private final CraftingRecipeCategory
category
field_40256
category
private final boolean
showNotification
field_42719
showNotification
private IngredientPlacement
placementInfo
field_52601
ingredientPlacement

Constructor summary

ModifierConstructor
public (String group, CraftingRecipeCategory category, RawShapedRecipe raw, ItemStack result, boolean showNotification)
public (String group, CraftingRecipeCategory category, RawShapedRecipe raw, ItemStack result)

Method summary

Modifier and TypeMethod
public RecipeSerializer<? extends ShapedRecipe>
getSerializer()
method_8119()
getSerializer()
public String
group()
method_8112()
getGroup()
public CraftingRecipeCategory
category()
method_45441()
getCategory()
public List<Optional<Ingredient>>
getIngredients()
method_61693()
getIngredients()
public IngredientPlacement
placementInfo()
method_61671()
getIngredientPlacement()
public boolean
showNotification()
method_49188()
showNotification()
public boolean
matches(CraftingInput input, Level level)
method_17728(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input, HolderLookup$Provider registries)
method_17727(class_9694 arg0, class_7225$class_7874 arg1)
craft(CraftingRecipeInput arg0, RegistryWrapper$WrapperLookup arg1)
public int
getWidth()
method_8150()
getWidth()
public int
getHeight()
method_8158()
getHeight()
public List<RecipeDisplay>
display()
method_64664()
getDisplays()
public ItemStack
assemble(RecipeInput input, HolderLookup$Provider registries)
method_8116(class_9695 arg0, class_7225$class_7874 arg1)
craft(RecipeInput arg0, RegistryWrapper$WrapperLookup arg1)
public boolean
matches(RecipeInput input, Level level)
method_8115(class_9695 arg0, class_1937 arg1)
matches(RecipeInput arg0, World arg1)
private static SlotDisplay
lambda$display$0(Optional arg0)
method_64718(Optional arg0)
method_64718(Optional ingredient)