mirror of
https://github.com/BluTac10/Xbox-Neo.git
synced 2026-05-22 19:05:04 +00:00
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.
27 lines
655 B
C++
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;
|
|
}; |