mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 22:17:14 +00:00
18 lines
462 B
C++
18 lines
462 B
C++
#pragma once
|
|
#include "EntityRenderer.h"
|
|
|
|
class Model;
|
|
|
|
class EnderCrystalRenderer : public EntityRenderer {
|
|
private:
|
|
int currentModel;
|
|
Model* model;
|
|
static ResourceLocation ENDER_CRYSTAL_LOCATION;
|
|
|
|
public:
|
|
EnderCrystalRenderer();
|
|
|
|
virtual void render(std::shared_ptr<Entity> _crystal, double x, double y,
|
|
double z, float rot, float a);
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
}; |