Files
MinecraftConsoles/Minecraft.World/EnchantmentTableEntity.h
2026-03-02 17:37:16 +07:00

25 lines
523 B
C++

#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 shared_ptr<TileEntity> clone();
};