mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 14:23:37 +00:00
16 lines
471 B
C++
16 lines
471 B
C++
#pragma once
|
|
#include "TileEntityRenderer.h"
|
|
class SignModel;
|
|
|
|
class SignRenderer : public TileEntityRenderer {
|
|
private:
|
|
static ResourceLocation SIGN_LOCATION;
|
|
SignModel* signModel;
|
|
|
|
public:
|
|
SignRenderer(); // 4J - added
|
|
virtual void render(std::shared_ptr<TileEntity> sign, double x, double y,
|
|
double z, float a, bool setColor, float alpha = 1.0f,
|
|
bool useCompiled = true); // 4J added setColor param
|
|
};
|