mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-16 02:50:39 +00:00
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.
This commit is contained in:
29
Minecraft.Client/RabbitModel.h
Normal file
29
Minecraft.Client/RabbitModel.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include "Model.h"
|
||||
|
||||
class RabbitModel : public Model
|
||||
{
|
||||
private:
|
||||
ModelPart *head;
|
||||
ModelPart *nose;
|
||||
ModelPart *leftEar;
|
||||
ModelPart *rightEar;
|
||||
|
||||
ModelPart *body;
|
||||
ModelPart *tail;
|
||||
ModelPart *leftFrontLeg;
|
||||
ModelPart *rightFrontLeg;
|
||||
|
||||
ModelPart *leftHindThigh;
|
||||
ModelPart *leftHindFoot;
|
||||
ModelPart *rightHindThigh;
|
||||
ModelPart *rightHindFoot;
|
||||
|
||||
public:
|
||||
RabbitModel();
|
||||
|
||||
virtual void render(shared_ptr<Entity> entity,
|
||||
float time, float r, float bob,
|
||||
float yRot, float xRot,
|
||||
float scale, bool usecompiled) override;
|
||||
};
|
||||
Reference in New Issue
Block a user