Class RecipeBookTestRecipe
java.lang.Object
net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
- All Implemented Interfaces:
Recipe<CraftingInput>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final NonNullList
<Ingredient> private final int
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingInput p_44001_, HolderLookup.Provider registryAccess) boolean
canCraftInDimensions
(int p_43999_, int p_44000_) getGroup()
getResultItem
(HolderLookup.Provider registryAccess) RecipeType
<?> getType()
boolean
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
getRemainingItems, isSpecial, showNotification
-
Field Details
-
ingredients
-
width
private final int width -
height
private final int height -
items
-
-
Constructor Details
-
RecipeBookTestRecipe
-
-
Method Details
-
matches
Taken fromShapedRecipe
- Specified by:
matches
in interfaceRecipe<CraftingInput>
-
matches
-
assemble
- Specified by:
assemble
in interfaceRecipe<CraftingInput>
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43999_, int p_44000_) - Specified by:
canCraftInDimensions
in interfaceRecipe<CraftingInput>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<CraftingInput>
-
getType
- Specified by:
getType
in interfaceRecipe<CraftingInput>
-
getGroup
- Specified by:
getGroup
in interfaceRecipe<CraftingInput>
-
getIngredients
- Specified by:
getIngredients
in interfaceRecipe<CraftingInput>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncomplete
in interfaceRecipe<CraftingInput>
-
getToastSymbol
- Specified by:
getToastSymbol
in interfaceRecipe<CraftingInput>
-