FurnaceRecipe
extends RecipeWithTypeId
in package
Table of Contents
- $blockName : string
- $inputId : int
- $inputMeta : int|null
- $result : ItemStack
- $typeId : int
- __construct() : mixed
- decode() : self
- encode() : void
- getBlockName() : string
- getInputId() : int
- getInputMeta() : int|null
- getResult() : ItemStack
- getTypeId() : int
Properties
$blockName
private
string
$blockName
$inputId
private
int
$inputId
$inputMeta
private
int|null
$inputMeta
$result
private
ItemStack
$result
$typeId
private
int
$typeId
Methods
__construct()
public
__construct(int $typeId, int $inputId, int|null $inputMeta, ItemStack $result, string $blockName) : mixed
Parameters
- $typeId : int
- $inputId : int
- $inputMeta : int|null
- $result : ItemStack
- $blockName : string
Return values
mixed —decode()
public
static decode(int $typeId, PacketSerializer $in) : self
Parameters
- $typeId : 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 —getInputId()
public
getInputId() : int
Return values
int —getInputMeta()
public
getInputMeta() : int|null
Return values
int|null —getResult()
public
getResult() : ItemStack
Return values
ItemStack —getTypeId()
public
final getTypeId() : int