blob: b5f714dc76fb54c1583a03d546ed3bc804bfca32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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
};
|