Table of Contents
-
$blockName
: string
-
$inputs
: array<string|int, mixed>
-
$outputs
: array<string|int, mixed>
-
$priority
: int
-
$recipeId
: string
-
$recipeNetId
: int
-
$typeId
: int
-
$uuid
: UuidInterface
-
__construct()
: mixed
-
decode()
: self
-
encode()
: void
-
getBlockName()
: string
-
getInputs()
: array<string|int, RecipeIngredient>
-
getOutputs()
: array<string|int, ItemStack>
-
getPriority()
: int
-
getRecipeId()
: string
-
getRecipeNetId()
: int
-
getTypeId()
: int
-
getUuid()
: UuidInterface
$blockName
private
string
$blockName
private
array<string|int, mixed>
$inputs
$outputs
private
array<string|int, mixed>
$outputs
$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, RecipeIngredient> $inputs, array<string|int, ItemStack> $outputs, UuidInterface $uuid, string $blockName, int $priority, int $recipeNetId) : mixed
Parameters
-
$typeId
: int
-
-
$recipeId
: string
-
-
$inputs
: array<string|int, RecipeIngredient>
-
-
$outputs
: array<string|int, ItemStack>
-
-
$uuid
: UuidInterface
-
-
$blockName
: 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
—
public
getInputs() : array<string|int, RecipeIngredient>
Return values
array<string|int, RecipeIngredient>
—
getOutputs()
public
getOutputs() : 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
—