PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\block\tile\TileFactory Class Reference
+ Collaboration diagram for pocketmine\block\tile\TileFactory:

Public Member Functions

 createFromData (World $world, CompoundTag $nbt)
 
 getSaveId (string $class)
 
 register (string $className, array $saveNames=[])
 

Detailed Description

Definition at line 38 of file TileFactory.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\block\tile\TileFactory::__construct ( )

Definition at line 52 of file TileFactory.php.

Member Function Documentation

◆ createFromData()

pocketmine\block\tile\TileFactory::createFromData ( World $world,
CompoundTag $nbt )

Definition at line 121 of file TileFactory.php.

◆ getSaveId()

pocketmine\block\tile\TileFactory::getSaveId ( string $class)

@phpstan-param class-string<Tile> $class

Definition at line 145 of file TileFactory.php.

◆ register()

pocketmine\block\tile\TileFactory::register ( string $className,
array $saveNames = [] )
Parameters
string[]$saveNames@phpstan-param class-string<Tile> $className

Definition at line 102 of file TileFactory.php.


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