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 pTemplate, Ingredient pBase, Ingredient pAddition) -
Method Summary
Modifier and TypeMethodDescriptionassemble(SmithingRecipeInput pInput, HolderLookup.Provider pRegistries) getResultItem(HolderLookup.Provider pRegistries) booleanisAdditionIngredient(ItemStack pStack) booleanisBaseIngredient(ItemStack pStack) booleanbooleanisTemplateIngredient(ItemStack pStack) booleanmatches(SmithingRecipeInput pInput, Level pLevel) 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>
-