mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-24 14:54:30 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
22 lines
562 B
C++
22 lines
562 B
C++
#pragma once
|
|
#include "EntityRenderer.h"
|
|
|
|
class Model;
|
|
class EnderCrystal;
|
|
|
|
class EnderCrystalRenderer : public EntityRenderer
|
|
{
|
|
private:
|
|
int currentModel;
|
|
Model *model;
|
|
static ResourceLocation ENDER_CRYSTAL_LOCATION;
|
|
static ResourceLocation BEAM_LOCATION;
|
|
|
|
void renderBeam(shared_ptr<EnderCrystal> crystal, double x, double y, double z, float a);
|
|
|
|
public:
|
|
EnderCrystalRenderer();
|
|
|
|
virtual void render(shared_ptr<Entity> _crystal, double x, double y, double z, float rot, float a);
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
|
}; |