net.minecraft.recipe.crafting

public class ShapedRecipe

extends GeneralCraftingRecipe

All mapped superinterfaces:

CraftingRecipe, Recipe

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ShapedRecipe>
MAP_CODEC
MAP_CODEC
field_1_1182
CODEC
public static final PacketCodec<RegistryByteBuf, ShapedRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1184
PACKET_CODEC
public static final RecipeSerializer<ShapedRecipe>
SERIALIZER
SERIALIZER
field_1_1183
SERIALIZER
private final RawShapedRecipe
pattern
pattern
field_47320
raw
private final SimpleItemStackView
result
result
field_9053
result

Constructor summary

ModifierConstructor
public (Recipe$Settings settings, CraftingRecipe$RecipeBookLocation location, RawShapedRecipe raw, SimpleItemStackView result)

Method summary

Modifier and TypeMethod
public RecipeSerializer<ShapedRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()
public List<Optional<Ingredient>>
getIngredients()
getIngredients()
method_61693()
getIngredients()
protected IngredientPlacement
createPlacementInfo()
createPlacementInfo()
method_1_1571()
createIngredientPlacement()
public boolean
matches(CraftingInput input, Level level)
matches(CraftingInput input, Level level)
method_17728(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input)
assemble(CraftingInput input)
method_17727(class_9694 arg0)
craft(CraftingRecipeInput arg0)
public int
getWidth()
getWidth()
method_8150()
getWidth()
public int
getHeight()
getHeight()
method_8158()
getHeight()
public List<RecipeDisplay>
display()
display()
method_64664()
getDisplays()