mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 07:25:05 +00:00
24 lines
661 B
C++
24 lines
661 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class EnderMan;
|
|
class EndermanModel;
|
|
|
|
class EndermanRenderer : public MobRenderer {
|
|
private:
|
|
EndermanModel* model;
|
|
Random random;
|
|
static ResourceLocation ENDERMAN_EYES_LOCATION;
|
|
static ResourceLocation ENDERMAN_LOCATION;
|
|
|
|
public:
|
|
EndermanRenderer();
|
|
|
|
void render(std::shared_ptr<Entity> _mob, double x, double y, double z,
|
|
float rot, float a);
|
|
ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
void additionalRendering(std::shared_ptr<LivingEntity> _mob, float a);
|
|
|
|
protected:
|
|
int prepareArmor(std::shared_ptr<LivingEntity> _mob, int layer, float a);
|
|
}; |