the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Item.h"
4
5class FireworksItem : public Item
6{
7public:
8 static const wstring TAG_FIREWORKS;
9 static const wstring TAG_EXPLOSION;
10 static const wstring TAG_EXPLOSIONS;
11 static const wstring TAG_FLIGHT;
12 static const wstring TAG_E_TYPE;
13 static const wstring TAG_E_TRAIL;
14 static const wstring TAG_E_FLICKER;
15 static const wstring TAG_E_COLORS;
16 static const wstring TAG_E_FADECOLORS;
17
18 static const byte TYPE_SMALL = 0;
19 static const byte TYPE_BIG = 1;
20 static const byte TYPE_STAR = 2;
21 static const byte TYPE_CREEPER = 3;
22 static const byte TYPE_BURST = 4;
23
24 static const byte TYPE_MIN = TYPE_SMALL;
25 static const byte TYPE_MAX = TYPE_BURST;
26
27 FireworksItem(int id);
28
29 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);
30 void appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<HtmlString> *lines, bool advanced);
31};