64 if(self::$blockDataUpgrader ===
null){
66 Path::join(BEDROCK_BLOCK_UPGRADE_SCHEMA_PATH,
'nbt_upgrade_schema'),
70 BlockIdMetaUpgrader::loadFromString(
71 Filesystem::fileGetContents(Path::join(
72 BEDROCK_BLOCK_UPGRADE_SCHEMA_PATH,
73 'id_meta_to_nbt/1.12.0.bin'
75 LegacyBlockIdToStringIdMap::getInstance(),
82 return self::$blockDataUpgrader;
85 public static function getUnknownBlockStateData() :
BlockStateData{
86 return self::$unknownBlockStateData ??= BlockStateData::current(BlockTypeNames::INFO_UPDATE, []);