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 pGroup, CraftingBookCategory pCategory, Ingredient pInput, Ingredient pMaterial, TransmuteResult pResult) -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingInput p_374148_, HolderLookup.Provider p_374579_) category()display()group()booleanmatches(CraftingInput p_374402_, Level p_374075_) 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 pGroup, CraftingBookCategory pCategory, Ingredient pInput, Ingredient pMaterial, TransmuteResult pResult)
-
-
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
-