Class SmithingTrimRecipe
java.lang.Object
net.minecraft.world.item.crafting.SmithingTrimRecipe
- All Implemented Interfaces:
Recipe<SmithingRecipeInput>,SmithingRecipe
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Ingredient(package private) final Ingredient(package private) final IngredientFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionSmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition) -
Method Summary
Modifier and TypeMethodDescriptionassemble(SmithingRecipeInput input, HolderLookup.Provider registries) getResultItem(HolderLookup.Provider registries) booleanisAdditionIngredient(ItemStack stack) booleanisBaseIngredient(ItemStack stack) booleanbooleanisTemplateIngredient(ItemStack stack) booleanmatches(SmithingRecipeInput input, Level level) Methods 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
-
-
Constructor Details
-
SmithingTrimRecipe
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceRecipe<SmithingRecipeInput>
-
assemble
- Specified by:
assemblein interfaceRecipe<SmithingRecipeInput>
-
getResultItem
- Specified by:
getResultItemin interfaceRecipe<SmithingRecipeInput>
-
isTemplateIngredient
- Specified by:
isTemplateIngredientin interfaceSmithingRecipe
-
isBaseIngredient
- Specified by:
isBaseIngredientin interfaceSmithingRecipe
-
isAdditionIngredient
- Specified by:
isAdditionIngredientin interfaceSmithingRecipe
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<SmithingRecipeInput>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncompletein interfaceRecipe<SmithingRecipeInput>
-