mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-09 18:27:14 +00:00
14 lines
485 B
C++
14 lines
485 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class ShearsItem : public Item {
|
|
public:
|
|
ShearsItem(int itemId);
|
|
virtual bool mineBlock(std::shared_ptr<ItemInstance> itemInstance,
|
|
Level* level, int tile, int x, int y, int z,
|
|
std::shared_ptr<LivingEntity> owner);
|
|
virtual bool canDestroySpecial(Tile* tile);
|
|
virtual float getDestroySpeed(std::shared_ptr<ItemInstance> itemInstance,
|
|
Tile* tile);
|
|
}; |