4jcraft/Minecraft.Client/Rendering/EntityRenderers/BatRenderer.h
2026-03-21 22:28:58 -05:00

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);
};