25class Horse :
public ::Animal {
33 virtual ~Horse() =
default;
37 virtual void setHorseEating(
bool state);
39 virtual float getStandAnim(
float a)
const;
41 virtual bool isHorseEating()
const;
43 virtual bool isMouthOpen()
const;
45 virtual void setStanding(
bool value) ;
47 virtual void onFailedTame() ;
49 virtual void makeMad();
51 virtual ::ActorUniqueID getControllingPlayer()
const ;
53 virtual bool tameToPlayer(
::Player& player,
bool tamingParticles);
55 virtual void onSynchedDataUpdate(
int dataId) ;
57 virtual void openContainerComponent(
::Player& player) ;
59 virtual ::Vec3 getInterpolatedRidingOffset(
float a,
int const)
const ;
61 virtual float getShadowRadius()
const ;
63 virtual void feed(
int itemId) ;
65 virtual bool canFreeze()
const ;
67 virtual bool isImmobile()
const ;
69 virtual float causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source) ;
71 virtual ::ActorHurtResult _hurt(
::ActorDamageSource const& source,
float dmg,
bool knock,
bool ignite) ;
85 MCAPI
bool _getHorseFlag(::HorseFlags flag)
const;
87 MCAPI
void _setHorseFlag(::HorseFlags flag,
bool shouldAddFlag);
89 MCAPI
bool _setHorseType(::ActorType actorType);
91 MCAPI
void openMouth();
93 MCAPI
void postAiStep();
95 MCAPI
void postNormalTick();
102 getInterpolatedRidingOffset(
::Vec2 const& renderRot,
float standAnimO,
float standAnim,
float alpha);
122 MCAPI
void $setHorseEating(
bool state);
124 MCAPI
float $getStandAnim(
float a)
const;
126 MCAPI
bool $isHorseEating()
const;
128 MCAPI
bool $isMouthOpen()
const;
130 MCAPI
void $setStanding(
bool value);
132 MCAPI
void $onFailedTame();
134 MCAPI
void $makeMad();
136 MCAPI ::ActorUniqueID $getControllingPlayer()
const;
138 MCAPI
bool $tameToPlayer(
::Player& player,
bool tamingParticles);
140 MCFOLD
void $onSynchedDataUpdate(
int dataId);
142 MCAPI
void $openContainerComponent(
::Player& player);
144 MCAPI ::Vec3 $getInterpolatedRidingOffset(
float a,
int const)
const;
146 MCAPI
float $getShadowRadius()
const;
148 MCAPI
void $feed(
int itemId);
150 MCAPI
bool $canFreeze()
const;
152 MCAPI
bool $isImmobile()
const;
154 MCAPI
float $causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source);
156 MCAPI ::ActorHurtResult $_hurt(
::ActorDamageSource const& source,
float dmg,
bool knock,
bool ignite);
166 MCAPI
static void** $vftable();
Definition EntityContext.h:16