PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\world\format\io\GlobalBlockStateHandlers Class Reference
+ Collaboration diagram for pocketmine\world\format\io\GlobalBlockStateHandlers:

Static Public Member Functions

static getDeserializer ()
 
static getSerializer ()
 
static getUnknownBlockStateData ()
 
static getUpgrader ()
 

Detailed Description

Provides global access to blockstate serializers for all world providers. TODO: Get rid of this. This is necessary to enable plugins to register custom serialize/deserialize handlers, and also because we can't break BC of WorldProvider before PM5. While this is a sucky hack, it provides meaningful benefits for now.

Definition at line 46 of file GlobalBlockStateHandlers.php.

Member Function Documentation

◆ getDeserializer()

static pocketmine\world\format\io\GlobalBlockStateHandlers::getDeserializer ( )
static

Definition at line 55 of file GlobalBlockStateHandlers.php.

◆ getSerializer()

static pocketmine\world\format\io\GlobalBlockStateHandlers::getSerializer ( )
static

Definition at line 59 of file GlobalBlockStateHandlers.php.

◆ getUnknownBlockStateData()

static pocketmine\world\format\io\GlobalBlockStateHandlers::getUnknownBlockStateData ( )
static

Definition at line 85 of file GlobalBlockStateHandlers.php.

◆ getUpgrader()

static pocketmine\world\format\io\GlobalBlockStateHandlers::getUpgrader ( )
static

Definition at line 63 of file GlobalBlockStateHandlers.php.


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