Added block order detection, added support for non-sectioned level formats

This commit is contained in:
Shoghi Cervantes
2014-07-30 12:57:00 +02:00
parent 8fafb85784
commit 016b08ecf2
12 changed files with 796 additions and 579 deletions

View File

@ -46,6 +46,14 @@ class Anvil extends BaseLevelProvider{
return "anvil";
}
public static function getProviderOrder(){
return self::ORDER_YZX;
}
public static function usesChunkSection(){
return true;
}
public static function isValid($path){
$isValid = (file_exists($path . "/level.dat") and is_dir($path . "/region/"));