the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "GameMode.h"
3
4class CreativeMode : public GameMode
5{
6private:
7 int destroyDelay;
8
9public:
10 CreativeMode(Minecraft *minecraft);
11 virtual void init();
12 static void enableCreativeForPlayer(shared_ptr<Player> player);
13 static void disableCreativeForPlayer(shared_ptr<Player> player);
14 virtual void adjustPlayer(shared_ptr<Player> player);
15 static void creativeDestroyBlock(Minecraft *minecraft, GameMode *gameMode, int x, int y, int z, int face);
16 virtual bool useItemOn(shared_ptr<Player> player, Level *level, shared_ptr<ItemInstance> item, int x, int y, int z, int face, bool bTestUseOnOnly=false, bool *pbUsedItem = NULL);
17 virtual void startDestroyBlock(int x, int y, int z, int face);
18 virtual void continueDestroyBlock(int x, int y, int z, int face);
19 virtual void stopDestroyBlock();
20 virtual bool canHurtPlayer();
21 virtual void initLevel(Level *level);
22 virtual float getPickRange();
23 virtual bool hasMissTime();
24 virtual bool hasInfiniteItems();
25 virtual bool hasFarPickRange();
26};