blob: 6742e6f6c69bfdf2d1f01f966a0afd733c09cdf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "Tile_SPU.h"
class PressurePlateTile_SPU : public Tile_SPU
{
public:
enum Sensitivity
{
everything,
mobs,
players
};
PressurePlateTile_SPU(int id) : Tile_SPU(id) {}
virtual bool isSolidRender(bool isServerLevel = false);
virtual bool blocksLight();
virtual void updateShape(ChunkRebuildData *level, int x, int y, int z, int forceData = -1, TileEntity* forceEntity = nullptr); // 4J added forceData, forceEntity param
virtual void updateDefaultShape();
};
|