aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/EntityTileRenderer.h
blob: cc572cadfabb9544d0b1b8fbf66019053b112d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

class ChestTileEntity;
class EnderChestTileEntity;
class Tile;

class EntityTileRenderer
 {
 public:
	 static EntityTileRenderer *instance;

 private:
	 shared_ptr<ChestTileEntity> chest;
	 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
};