Files

26 lines
712 B
C
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "TileEntityRenderer.h"
class ChestModel;
class ChestRenderer : public TileEntityRenderer
{
private:
static ResourceLocation CHEST_LARGE_TRAP_LOCATION;
//static ResourceLocation CHEST_LARGE_XMAS_LOCATION;
static ResourceLocation CHEST_LARGE_LOCATION;
static ResourceLocation CHEST_TRAP_LOCATION;
//static ResourceLocation CHEST_XMAS_LOCATION;
static ResourceLocation CHEST_LOCATION;
2026-03-01 12:16:08 +08:00
ChestModel *chestModel;
ChestModel *largeChestModel;
boolean xmasTextures;
2026-03-01 12:16:08 +08:00
public:
ChestRenderer();
2026-03-01 12:16:08 +08:00
~ChestRenderer();
void render(shared_ptr<TileEntity> _chest, double x, double y, double z, float a, bool setColor, float alpha=1.0f, bool useCompiled = true); // 4J added setColor param
2026-03-01 12:16:08 +08:00
};