21class FishingHook :
public ::Actor {
25 ::ll::TypedStorage<4, 4, float const> SHOOT_SPEED;
26 ::ll::TypedStorage<4, 4, float const> SHOOT_POWER;
27 ::ll::TypedStorage<4, 4, int const> NUM_PERCENTAGE_STEPS;
28 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
29 ::ll::TypedStorage<4, 4, float> mBobTimer;
30 ::ll::TypedStorage<4, 4, float> mFishAngle;
31 ::ll::TypedStorage<4, 4, int> mLife;
32 ::ll::TypedStorage<4, 4, int> mFlightTime;
33 ::ll::TypedStorage<4, 4, int> mTimeUntilHooked;
34 ::ll::TypedStorage<4, 4, int> mTimeUntilLured;
35 ::ll::TypedStorage<4, 4, int> mTimeUntilNibble;
36 ::ll::TypedStorage<4, 4, int> mFishingSpeed;
37 ::ll::TypedStorage<1, 1, bool> mInGround;
47 virtual ~FishingHook() =
default;
49 virtual void remove() ;
51 virtual void handleEntityEvent(::ActorEvent eventId,
int data) ;
53 virtual float getShadowRadius()
const ;
55 virtual ::ActorUniqueID getSourceUniqueID()
const ;
57 virtual bool shouldDropDeathLoot()
const ;
71 MCAPI
void _fishPosEvent();
73 MCAPI
void _fishTeaseEvent();
75 MCAPI
void _fishhookEvent();
77 MCAPI
int _getServerFishSpeed();
79 MCAPI
float _getWaterPercentage();
81 MCAPI ::HitResult _hitCheck();
83 MCAPI
void _pullCloser(::Actor& inEntity,
float inSpeed);
85 MCAPI
bool _serverHooked();
87 MCAPI
bool _serverLured();
89 MCAPI
void _updateGravity();
91 MCAPI ::Actor* getFishingTarget();
93 MCAPI ::Actor* getOwner();
95 MCAPI
void postNormalTick();
103 MCAPI_C
static float const& BOBBER_SIZE();
119 MCAPI
void $remove();
121 MCAPI
void $handleEntityEvent(::ActorEvent eventId,
int data);
123 MCFOLD
float $getShadowRadius()
const;
125 MCFOLD ::ActorUniqueID $getSourceUniqueID()
const;
127 MCFOLD
bool $shouldDropDeathLoot()
const;
137 MCAPI
static void** $vftable();
Definition EntityContext.h:16