mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-18 19:50:00 +01:00
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
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);
|
|
}; |