Class RepairItemRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.RepairItemRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingContainer>
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingContainer p_335863_, HolderLookup.Provider p_335610_) private static booleancanCombine(ItemStack p_336139_, ItemStack p_335795_) booleancanCraftInDimensions(int p_44128_, int p_44129_) getItemsToCombine(CraftingContainer p_335540_) booleanmatches(CraftingContainer p_44138_, Level p_44139_) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, getResultItem, isSpecialMethods 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
getTypeMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
RepairItemRecipe
-
-
Method Details
-
getItemsToCombine
@Nullable private com.mojang.datafixers.util.Pair<ItemStack,ItemStack> getItemsToCombine(CraftingContainer p_335540_) -
canCombine
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_44128_, int p_44129_) -
getSerializer
-