mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-13 01:12:29 +00:00
15 lines
411 B
C++
15 lines
411 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class MinecartItem : public Item {
|
|
public:
|
|
int type;
|
|
|
|
MinecartItem(int id, int type);
|
|
|
|
virtual 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 = false);
|
|
}; |