26class Horse :
public ::Animal {
34 virtual ~Horse() =
default;
38 virtual void setHorseEating(
bool state);
40 virtual float getStandAnim(
float a)
const;
42 virtual bool isHorseEating()
const;
44 virtual bool isMouthOpen()
const;
46 virtual void setStanding(
bool value) ;
48 virtual void onFailedTame() ;
50 virtual void makeMad();
52 virtual ::ActorUniqueID getControllingPlayer()
const ;
54 virtual bool tameToPlayer(
::Player& player,
bool tamingParticles);
56 virtual void onSynchedDataUpdate(
int dataId) ;
58 virtual void openContainerComponent(
::Player& player) ;
60 virtual ::Vec3 getInterpolatedRidingOffset(
float a,
int const)
const ;
62 virtual float getShadowRadius()
const ;
64 virtual void feed(
int itemId) ;
66 virtual bool canFreeze()
const ;
68 virtual bool isImmobile()
const ;
70 virtual float causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source) ;
72 virtual ::ActorHurtResult
87 MCAPI
void _setHorseFlag(::HorseFlags flag,
bool shouldAddFlag);
89 MCAPI
void openMouth();
91 MCAPI
void postAiStep();
93 MCAPI
void postNormalTick();
99 MCAPI static ::Vec3 getInterpolatedRidingOffset(
121 MCAPI
void $setHorseEating(
bool state);
123 MCAPI
float $getStandAnim(
float a)
const;
125 MCAPI
bool $isHorseEating()
const;
127 MCAPI
bool $isMouthOpen()
const;
129 MCAPI
void $setStanding(
bool value);
131 MCAPI
void $onFailedTame();
133 MCAPI
void $makeMad();
135 MCAPI ::ActorUniqueID $getControllingPlayer()
const;
137 MCAPI
bool $tameToPlayer(
::Player& player,
bool tamingParticles);
139 MCFOLD
void $onSynchedDataUpdate(
int dataId);
141 MCAPI
void $openContainerComponent(
::Player& player);
143 MCAPI ::Vec3 $getInterpolatedRidingOffset(
float a,
int const)
const;
145 MCAPI
float $getShadowRadius()
const;
147 MCAPI
void $feed(
int itemId);
149 MCAPI
bool $canFreeze()
const;
151 MCAPI
bool $isImmobile()
const;
153 MCAPI
float $causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source);
155 MCAPI ::ActorHurtResult
Definition EntityContext.h:15