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 isImmobile()
const ;
68 virtual float causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source) ;
70 virtual ::ActorHurtResult
85 MCAPI
void _setHorseFlag(::HorseFlags flag,
bool shouldAddFlag);
87 MCAPI
void openMouth();
89 MCAPI
void postAiStep();
91 MCAPI
void postNormalTick();
97 MCAPI static ::Vec3 getInterpolatedRidingOffset(
119 MCAPI
void $setHorseEating(
bool state);
121 MCAPI
float $getStandAnim(
float a)
const;
123 MCAPI
bool $isHorseEating()
const;
125 MCAPI
bool $isMouthOpen()
const;
127 MCAPI
void $setStanding(
bool value);
129 MCAPI
void $onFailedTame();
131 MCAPI
void $makeMad();
133 MCAPI ::ActorUniqueID $getControllingPlayer()
const;
135 MCAPI
bool $tameToPlayer(
::Player& player,
bool tamingParticles);
137 MCFOLD
void $onSynchedDataUpdate(
int dataId);
139 MCAPI
void $openContainerComponent(
::Player& player);
141 MCAPI ::Vec3 $getInterpolatedRidingOffset(
float a,
int const)
const;
143 MCAPI
float $getShadowRadius()
const;
145 MCAPI
void $feed(
int itemId);
147 MCAPI
bool $isImmobile()
const;
149 MCAPI
float $causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source);
151 MCAPI ::ActorHurtResult
Definition EntityContext.h:15