4jcraft/targets/minecraft/world/entity/animal/WaterAnimal.h

22 lines
501 B
C++

#pragma once
#include "minecraft/world/entity/Creature.h"
#include "minecraft/world/entity/PathfinderMob.h"
class Player;
class Level;
class WaterAnimal : public PathfinderMob, public Creature {
public:
WaterAnimal(Level* level);
virtual bool isWaterMob();
virtual bool canSpawn();
virtual int getAmbientSoundInterval();
protected:
virtual bool removeWhenFarAway();
virtual int getExperienceReward(std::shared_ptr<Player> killedBy);
public:
virtual void baseTick();
};