Regenerated block/item id lists and refactored some names for consistency with MCPE

This commit is contained in:
Dylan K. Taylor
2017-08-04 12:16:44 +01:00
parent 3048a3b39b
commit 561d8e7a39
39 changed files with 301 additions and 282 deletions

View File

@ -28,7 +28,7 @@ use pocketmine\item\Tool;
use pocketmine\math\AxisAlignedBB;
use pocketmine\Player;
class Slab extends WoodSlab{
class Slab extends WoodenSlab{
const STONE = 0;
const SANDSTONE = 1;
const WOODEN = 2;
@ -38,9 +38,9 @@ class Slab extends WoodSlab{
const QUARTZ = 6;
const NETHER_BRICK = 7;
protected $id = self::SLAB;
protected $id = self::STONE_SLAB;
protected $doubleId = self::DOUBLE_SLAB;
protected $doubleId = self::DOUBLE_STONE_SLAB;
public function __construct($meta = 0){
$this->meta = $meta;