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 int
final ResourceLocation
private final NonNullList<Ingredient>
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionRecipeBookTestRecipe
(ResourceLocation id, RecipeBookTestRecipe.Ingredients ingredients) -
Method Summary
Modifier and TypeMethodDescriptionassemble
(RecipeBookExtensionTest.RecipeBookTestContainer p_44001_, RegistryAccess registryAccess) boolean
canCraftInDimensions
(int p_43999_, int p_44000_) getGroup()
getId()
getResultItem
(RegistryAccess registryAccess) RecipeType<?>
getType()
boolean
private boolean
matches
(RecipeBookExtensionTest.RecipeBookTestContainer container, int x, int y, boolean mirror) boolean
matches
(RecipeBookExtensionTest.RecipeBookTestContainer container, 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
-
id
-
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<RecipeBookExtensionTest.RecipeBookTestContainer>
-
matches
private boolean matches(RecipeBookExtensionTest.RecipeBookTestContainer container, int x, int y, boolean mirror) -
assemble
public ItemStack assemble(RecipeBookExtensionTest.RecipeBookTestContainer p_44001_, RegistryAccess registryAccess) - Specified by:
assemble
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43999_, int p_44000_) - Specified by:
canCraftInDimensions
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getId
- Specified by:
getId
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getType
- Specified by:
getType
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getGroup
- Specified by:
getGroup
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getIngredients
- Specified by:
getIngredients
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncomplete
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-
getToastSymbol
- Specified by:
getToastSymbol
in interfaceRecipe<RecipeBookExtensionTest.RecipeBookTestContainer>
-