summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSeeds.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2020-04-04 17:13:41 +0200
committerGitHub <noreply@github.com>2020-04-04 17:13:41 +0200
commit2b9474f171a4c0e1863b52ea585f145ddaabe404 (patch)
treecadb7c58b7b6f7b10182740b3afe87c1ad7354f1 /src/Items/ItemSeeds.h
parentPotion changes (#4601) (diff)
downloadcuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar.gz
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar.bz2
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar.lz
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar.xz
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.tar.zst
cuberite-2b9474f171a4c0e1863b52ea585f145ddaabe404.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemSeeds.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Items/ItemSeeds.h b/src/Items/ItemSeeds.h
index a04ab3c05..8338d1060 100644
--- a/src/Items/ItemSeeds.h
+++ b/src/Items/ItemSeeds.h
@@ -23,27 +23,6 @@ public:
return true;
}
- virtual bool IsFood(void) override
- {
- switch (m_ItemType) // Special cases, both a seed and food
- {
- case E_ITEM_CARROT:
- case E_ITEM_POTATO: return true;
- default: return false;
- }
- }
-
- virtual FoodInfo GetFoodInfo(const cItem * a_Item) override
- {
- UNUSED(a_Item);
- switch (m_ItemType)
- {
- case E_ITEM_CARROT: return FoodInfo(3, 3.6);
- case E_ITEM_POTATO: return FoodInfo(1, 0.6);
- default: return FoodInfo(0, 0);
- }
- }
-
virtual bool GetPlacementBlockTypeMeta(
cWorld * a_World, cPlayer * a_Player,
int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace,