From 646390812ac56e778b204be16015954a632df576 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Mon, 25 Nov 2013 18:57:13 +1030 Subject: [PATCH] Beetroot Soup Item template. @shoghicp Add in the Item ID to ItemID.php constants file. --- src/constants/ItemIDs.php | 1 + src/material/Item.php | 1 + src/material/item/generic/BeetrootSoup.php | 26 ++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 src/material/item/generic/BeetrootSoup.php diff --git a/src/constants/ItemIDs.php b/src/constants/ItemIDs.php index a8e13fe7b..7867723a4 100644 --- a/src/constants/ItemIDs.php +++ b/src/constants/ItemIDs.php @@ -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 diff --git a/src/material/Item.php b/src/material/Item.php index 4c4d5f79b..208193f74 100644 --- a/src/material/Item.php +++ b/src/material/Item.php @@ -26,6 +26,7 @@ class Item{ PUMPKIN_SEEDS => "PumpkinSeedsItem", MELON_SEEDS => "MelonSeedsItem", CARROT => "CarrotItem", + BEETROOT_SOUP => "BeetrootSoupItem", POTATO => "PotatoItem", SIGN => "SignItem", WOODEN_DOOR => "WoodenDoorItem", diff --git a/src/material/item/generic/BeetrootSoup.php b/src/material/item/generic/BeetrootSoup.php new file mode 100644 index 000000000..d52a60042 --- /dev/null +++ b/src/material/item/generic/BeetrootSoup.php @@ -0,0 +1,26 @@ +