Files
MinecraftConsoles/Minecraft.Client/EntityTileRenderer.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

20 lines
509 B
C++

#pragma once
class ChestTileEntity;
class EnderChestTileEntity;
class Tile;
class EntityTileRenderer
{
public:
static EntityTileRenderer *instance;
private:
std::shared_ptr<ChestTileEntity> chest;
std::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
};