Class RepairItemRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.RepairItemRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInput>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.CustomRecipe
CustomRecipe.Serializer<T extends CraftingRecipe> -
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingInput pInput, HolderLookup.Provider pRegistries) private static booleancanCombine(ItemStack pStack1, ItemStack pStack2) getItemsToCombine(CraftingInput pInput) booleanmatches(CraftingInput pInput, Level pLevel) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, isSpecial, placementInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getRemainingItems, getType, recipeBookCategoryMethods inherited from interface net.minecraft.world.item.crafting.Recipe
display, group, showNotification
-
Constructor Details
-
RepairItemRecipe
-
-
Method Details
-
getItemsToCombine
@Nullable private static com.mojang.datafixers.util.Pair<ItemStack,ItemStack> getItemsToCombine(CraftingInput pInput) -
canCombine
-
matches
-
assemble
-
getSerializer
- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingInput>- Specified by:
getSerializerin classCustomRecipe
-