Table of Contents
-
$blockName
: string
-
$input
: array<string|int, mixed>
-
$output
: array<string|int, mixed>
-
$priority
: int
-
$recipeId
: string
-
$recipeNetId
: int
-
$typeId
: int
-
$uuid
: UuidInterface
-
__construct()
: mixed
-
decode()
: self
-
encode()
: void
-
getBlockName()
: string
-
getHeight()
: int
-
getInput()
: array<string|int, array<string|int, RecipeIngredient>>
-
getOutput()
: array<string|int, ItemStack>
-
getPriority()
: int
-
getRecipeId()
: string
-
getRecipeNetId()
: int
-
getTypeId()
: int
-
getUuid()
: UuidInterface
-
getWidth()
: int
$blockName
private
string
$blockName
private
array<string|int, mixed>
$input
$output
private
array<string|int, mixed>
$output
$priority
private
int
$priority
$recipeId
private
string
$recipeId
$recipeNetId
private
int
$recipeNetId
$typeId
private
int
$typeId
$uuid
private
UuidInterface
$uuid
__construct()
public
__construct(int $typeId, string $recipeId, array<string|int, array<string|int, RecipeIngredient>> $input, array<string|int, ItemStack> $output, UuidInterface $uuid, string $blockType, int $priority, int $recipeNetId) : mixed
Parameters
-
$typeId
: int
-
-
$recipeId
: string
-
-
$input
: array<string|int, array<string|int, RecipeIngredient>>
-
-
$output
: array<string|int, ItemStack>
-
-
$uuid
: UuidInterface
-
-
$blockType
: string
-
-
$priority
: int
-
-
$recipeNetId
: int
-
Return values
mixed
—
decode()
public
static decode(int $recipeType, PacketSerializer $in) : self
Parameters
-
$recipeType
: int
-
-
$in
: PacketSerializer
-
Return values
self
—
encode()
public
encode(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—
getBlockName()
public
getBlockName() : string
Return values
string
—
getHeight()
public
getHeight() : int
Return values
int
—
public
getInput() : array<string|int, array<string|int, RecipeIngredient>>
Return values
array<string|int, array<string|int, RecipeIngredient>>
—
getOutput()
public
getOutput() : array<string|int, ItemStack>
Return values
array<string|int, ItemStack>
—
getPriority()
public
getPriority() : int
Return values
int
—
getRecipeId()
public
getRecipeId() : string
Return values
string
—
getRecipeNetId()
public
getRecipeNetId() : int
Return values
int
—
getTypeId()
public
final getTypeId() : int
Return values
int
—
getUuid()
public
getUuid() : UuidInterface
Return values
UuidInterface
—
getWidth()
public
getWidth() : int
Return values
int
—