29 virtual ~Horse() =
default;
35 virtual void setHorseEating(
bool state);
38 virtual float getStandAnim(
float a)
const;
41 virtual bool isHorseEating()
const;
44 virtual bool isMouthOpen()
const;
47 virtual void setStanding(
bool value) ;
50 virtual void onFailedTame() ;
53 virtual void makeMad();
56 virtual ::ActorUniqueID getControllingPlayer()
const ;
59 virtual bool tameToPlayer(
::Player& player,
bool tamingParticles);
62 virtual void onSynchedDataUpdate(
int dataId) ;
65 virtual void openContainerComponent(
::Player& player) ;
68 virtual ::Vec3 getInterpolatedRidingOffset(
float a,
int const)
const ;
71 virtual float getShadowRadius()
const ;
74 virtual void feed(
int itemId) ;
77 virtual bool canFreeze()
const ;
80 virtual bool isImmobile()
const ;
83 virtual float causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source) ;
101 MCAPI
bool _getHorseFlag(::HorseFlags flag)
const;
103 MCAPI
void _setHorseFlag(::HorseFlags flag,
bool shouldAddFlag);
105 MCAPI
bool _setHorseType(::ActorType actorType);
107 MCAPI
void postAiStep();
109 MCAPI
void postNormalTick();
116 getInterpolatedRidingOffset(
::Vec2 const& renderRot,
float standAnimO,
float standAnim,
float alpha);
142 MCAPI
void $setHorseEating(
bool state);
144 MCAPI
float $getStandAnim(
float a)
const;
146 MCAPI
bool $isHorseEating()
const;
148 MCAPI
bool $isMouthOpen()
const;
150 MCAPI
void $setStanding(
bool value);
152 MCAPI
void $onFailedTame();
154 MCAPI
void $makeMad();
156 MCAPI ::ActorUniqueID $getControllingPlayer()
const;
158 MCAPI
bool $tameToPlayer(
::Player& player,
bool tamingParticles);
160 MCFOLD
void $onSynchedDataUpdate(
int dataId);
162 MCAPI
void $openContainerComponent(
::Player& player);
164 MCAPI ::Vec3 $getInterpolatedRidingOffset(
float a,
int const)
const;
166 MCAPI
float $getShadowRadius()
const;
168 MCAPI
void $feed(
int itemId);
170 MCAPI
bool $canFreeze()
const;
172 MCAPI
bool $isImmobile()
const;
174 MCAPI
float $causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source);
184 MCAPI
static void** $vftable();
Definition EntityContext.h:16