Метод | Описание | |
---|---|---|
__construct ( |
||
addIngredient ( $x, $y, |
||
getHeight ( ) | ||
getId ( ) | ||
getIngredient ( $x, $y ) : null | |
||
getIngredientMap ( ) : |
||
getResult ( ) | ||
getShape ( ) : string[] | ||
getWidth ( ) | ||
registerToCraftingManager ( ) | ||
setId ( |
||
setIngredient ( string $key, |
Метод | Описание | |
---|---|---|
fixRecipe ( $key, $item ) |
public __construct ( |
||
$result | ||
$height | integer | |
$width | integer |
public addIngredient ( $x, $y, |
||
$item |
public getIngredient ( $x, $y ) : null | |
||
$x | ||
$y | ||
Результат | null | |
public getIngredientMap ( ) : |
||
Результат |
public setIngredient ( string $key, |
||
$key | string | |
$item |