Class ConditionalRecipe.Wrapper
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe.Wrapper
- Enclosing class:
- ConditionalRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable ICondition
private final List<ConditionalRecipe.InnerRecipe>
-
Constructor Summary
ModifierConstructorDescriptionprivate
Wrapper
(@Nullable ICondition main, List<ConditionalRecipe.InnerRecipe> recipes) -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Container inv, RegistryAccess reg) boolean
canCraftInDimensions
(int width, int height) RecipeType<?>
getType()
boolean
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
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, isSpecial, showNotification
-
Field Details
-
main
-
recipes
-
-
Constructor Details
-
Wrapper
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) - Specified by:
canCraftInDimensions
in interfaceRecipe<Container>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<Container>
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<Container>
-
getType
-