mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-24 05:52:19 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "Cow.h"
|
||||
|
||||
class MushroomCow : public Cow
|
||||
{
|
||||
public:
|
||||
eINSTANCEOF GetType() { return eTYPE_MUSHROOMCOW; }
|
||||
static Entity *create(Level *level) { return new MushroomCow(level); }
|
||||
|
||||
public:
|
||||
MushroomCow(Level *level);
|
||||
|
||||
virtual bool mobInteract(shared_ptr<Player> player);
|
||||
virtual bool canSpawn(); // 4J added
|
||||
virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
|
||||
};
|
||||
Reference in new issue
Block a user