Finished Adding Item IDs

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 16:13:11 +01:00
parent f1c593d809
commit d5aa898ffe
6 changed files with 132 additions and 19 deletions

View file

@ -27,7 +27,7 @@ the Free Software Foundation, either version 3 of the License, or
class WheatBlock extends FlowableBlock{
public function __construct($meta = 0){
parent::__construct(WHEAT, $meta, "Wheat");
parent::__construct(WHEAT_BLOCK, $meta, "Wheat");
}
public function getDrops(Item $item, Player $player){

View file

@ -27,7 +27,7 @@ the Free Software Foundation, either version 3 of the License, or
class MelonBlock extends TransparentBlock{
public function __construct(){
parent::__construct(MELON_BLOCK, 0, "Melon");
parent::__construct(MELON_BLOCK, 0, "Melon Block");
}
}

View file

@ -25,9 +25,9 @@ the Free Software Foundation, either version 3 of the License, or
*/
class NetherBrickBlock extends SolidBlock{
class NetherBricksBlock extends SolidBlock{
public function __construct(){
parent::__construct(NETHER_BRICK, 0, "Nether Brick");
parent::__construct(NETHER_BRICKS, 0, "Nether Bricks");
}
}

View file

@ -25,9 +25,9 @@ the Free Software Foundation, either version 3 of the License, or
*/
class NetherBrickStairsBlock extends StairBlock{
class NetherBricksStairsBlock extends StairBlock{
public function __construct($meta = 0){
parent::__construct(NETHER_BRICK_STAIRS, $meta, "Nether Brick Stairs");
parent::__construct(NETHER_BRICKS_STAIRS, $meta, "Nether Bricks Stairs");
}
}