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 Ingredient
private PlacementInfo
(package private) final TransmuteResult
Fields 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 pInput, HolderLookup.Provider pRegistries) category()
display()
group()
boolean
matches
(CraftingInput pInput, Level pLevel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getRemainingItems, getType, recipeBookCategory
Methods 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:
matches
in interfaceRecipe<CraftingInput>
-
assemble
- Specified by:
assemble
in interfaceRecipe<CraftingInput>
-
display
- Specified by:
display
in interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializer
in interfaceCraftingRecipe
- Specified by:
getSerializer
in interfaceRecipe<CraftingInput>
-
group
- Specified by:
group
in interfaceRecipe<CraftingInput>
-
placementInfo
- Specified by:
placementInfo
in interfaceRecipe<CraftingInput>
-
category
- Specified by:
category
in interfaceCraftingRecipe
-