FurnaceRecipeManager
in package
Table of Contents
- $furnaceRecipes : array<string|int, FurnaceRecipe>
- $recipeRegisteredCallbacks : ObjectSet
- __construct() : mixed
- getAll() : array<string|int, FurnaceRecipe>
- getRecipeRegisteredCallbacks() : ObjectSet
- match() : FurnaceRecipe|null
- register() : void
Properties
$furnaceRecipes
protected
array<string|int, FurnaceRecipe>
$furnaceRecipes
= []
$recipeRegisteredCallbacks
private
ObjectSet
$recipeRegisteredCallbacks
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getAll()
public
getAll() : array<string|int, FurnaceRecipe>
Return values
array<string|int, FurnaceRecipe> —getRecipeRegisteredCallbacks()
public
getRecipeRegisteredCallbacks() : ObjectSet
Tags
Return values
ObjectSet —match()
public
match(Item $input) : FurnaceRecipe|null
Parameters
- $input : Item
Return values
FurnaceRecipe|null —register()
public
register(FurnaceRecipe $recipe) : void
Parameters
- $recipe : FurnaceRecipe