mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 17:54:03 +00:00
22 lines
742 B
C++
22 lines
742 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class BatModel;
|
|
|
|
class BatRenderer : public MobRenderer {
|
|
static ResourceLocation BAT_LOCATION;
|
|
int modelVersion;
|
|
|
|
public:
|
|
BatRenderer();
|
|
virtual void render(std::shared_ptr<Entity> _mob, double x, double y,
|
|
double z, float rot, float a);
|
|
|
|
protected:
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
virtual void scale(std::shared_ptr<LivingEntity> mob, float a);
|
|
virtual void setupPosition(std::shared_ptr<LivingEntity> mob, double x,
|
|
double y, double z);
|
|
virtual void setupRotations(std::shared_ptr<LivingEntity> mob, float bob,
|
|
float bodyRot, float a);
|
|
}; |