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/EntityTileRenderer.h
2026-03-01 12:16:08 +08:00

20 lines
499 B
C++

#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
};