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
470 B
C++
22 lines
470 B
C++
#pragma once
|
|
#include "BasePressurePlateTile.h"
|
|
|
|
class PressurePlateTile : public BasePressurePlateTile
|
|
{
|
|
public:
|
|
enum Sensitivity
|
|
{
|
|
everything, mobs, players
|
|
};
|
|
|
|
private:
|
|
Sensitivity sensitivity;
|
|
|
|
public:
|
|
PressurePlateTile(int id, const wstring &tex, Material *material, Sensitivity sensitivity);
|
|
|
|
protected:
|
|
virtual int getDataForSignal(int signal);
|
|
virtual int getSignalForData(int data);
|
|
virtual int getSignalStrength(Level *level, int x, int y, int z);
|
|
}; |