net.minecraft.recipe.crafting

public class RepairItemRecipe

extends SpecialCraftingRecipe

All mapped superinterfaces:

CraftingRecipe, Recipe

net.minecraft.world.item.crafting.RepairItemRecipe
net.minecraft.class_4317
net.minecraft.recipe.crafting.RepairItemRecipe

Field summary

Modifier and TypeField
public static final RepairItemRecipe
INSTANCE
field_1_1239
INSTANCE
public static final com.mojang.serialization.MapCodec<RepairItemRecipe>
MAP_CODEC
field_1_1240
CODEC
public static final PacketCodec<RegistryByteBuf, RepairItemRecipe>
STREAM_CODEC
field_1_1242
PACKET_CODEC
public static final RecipeSerializer<RepairItemRecipe>
SERIALIZER
field_1_1241
SERIALIZER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static com.mojang.datafixers.util.Pair<ItemStack, ItemStack>
getItemsToCombine(CraftingInput input)
method_58438(class_9694 arg0)
findPair(CraftingRecipeInput input)
private static boolean
canCombine(ItemStack first, ItemStack second)
method_58439(class_1799 arg0, class_1799 arg1)
canCombineStacks(ItemStack first, ItemStack second)
public boolean
matches(CraftingInput input, Level level)
method_20808(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input)
method_20807(class_9694 arg0)
craft(CraftingRecipeInput arg0)
public RecipeSerializer<RepairItemRecipe>
getSerializer()
method_8119()
getSerializer()
public ItemStack
assemble(RecipeInput input)
method_8116(class_9695 arg0)
craft(RecipeInput arg0)
public boolean
matches(RecipeInput input, Level level)
method_8115(class_9695 arg0, class_1937 arg1)
matches(RecipeInput arg0, World arg1)
private static void
lambda$assemble$0(ItemEnchantments arg0, ItemEnchantments arg1, ItemEnchantments$Mutable arg2)
method_57528(class_9304 arg0, class_9304 arg1, class_9304$class_9305 arg2)
method_57528(ItemEnchantmentsComponent arg0, ItemEnchantmentsComponent arg1, ItemEnchantmentsComponent$Builder enchantmentsBuilder)