4jcraft/Minecraft.World/Items/SeedFoodItem.h
2026-03-06 11:20:45 -06:00

15 lines
411 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);
};