mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-17 19:40:45 +00:00
+ Added Magma Block, Nether Wart Block, Bone Block, End Stone Block + All Beetroot Items + Polar Bear (excluding audio) + / now opens chat for commands
20 lines
522 B
C++
20 lines
522 B
C++
#pragma once
|
|
using namespace std;
|
|
|
|
#include "Item.h"
|
|
|
|
class Player;
|
|
|
|
class HoeItem : public Item
|
|
{
|
|
protected:
|
|
const Tier *tier;
|
|
public:
|
|
HoeItem(int id, const Tier *tier);
|
|
|
|
virtual bool useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
|
|
virtual bool isHandEquipped();
|
|
virtual float getDestroySpeed(shared_ptr<ItemInstance> itemInstance, Tile *tile) override;
|
|
|
|
const Tier *getTier();
|
|
}; |