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 "TileEntity.h"
4
5class ComparatorTileEntity : public TileEntity
6{
7public:
8 eINSTANCEOF GetType() { return eTYPE_COMPARATORTILEENTITY; }
9 static TileEntity *create() { return new ComparatorTileEntity(); }
10
11 // 4J Added
12 virtual shared_ptr<TileEntity> clone();
13
14private:
15 int output;
16
17public:
18 void save(CompoundTag *tag);
19 void load(CompoundTag *tag);
20 int getOutputSignal();
21 void setOutputSignal(int value);
22};