mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +00:00
Beetroot Soup Item template. @shoghicp Add in the Item ID to ItemID.php constants file.
This commit is contained in:
parent
44d63c74dd
commit
646390812a
@ -25,6 +25,7 @@ define("IRON_AXE", 258);//Implemented
|
|||||||
define("FLINT_STEEL", 259);
|
define("FLINT_STEEL", 259);
|
||||||
define("FLINT_AND_STEEL", 259);
|
define("FLINT_AND_STEEL", 259);
|
||||||
define("APPLE", 260);//Implemented
|
define("APPLE", 260);//Implemented
|
||||||
|
define("BEETROOT_SOUP", 260);//TODO: Change Item ID
|
||||||
define("BOW", 261);
|
define("BOW", 261);
|
||||||
define("ARROW", 262);
|
define("ARROW", 262);
|
||||||
define("COAL", 263);//Implemented
|
define("COAL", 263);//Implemented
|
||||||
|
@ -26,6 +26,7 @@ class Item{
|
|||||||
PUMPKIN_SEEDS => "PumpkinSeedsItem",
|
PUMPKIN_SEEDS => "PumpkinSeedsItem",
|
||||||
MELON_SEEDS => "MelonSeedsItem",
|
MELON_SEEDS => "MelonSeedsItem",
|
||||||
CARROT => "CarrotItem",
|
CARROT => "CarrotItem",
|
||||||
|
BEETROOT_SOUP => "BeetrootSoupItem",
|
||||||
POTATO => "PotatoItem",
|
POTATO => "PotatoItem",
|
||||||
SIGN => "SignItem",
|
SIGN => "SignItem",
|
||||||
WOODEN_DOOR => "WoodenDoorItem",
|
WOODEN_DOOR => "WoodenDoorItem",
|
||||||
|
26
src/material/item/generic/BeetrootSoup.php
Normal file
26
src/material/item/generic/BeetrootSoup.php
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user