Files
BluTac10-Xbox_Neo/Minecraft.Client/RabbitRenderer.h
ChristianFalegnami 71018169b5 Rabbit-1
Added Brown Rabbit model and a basic ai system.
added toast variant, others have to be implemented.
TODO:
add other variants, add their spawn in the biomes, add IDS_RABBIT And change sounds.
ADD color to the spwanegg.
2026-03-12 23:51:35 +01:00

27 lines
655 B
C++

#pragma once
#include "MobRenderer.h"
class Rabbit;
class LivingEntity;
class RabbitRenderer : public MobRenderer
{
private:
static ResourceLocation LOC_BROWN;
static ResourceLocation LOC_WHITE;
static ResourceLocation LOC_BLACK;
static ResourceLocation LOC_GOLD;
static ResourceLocation LOC_SALT;
static ResourceLocation LOC_WHITE_SPLOTCHED;
static ResourceLocation LOC_TOAST;
static ResourceLocation LOC_EVIL;
public:
RabbitRenderer();
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity) override;
protected:
virtual void scale(shared_ptr<LivingEntity> mob, float a) override;
};