mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 05:43:46 +00:00
15 lines
445 B
C++
15 lines
445 B
C++
#pragma once
|
|
#include "TileEntityRenderer.h"
|
|
#include "../Models/ChestModel.h"
|
|
|
|
class EnderChestRenderer : public TileEntityRenderer {
|
|
private:
|
|
static ResourceLocation ENDER_CHEST_LOCATION;
|
|
ChestModel chestModel;
|
|
|
|
public:
|
|
void render(std::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
|
|
};
|