PHP Class pocketmine\network\protocol\CraftingDataPacket

Inheritance: extends DataPacket
Mostrar archivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$cleanRecipes
$entries object[]

Public Methods

Method Description
addEnchantList ( EnchantmentList $list )
addFurnaceRecipe ( FurnaceRecipe $recipe )
addShapedRecipe ( ShapedRecipe $recipe )
addShapelessRecipe ( ShapelessRecipe $recipe )
clean ( )
decode ( )
encode ( )

Private Methods

Method Description
writeEnchantList ( EnchantmentList $list, BinaryStream $stream )
writeEntry ( $entry, BinaryStream $stream )
writeFurnaceRecipe ( FurnaceRecipe $recipe, BinaryStream $stream )
writeShapedRecipe ( ShapedRecipe $recipe, BinaryStream $stream )
writeShapelessRecipe ( ShapelessRecipe $recipe, BinaryStream $stream )

Method Details

addEnchantList() public method

public addEnchantList ( EnchantmentList $list )
$list pocketmine\item\enchantment\EnchantmentList

addFurnaceRecipe() public method

public addFurnaceRecipe ( FurnaceRecipe $recipe )
$recipe pocketmine\inventory\FurnaceRecipe

addShapedRecipe() public method

public addShapedRecipe ( ShapedRecipe $recipe )
$recipe pocketmine\inventory\ShapedRecipe

addShapelessRecipe() public method

public addShapelessRecipe ( ShapelessRecipe $recipe )
$recipe pocketmine\inventory\ShapelessRecipe

clean() public method

public clean ( )

decode() public method

public decode ( )

encode() public method

public encode ( )

Property Details

$cleanRecipes public_oe property

public $cleanRecipes

$entries public_oe property

public object[] $entries
return object[]