PocketMine
ShapelessRecipe Class Reference
Inheritance diagram for ShapelessRecipe:
Recipe BigShapelessRecipe

Public Member Functions

 __construct (Item $result)
 
 getId ()
 
 setId (UUID $id)
 
 getResult ()
 
 addIngredient (Item $item)
 
 removeIngredient (Item $item)
 
 getIngredientList ()
 
 getIngredientCount ()
 
 registerToCraftingManager ()
 

Member Function Documentation

addIngredient ( Item  $item)
Parameters
Item$item
Returns
ShapelessRecipe
Exceptions
getId ( )
Returns
UUID

Implements Recipe.

getIngredientCount ( )
Returns
int
getIngredientList ( )
Returns
Item[]
getResult ( )
Returns

Implements Recipe.

removeIngredient ( Item  $item)
Parameters
Item$item
Returns
$this

The documentation for this class was generated from the following file: