Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
20 lines
448 B
C++
20 lines
448 B
C++
#pragma once
|
|
|
|
#include "Spider.h"
|
|
|
|
class CaveSpider : public Spider
|
|
{
|
|
public:
|
|
eINSTANCEOF GetType() { return eTYPE_CAVESPIDER; }
|
|
static Entity *create(Level *level) { return new CaveSpider(level); }
|
|
|
|
public:
|
|
CaveSpider(Level *level);
|
|
|
|
protected:
|
|
void registerAttributes();
|
|
|
|
public:
|
|
virtual bool doHurtTarget(shared_ptr<Entity> target);
|
|
MobGroupData *finalizeMobSpawn(MobGroupData *groupData, int extraData = 0); // 4J Added extraData param
|
|
}; |