Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
22 lines
433 B
C++
22 lines
433 B
C++
#pragma once
|
|
|
|
#include "TileEntity.h"
|
|
|
|
class ComparatorTileEntity : public TileEntity
|
|
{
|
|
public:
|
|
eINSTANCEOF GetType() { return eTYPE_COMPARATORTILEENTITY; }
|
|
static TileEntity *create() { return new ComparatorTileEntity(); }
|
|
|
|
// 4J Added
|
|
virtual shared_ptr<TileEntity> clone();
|
|
|
|
private:
|
|
int output;
|
|
|
|
public:
|
|
void save(CompoundTag *tag);
|
|
void load(CompoundTag *tag);
|
|
int getOutputSignal();
|
|
void setOutputSignal(int value);
|
|
}; |