aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/SquidRenderer.h
blob: 876784437444bdd56b475815f2fd2e9515175528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "MobRenderer.h"

class SquidRenderer : public MobRenderer
{
private:
	static ResourceLocation SQUID_LOCATION;

public:
	SquidRenderer(Model *model, float shadow);
	virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);

protected:
	virtual void setupRotations(shared_ptr<LivingEntity> _mob, float bob, float bodyRot, float a);
    virtual float getBob(shared_ptr<LivingEntity> _mob, float a);
	virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
};