Class RecipeBookTestRecipe
java.lang.Object
net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
- All Implemented Interfaces:
Recipe<CraftingInput>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final List
<Optional<Ingredient>> private @Nullable PlacementInfo
private final int
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingInput p_44001_, HolderLookup.Provider registryAccess) display()
getType()
group()
private boolean
matches
(CraftingInput input, boolean mirror) boolean
matches
(CraftingInput input, Level level) Taken fromShapedRecipe
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.Recipe
isSpecial, showNotification
-
Field Details
-
ingredients
-
width
private final int width -
height
private final int height -
items
-
placementInfo
-
-
Constructor Details
-
RecipeBookTestRecipe
-
-
Method Details
-
matches
Taken fromShapedRecipe
- Specified by:
matches
in interfaceRecipe<CraftingInput>
-
matches
-
assemble
- Specified by:
assemble
in interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<CraftingInput>
-
getType
- Specified by:
getType
in interfaceRecipe<CraftingInput>
-
group
- Specified by:
group
in interfaceRecipe<CraftingInput>
-
placementInfo
- Specified by:
placementInfo
in interfaceRecipe<CraftingInput>
-
display
- Specified by:
display
in interfaceRecipe<CraftingInput>
-
recipeBookCategory
- Specified by:
recipeBookCategory
in interfaceRecipe<CraftingInput>
-