33 virtual ~Horse() =
default;
39 virtual void setHorseEating(
bool state);
42 virtual float getStandAnim(
float a)
const;
45 virtual bool isHorseEating()
const;
48 virtual bool isMouthOpen()
const;
51 virtual void setStanding(
bool value) ;
54 virtual void onFailedTame() ;
57 virtual void makeMad();
60 virtual ::ActorUniqueID getControllingPlayer()
const ;
63 virtual bool tameToPlayer(
::Player& player,
bool tamingParticles);
66 virtual void onSynchedDataUpdate(
int dataId) ;
69 virtual void openContainerComponent(
::Player& player) ;
72 virtual ::Vec3 getInterpolatedRidingOffset(
float a,
int const)
const ;
75 virtual float getShadowRadius()
const ;
78 virtual void feed(
int itemId) ;
81 virtual bool canFreeze()
const ;
84 virtual bool isImmobile()
const ;
87 virtual float causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source) ;
105 MCAPI
bool _getHorseFlag(::HorseFlags flag)
const;
107 MCAPI
void _setHorseFlag(::HorseFlags flag,
bool shouldAddFlag);
109 MCAPI
bool _setHorseType(::ActorType actorType);
111 MCAPI
void postAiStep();
113 MCAPI
void postNormalTick();
120 getInterpolatedRidingOffset(
::Vec2 const& renderRot,
float standAnimO,
float standAnim,
float alpha);
140 MCAPI
void $setHorseEating(
bool state);
142 MCAPI
float $getStandAnim(
float a)
const;
144 MCAPI
bool $isHorseEating()
const;
146 MCAPI
bool $isMouthOpen()
const;
148 MCAPI
void $setStanding(
bool value);
150 MCAPI
void $onFailedTame();
152 MCAPI
void $makeMad();
154 MCAPI ::ActorUniqueID $getControllingPlayer()
const;
156 MCAPI
bool $tameToPlayer(
::Player& player,
bool tamingParticles);
158 MCFOLD
void $onSynchedDataUpdate(
int dataId);
160 MCAPI
void $openContainerComponent(
::Player& player);
162 MCAPI ::Vec3 $getInterpolatedRidingOffset(
float a,
int const)
const;
164 MCAPI
float $getShadowRadius()
const;
166 MCAPI
void $feed(
int itemId);
168 MCAPI
bool $canFreeze()
const;
170 MCAPI
bool $isImmobile()
const;
172 MCAPI
float $causeFallDamageToActor(
float fallDistance,
float multiplier,
::ActorDamageSource source);
Definition EntityContext.h:16