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 "BlockSource.h"
4
5class Level;
6
7class BlockSourceImpl : public BlockSource
8{
9private:
10 Level *world;
11 int x;
12 int y;
13 int z;
14
15public:
16 BlockSourceImpl(Level *world, int x, int y, int z);
17
18 Level *getWorld();
19 double getX();
20 double getY();
21 double getZ();
22 int getBlockX();
23 int getBlockY();
24 int getBlockZ();
25 Tile *getType();
26 int getData();
27 Material *getMaterial();
28 shared_ptr<TileEntity> getEntity();
29};