This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MinecraftConsoles/Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/EnchantmentTableTile_SPU.h
2026-03-01 12:16:08 +08:00

17 lines
497 B
C++

#pragma once
#include "EntityTile_SPU.h"
class EnchantmentTableTile_SPU : public EntityTile_SPU
{
public:
EnchantmentTableTile_SPU(int id) : EntityTile_SPU(id) {}
bool isCubeShaped() { return false; }
bool isSolidRender(bool isServerLevel = false) { return false; }
Icon_SPU *getTexture(int face, int data)
{
if (face == Facing::DOWN) return &ms_pTileData->enchantmentTable_iconBottom;
if (face == Facing::UP) return &ms_pTileData->enchantmentTable_iconTop;
return icon();
}
};