PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor:

Public Member Functions

 __construct (private string $molangExpression, private int $molangVersion)
 
 getMolangExpression ()
 
 getMolangVersion ()
 
 getTypeId ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = ItemDescriptorType::MOLANG
 

Detailed Description

Definition at line 23 of file MolangItemDescriptor.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::__construct ( private string $molangExpression,
private int $molangVersion )

Definition at line 28 of file MolangItemDescriptor.php.

Member Function Documentation

◆ getMolangExpression()

pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::getMolangExpression ( )

Definition at line 33 of file MolangItemDescriptor.php.

◆ getMolangVersion()

pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::getMolangVersion ( )

Definition at line 35 of file MolangItemDescriptor.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::read ( ByteBufferReader $in)
static

Definition at line 37 of file MolangItemDescriptor.php.

◆ write()

pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::write ( ByteBufferWriter $out)

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\recipe\MolangItemDescriptor::ID = ItemDescriptorType::MOLANG

Definition at line 26 of file MolangItemDescriptor.php.


The documentation for this class was generated from the following file: