mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 04:18:14 +05:00
21 lines
543 B
C++
21 lines
543 B
C++
#pragma once
|
|
|
|
class ChestTileEntity;
|
|
class EnderChestTileEntity;
|
|
class Tile;
|
|
|
|
class EntityTileRenderer
|
|
{
|
|
public:
|
|
static EntityTileRenderer *instance;
|
|
|
|
private:
|
|
shared_ptr<ChestTileEntity> chest;
|
|
shared_ptr<ChestTileEntity> trappedChest;
|
|
shared_ptr<EnderChestTileEntity> enderChest;
|
|
|
|
public:
|
|
EntityTileRenderer();
|
|
void render(Tile *tile, int data, float brightness, float alpha, bool setColor = true, bool useCompiled = true); // 4J - added setColor parameter and alpha for chest in the crafting menu, and added useCompiled
|
|
};
|