aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EnchantmentTableEntity.h
blob: c7cef9f74a49fbf4658c9c7d23e361b49104f1cb (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
#pragma once
#include "TileEntity.h"
class Random;

class EnchantmentTableEntity : public TileEntity
{
public:
	eINSTANCEOF GetType() { return eTYPE_ENCHANTMENTTABLEENTITY; }
	static TileEntity *create() { return new EnchantmentTableEntity(); }

public:
	int time;
    float flip, oFlip, flipT, flipA;
    float open, oOpen;
    float rot, oRot, tRot;
private:
	Random *random;
public:
	EnchantmentTableEntity();
	~EnchantmentTableEntity();
    virtual void tick();

	// 4J Added
	virtual std::shared_ptr<TileEntity> clone();
};