Uses of Class
io.github.thebusybiscuit.slimefun4.implementation.items.autocrafters.AbstractRecipe
Package
Description
This package contains any electric machines related to automatic crafting tables.
-
Uses of AbstractRecipe in io.github.thebusybiscuit.slimefun4.implementation.items.autocrafters
Modifier and TypeMethodDescriptionabstract AbstractRecipe
AbstractAutoCrafter.getSelectedRecipe
(Block b) This method returns the currently selectedAbstractRecipe
for the givenBlock
.SlimefunAutoCrafter.getSelectedRecipe
(Block b) VanillaAutoCrafter.getSelectedRecipe
(Block b) static AbstractRecipe
AbstractRecipe.of
(SlimefunItem item, RecipeType recipeType) This static accessor is forSlimefunItem
recipes.static AbstractRecipe
This is our static accessor for theAbstractRecipe
class.Modifier and TypeMethodDescriptionboolean
AbstractAutoCrafter.craft
(Inventory inv, AbstractRecipe recipe) This method performs a crafting operation.protected void
AbstractAutoCrafter.setSelectedRecipe
(Block b, AbstractRecipe recipe) This method sets the selectedAbstractRecipe
for the givenBlock
.protected void
AbstractAutoCrafter.showRecipe
(Player p, Block b, AbstractRecipe recipe) This shows the givenAbstractRecipe
to thePlayer
in a preview window.