blob: 6ea12648f668f080f40479f937ffd7cb7ba5ca0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "EntityTile_SPU.h"
class PistonMovingPiece_SPU : public EntityTile_SPU
{
public:
PistonMovingPiece_SPU(int id) : EntityTile_SPU(id) {}
virtual int getRenderShape() { return SHAPE_INVISIBLE; }
virtual bool isSolidRender(bool isServerLevel = false) { return false; }
virtual void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, TileEntity* forceEntity = nullptr) // 4J added forceData, forceEntity param
{
// should never get here.
}
};
|