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 intprivate final NonNullList<Ingredient> private final intFields 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) booleancanCraftInDimensions(int p_43999_, int p_44000_) getGroup()getResultItem(HolderLookup.Provider registryAccess) RecipeType<?> getType()booleanprivate booleanmatches(CraftingInput input, boolean mirror) booleanmatches(CraftingInput input, Level level) Taken fromShapedRecipeMethods 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.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:
matchesin interfaceRecipe<CraftingInput>
-
matches
-
assemble
- Specified by:
assemblein interfaceRecipe<CraftingInput>
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43999_, int p_44000_) - Specified by:
canCraftInDimensionsin interfaceRecipe<CraftingInput>
-
getResultItem
- Specified by:
getResultItemin interfaceRecipe<CraftingInput>
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<CraftingInput>
-
getType
- Specified by:
getTypein interfaceRecipe<CraftingInput>
-
getGroup
- Specified by:
getGroupin interfaceRecipe<CraftingInput>
-
getIngredients
- Specified by:
getIngredientsin interfaceRecipe<CraftingInput>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncompletein interfaceRecipe<CraftingInput>
-
getToastSymbol
- Specified by:
getToastSymbolin interfaceRecipe<CraftingInput>
-