public class ShapelessRecipe extends Object implements CraftingRecipe
Recipe.Type| Modifier and Type | Method and Description |
|---|---|
byte |
getHeight() |
Collection<RecipeItemStack> |
getIngredients() |
ItemStack |
getResult() |
UUID |
getUuid() |
byte |
getWidth() |
boolean |
matchesItems(CraftingContainer craftable) |
boolean |
matchesItems(ItemStack[][] items) |
void |
writeTo(io.netty.buffer.ByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitneedsCraftingTablegenerateRecipeUuid, isMultiRecipepublic boolean matchesItems(ItemStack[][] items)
matchesItems in interface CraftingRecipepublic byte getHeight()
getHeight in interface CraftingRecipepublic byte getWidth()
getWidth in interface CraftingRecipepublic Collection<RecipeItemStack> getIngredients()
getIngredients in interface Recipepublic boolean matchesItems(CraftingContainer craftable)
matchesItems in interface RecipeCopyright © 2017–2019 NukkitX. All rights reserved.