Class RepairItemRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.RepairItemRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingInput>
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingInput p_342804_, HolderLookup.Provider p_331714_) private static boolean
canCombine
(ItemStack p_335534_, ItemStack p_329259_) boolean
canCraftInDimensions
(int p_44128_, int p_44129_) getItemsToCombine
(CraftingInput p_344890_) boolean
matches
(CraftingInput p_344438_, Level p_44139_) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, getResultItem, isSpecial
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getType
Methods 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(CraftingInput p_344890_) -
canCombine
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_44128_, int p_44129_) -
getSerializer
-