4jcraft/Minecraft.World/Blocks/TileEntities/EnchantmentTableTileEntity.h
2026-03-13 17:06:56 -05:00

26 lines
554 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 std::shared_ptr<TileEntity> clone();
};