
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
prismarine-recipe
Advanced tools
Represent minecraft recipes
const Recipe=require("prismarine-recipe")("1.8").Recipe;
console.log(JSON.stringify(Recipe.find(5)[0],null,2)); // recipes for wood
Returns a list of matching Recipe
instances.
itemType
- numerical idmetadata
- metadata to match. null
means match anything.The output item. It's a recipeItem :
{
id:45,
metadata:3,
count:1
}
Looks like this:
[
[recipeItem, recipeItem],
[recipeItem, recipeItem],
[recipeItem, recipeItem],
]
Looks the same as inShape
. Only relevant for cake.
List of shape-independent ingredients. Looks like this:
[
recipeItem,
recipeItem
]
Boolean.
Map of item type to how much more or less you will have after you use the recipe.
This is what it looks like for the chest recipe:
[
recipeItem,
recipeItem
]
FAQs
Represent minecraft recipes
We found that prismarine-recipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.