Class TransmuteRecipe
java.lang.Object
net.minecraft.world.item.crafting.TransmuteRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInput>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CraftingBookCategory(package private) final String(package private) final Ingredient(package private) final Ingredientprivate PlacementInfo(package private) final TransmuteResultFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionTransmuteRecipe(String group, CraftingBookCategory category, Ingredient input, Ingredient material, TransmuteResult result) -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingInput input, HolderLookup.Provider registries) category()display()group()booleanmatches(CraftingInput 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.CraftingRecipe
getRemainingItems, getType, recipeBookCategoryMethods inherited from interface net.minecraft.world.item.crafting.Recipe
isSpecial, showNotification
-
Field Details
-
group
-
category
-
input
-
material
-
result
-
placementInfo
-
-
Constructor Details
-
TransmuteRecipe
public TransmuteRecipe(String group, CraftingBookCategory category, Ingredient input, Ingredient material, TransmuteResult result)
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceRecipe<CraftingInput>
-
assemble
- Specified by:
assemblein interfaceRecipe<CraftingInput>
-
display
- Specified by:
displayin interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializerin interfaceCraftingRecipe- Specified by:
getSerializerin interfaceRecipe<CraftingInput>
-
group
- Specified by:
groupin interfaceRecipe<CraftingInput>
-
placementInfo
- Specified by:
placementInfoin interfaceRecipe<CraftingInput>
-
category
- Specified by:
categoryin interfaceCraftingRecipe
-