blob: 1231bbd3410308615ea8430377a0fcf6c04945fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "TileEntity.h"
class EnderChestTileEntity : public TileEntity
{
public:
eINSTANCEOF GetType() { return eTYPE_ENDERCHESTTILEENTITY; }
static TileEntity *create() { return new EnderChestTileEntity(); }
public:
float openness, oOpenness;
int openCount;
private:
int tickInterval;
public:
EnderChestTileEntity();
void tick();
bool triggerEvent(int b0, int b1);
void setRemoved();
void startOpen();
void stopOpen();
bool stillValid(shared_ptr<Player> player);
// 4J Added
virtual shared_ptr<TileEntity> clone();
};
|