Class SmithingTransformRecipe
java.lang.Object
net.minecraft.world.item.crafting.SmithingTransformRecipe
- All Implemented Interfaces:
Recipe<Container>,SmithingRecipe
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Ingredient(package private) final Ingredient(package private) final ItemStack(package private) final IngredientFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionSmithingTransformRecipe(Ingredient p_266750_, Ingredient p_266787_, Ingredient p_267292_, ItemStack p_267031_) -
Method Summary
Modifier and TypeMethodDescriptionassemble(Container p_267036_, HolderLookup.Provider p_335743_) getResultItem(HolderLookup.Provider p_335712_) booleanisAdditionIngredient(ItemStack p_267260_) booleanisBaseIngredient(ItemStack p_267276_) booleanbooleanisTemplateIngredient(ItemStack p_267113_) booleanMethods 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.Recipe
getGroup, getIngredients, getRemainingItems, isSpecial, showNotificationMethods inherited from interface net.minecraft.world.item.crafting.SmithingRecipe
canCraftInDimensions, getToastSymbol, getType
-
Field Details
-
template
-
base
-
addition
-
result
-
-
Constructor Details
-
SmithingTransformRecipe
public SmithingTransformRecipe(Ingredient p_266750_, Ingredient p_266787_, Ingredient p_267292_, ItemStack p_267031_)
-
-
Method Details
-
matches
-
assemble
-
getResultItem
- Specified by:
getResultItemin interfaceRecipe<Container>
-
isTemplateIngredient
- Specified by:
isTemplateIngredientin interfaceSmithingRecipe
-
isBaseIngredient
- Specified by:
isBaseIngredientin interfaceSmithingRecipe
-
isAdditionIngredient
- Specified by:
isAdditionIngredientin interfaceSmithingRecipe
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<Container>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncompletein interfaceRecipe<Container>
-