33 enum class EAxis :
int {
43 ::ll::TypedStorage<1, 1, bool> mWasOnGround;
44 ::ll::TypedStorage<1, 1, bool> mNoPhysics;
45 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwnerId;
46 ::ll::TypedStorage<4, 12, ::Vec3> mThrownPos;
47 ::ll::TypedStorage<4, 12, ::Vec3> mApexPos;
48 ::ll::TypedStorage<1, 1, bool> mFoundApex;
49 ::ll::TypedStorage<4, 4, int> mLife;
50 ::ll::TypedStorage<4, 4, int> mFlightTime;
51 ::ll::TypedStorage<4, 4, int> mOnGroundTime;
52 ::ll::TypedStorage<4, 4, int> mShakeTime;
53 ::ll::TypedStorage<4, 12, ::BlockPos> mBlock;
54 ::ll::TypedStorage<4, 12, ::BlockPos> mStuckToBlockPos;
55 ::ll::TypedStorage<4, 12, ::Vec3> mCollisionPos;
56 ::ll::TypedStorage<4, 4, int> mEnchantPower;
57 ::ll::TypedStorage<4, 4, int> mEnchantImpaler;
58 ::ll::TypedStorage<8, 112, ::HitResult> mHitResult;
59 ::ll::TypedStorage<1, 1, uchar> mHitFacing;
60 ::ll::TypedStorage<1, 1, bool> mReflect;
61 ::ll::TypedStorage<4, 4, int> mReflectImmunityTicks;
62 ::ll::TypedStorage<4, 4, float> mPower;
63 ::ll::TypedStorage<4, 4, float> mDamage;
64 ::ll::TypedStorage<4, 12, ::Vec3> mOffset;
65 ::ll::TypedStorage<4, 4, ::ParticleType> mHitParticle;
66 ::ll::TypedStorage<4, 4, float> mGravity;
67 ::ll::TypedStorage<4, 4, float> mUpwardsAngleOffset;
68 ::ll::TypedStorage<8, 24, ::std::vector<::OnHitSubcomponent*>> mOnHitCommands;
69 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnHitEvent;
70 ::ll::TypedStorage<4, 4, float> mUncertaintyBase;
71 ::ll::TypedStorage<4, 4, float> mUncertaintyMultiplier;
72 ::ll::TypedStorage<4, 4, ::ActorType> mFilterType;
73 ::ll::TypedStorage<4, 4, float> mOnFireTime;
74 ::ll::TypedStorage<4, 4, int> mPotionEffect;
75 ::ll::TypedStorage<4, 4, float> mSplashRange;
76 ::ll::TypedStorage<1, 1, bool> mKnockback;
77 ::ll::TypedStorage<4, 4, float> mKnockbackForce;
78 ::ll::TypedStorage<1, 1, bool> mCatchFire;
79 ::ll::TypedStorage<1, 1, bool> mChanneling;
80 ::ll::TypedStorage<1, 1, bool> mIsSplash;
81 ::ll::TypedStorage<4, 4, float> mInertiaMod;
82 ::ll::TypedStorage<4, 4, float> mLiquidInertia;
83 ::ll::TypedStorage<1, 1, bool> mSemiRandomDiffDamage;
84 ::ll::TypedStorage<4, 4, ::ProjectileAnchor> mSpawnPosAnchor;
85 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mHitEntitySound;
86 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mHitGroundSound;
87 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mShootSound;
88 ::ll::TypedStorage<1, 1, bool> mIsDangerous;
89 ::ll::TypedStorage<1, 1, bool> mShootTarget;
90 ::ll::TypedStorage<1, 1, bool> mDamageOwner;
91 ::ll::TypedStorage<1, 1, bool> mReflectOnHurt;
92 ::ll::TypedStorage<1, 1, bool> mDestroyOnHurt;
93 ::ll::TypedStorage<1, 1, bool> mStopOnHurt;
94 ::ll::TypedStorage<1, 1, bool> mCritParticleOnHurt;
95 ::ll::TypedStorage<1, 1, bool> mHitWater;
96 ::ll::TypedStorage<1, 1, bool> mHitActor;
97 ::ll::TypedStorage<1, 1, bool> mMultipleHits;
98 ::ll::TypedStorage<4, 4, int> mPiercingEnchantLevel;
99 ::ll::TypedStorage<4, 4, int> mActorHitCount;
100 ::ll::TypedStorage<8, 24, ::std::vector<::ActorType>> mIgnoredEntities;
101 ::ll::TypedStorage<1, 1, bool> mHitNearestPassenger;
102 ::ll::TypedStorage<1, 1, bool> mIsHoming;
103 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mPendingTargetID;
104 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mTarget;
105 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetID;
106 ::ll::TypedStorage<4, 12, ::Vec3> mTargetDelta;
107 ::ll::TypedStorage<4, 4, int> mFlightSteps;
108 ::ll::TypedStorage<4, 4, ::ProjectileComponent::EAxis> mCurrentMoveDirection;
109 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastReflectActor;
110 ::ll::TypedStorage<1, 1, bool> mShouldBounce;
111 ::ll::TypedStorage<4, 4, uint> mCurrentDelay;
112 ::ll::TypedStorage<1, 1, bool> mWaitingForServer;
113 ::ll::TypedStorage<1, 1, bool> mWaitingForServerHitGround;
114 ::ll::TypedStorage<8, 112, ::HitResult> mCachedHitResult;
115 ::ll::TypedStorage<1, 1, bool> mDelayOneFrame;
131 MCAPI ::std::tuple<::BlockPos, float>
134 MCAPI
void _handleLightningOnHit(
::Actor& owner);
136 MCAPI
void _selectNextMoveDirection(
::Actor const& owner, ::ProjectileComponent::EAxis avoidAxis);
142 MCAPI ::HitResult getCachedHitResult()
const;
144 MCAPI ::HitResult getHitResult()
const;
146 MCAPI ::Vec3 getShooterAngle(
::Actor& shooter)
const;
148 MCAPI
float getUncertainty(::SharedTypes::Legacy::Difficulty diff)
const;
150 MCAPI
void handleMovementGravity(
::Actor& owner);
152 MCAPI
void handleMovementHoming(
::Actor& owner);
156 MCAPI
void initFromDefinition(
::Actor& owner);
179 MCAPI static ::Vec2 dampenShooterAngle(
::Vec2 const& angle,
float angleOffset,
::BaseGameVersion const& currVer);
185 MCAPI
static uint
const& DELAY_ON_HIT();