Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:20:20 -05:00
commit 2dfcaaa842
5375 files changed
+978475

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include "EntityRenderer.h"
class Painting;
class Random;
class PaintingRenderer : public EntityRenderer
{
private:
Random *random;
static ResourceLocation PAINTING_LOCATION;
public:
PaintingRenderer(); // 4J -added
virtual void render(shared_ptr<Entity> _painting, double x, double y, double z, float rot, float a);
private:
void renderPainting(shared_ptr<Painting> painting, int w, int h, int uo, int vo);
void setBrightness(shared_ptr<Painting> painting, float ss, float ya);
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
};