Class RecipeBookTestRecipe
java.lang.Object
net.minecraftforge.debug.recipe.recipebook.RecipeBookTestRecipe
- All Implemented Interfaces:
Recipe<RecipeBookExtensionTest.RecipeBookTestContainer>
public class RecipeBookTestRecipe
extends Object
implements Recipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intfinal ResourceLocationprivate final NonNullList<Ingredient>static final Supplier<RecipeType<RecipeBookTestRecipe>>private final int -
Constructor Summary
ConstructorsConstructorDescriptionRecipeBookTestRecipe(ResourceLocation id, RecipeBookTestRecipe.Ingredients ingredients) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCraftInDimensions(int p_43999_, int p_44000_) getGroup()getId()RecipeType<?>getType()booleanprivate booleanmatches(RecipeBookExtensionTest.RecipeBookTestContainer container, int x, int y, boolean mirror) booleanmatches(RecipeBookExtensionTest.RecipeBookTestContainer container, 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
-
Field Details
-
TYPE
-
id
-
ingredients
-
width
private final int width -
height
private final int height -
items
-
-
Constructor Details
-
RecipeBookTestRecipe
-
-
Method Details
-
matches
Taken fromShapedRecipe- Specified by:
matchesin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
matches
private boolean matches(RecipeBookExtensionTest.RecipeBookTestContainer container, int x, int y, boolean mirror) -
assemble
- Specified by:
assemblein interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43999_, int p_44000_) - Specified by:
canCraftInDimensionsin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getResultItem
- Specified by:
getResultItemin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getId
- Specified by:
getIdin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getType
- Specified by:
getTypein interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getGroup
- Specified by:
getGroupin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getIngredients
- Specified by:
getIngredientsin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncompletein interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getToastSymbol
- Specified by:
getToastSymbolin interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-