Beetroot Soup Item template. @shoghicp Add in the Item ID to ItemID.php constants file.

This commit is contained in:
Michael Yoo 2013-11-25 18:57:13 +10:30
parent 44d63c74dd
commit 646390812a
3 changed files with 28 additions and 0 deletions

View File

@ -25,6 +25,7 @@ define("IRON_AXE", 258);//Implemented
define("FLINT_STEEL", 259);
define("FLINT_AND_STEEL", 259);
define("APPLE", 260);//Implemented
define("BEETROOT_SOUP", 260);//TODO: Change Item ID
define("BOW", 261);
define("ARROW", 262);
define("COAL", 263);//Implemented

View File

@ -26,6 +26,7 @@ class Item{
PUMPKIN_SEEDS => "PumpkinSeedsItem",
MELON_SEEDS => "MelonSeedsItem",
CARROT => "CarrotItem",
BEETROOT_SOUP => "BeetrootSoupItem",
POTATO => "PotatoItem",
SIGN => "SignItem",
WOODEN_DOOR => "WoodenDoorItem",

View File

@ -0,0 +1,26 @@
<?php
/**
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* @author PocketMine Team
* @link http://www.pocketmine.net/
*
*
*/
class BeetrootSoupItem extends Item{
public function __construct($meta = 0, $count = 1){
parent::__construct(BEETROOT_SOUP, 0, $count, "Beetroot Soup");
}
}