Class ShapelessRecipe
java.lang.Object
net.minecraft.world.item.crafting.ShapelessRecipe
- All Implemented Interfaces:
- CraftingRecipe,- Recipe<CraftingContainer>
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final CraftingBookCategory(package private) final String(package private) final NonNullList<Ingredient>private final boolean(package private) final ItemStackFields inherited from interface net.minecraft.world.item.crafting.RecipeCODEC, CONDITIONAL_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionShapelessRecipe(String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) 
- 
Method SummaryModifier and TypeMethodDescriptionassemble(CraftingContainer p_44260_, RegistryAccess p_266797_) booleancanCraftInDimensions(int p_44252_, int p_44253_) category()getGroup()getResultItem(RegistryAccess p_267111_) booleanmatches(CraftingContainer p_44262_, Level p_44263_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.CraftingRecipegetTypeMethods inherited from interface net.minecraft.world.item.crafting.RecipegetRemainingItems, getToastSymbol, isIncomplete, isSpecial, showNotification
- 
Field Details- 
group
- 
category
- 
result
- 
ingredients
- 
isSimpleprivate final boolean isSimple
 
- 
- 
Constructor Details- 
ShapelessRecipepublic ShapelessRecipe(String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) 
 
- 
- 
Method Details- 
getSerializer- Specified by:
- getSerializerin interface- Recipe<CraftingContainer>
 
- 
getGroup- Specified by:
- getGroupin interface- Recipe<CraftingContainer>
 
- 
category- Specified by:
- categoryin interface- CraftingRecipe
 
- 
getResultItem- Specified by:
- getResultItemin interface- Recipe<CraftingContainer>
 
- 
getIngredients- Specified by:
- getIngredientsin interface- Recipe<CraftingContainer>
 
- 
matches- Specified by:
- matchesin interface- Recipe<CraftingContainer>
 
- 
assemble- Specified by:
- assemblein interface- Recipe<CraftingContainer>
 
- 
canCraftInDimensionspublic boolean canCraftInDimensions(int p_44252_, int p_44253_) - Specified by:
- canCraftInDimensionsin interface- Recipe<CraftingContainer>
 
 
-