mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-25 06:42:53 +00:00
18 lines
485 B
C++
18 lines
485 B
C++
#pragma once
|
|
|
|
#include "FoodItem.h"
|
|
|
|
class SeedFoodItem : public FoodItem {
|
|
private:
|
|
int resultId;
|
|
int targetLand;
|
|
|
|
public:
|
|
SeedFoodItem(int id, int nutrition, float saturationMod, int resultId,
|
|
int targetLand);
|
|
|
|
bool useOn(std::shared_ptr<ItemInstance> instance,
|
|
std::shared_ptr<Player> player, Level* level, int x, int y,
|
|
int z, int face, float clickX, float clickY, float clickZ,
|
|
bool bTestUseOnOnly);
|
|
}; |