Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Actor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/actor/ActorFlags.h"
5#include "mc/world/level/dimension/DimensionType.h"
6
7// auto generated inclusion list
8#include "mc/deps/core/math/Color.h"
9#include "mc/deps/core/math/Vec3.h"
10#include "mc/deps/core/string/HashedString.h"
11#include "mc/deps/core/utility/optional_ref.h"
12#include "mc/deps/ecs/gamerefs_entity/EntityContext.h"
13#include "mc/deps/game_refs/StackRefResult.h"
14#include "mc/deps/game_refs/WeakRef.h"
15#include "mc/deps/input/InputMode.h"
16#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
17#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
18#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
19#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
20#include "mc/deps/shared_types/legacy/actor/ArmorSlot.h"
21#include "mc/deps/shared_types/v1_26_20/block/MaterialType.h"
22#include "mc/input/NewInteractionModel.h"
23#include "mc/legacy/ActorUniqueID.h"
24#include "mc/platform/brstd/bitset.h"
25#include "mc/platform/brstd/flat_map.h"
26#include "mc/server/commands/CommandPermissionLevel.h"
27#include "mc/util/MolangVariableMap.h"
28#include "mc/util/VariantParameterList.h"
29#include "mc/world/actor/ActorCategory.h"
30#include "mc/world/actor/ActorDefinitionPtr.h"
31#include "mc/world/actor/ActorEvent.h"
32#include "mc/world/actor/ActorInitializationMethod.h"
33#include "mc/world/actor/ActorResetRule.h"
34#include "mc/world/actor/ActorSwingSource.h"
35#include "mc/world/actor/ActorTerrainInterlockData.h"
36#include "mc/world/actor/ActorType.h"
37#include "mc/world/actor/ActorVersion.h"
38#include "mc/world/actor/ArmorMaterialType.h"
39#include "mc/world/actor/BuiltInActorComponents.h"
40#include "mc/world/actor/SpawnRuleEnum.h"
41#include "mc/world/actor/SynchedActorDataEntityWrapper.h"
42#include "mc/world/actor/animation/AnimationComponentGroupType.h"
43#include "mc/world/item/HandSlot.h"
44#include "mc/world/item/ItemUseMethod.h"
45#include "mc/world/level/ShapeType.h"
46
47// auto generated forward declare list
48// clang-format off
49class AABB;
50class ActionEvent;
51class ActionQueue;
56class ActorHurtResult;
57class ActorRuntimeID;
59class Attribute;
62class Block;
63class BlockPos;
64class BlockSource;
66class CompoundTag;
67class DataLoadHelper;
68class Dimension;
70class EntityRegistry;
71class FishingHook;
74class ILevel;
75class Interaction;
76class ItemActor;
77class ItemDescriptor;
78class ItemStack;
79class ItemStackBase;
80class LootTable;
81class Matrix;
83class Mob;
84class MobEffect;
86class Packet;
87class Player;
88class Random;
89class RenderParams;
91class RopeSystem;
96class Vec2;
98struct ActorLink;
99struct BoneCacheKey;
100struct DimensionType;
103struct EquipmentTable;
104struct HurtParameters;
105struct InterpolationPair;
109namespace Bedrock::Safety { class RedactableString; }
110namespace MovementDataExtractionUtility { class SnapshotAccessor; }
111class IOptionsReader;
112// clang-format on
113
114class Level;
115
116class Actor {
117public:
118 // Actor inner types define
119 using EntityBlockCollisionCallback =
120 ::std::function<void(::BlockSource&, ::Block const&, ::BlockPos const&, ::Actor&)>;
121
122public:
123 LLNDAPI class EntityContext& getEntityContext() { return mEntityContext; }
124 LLNDAPI class EntityContext const& getEntityContext() const { return mEntityContext; }
125
126 LLNDAPI float distanceTo(::Vec3 const& pos) const;
127
128 LLNDAPI float distanceToSqr(::Actor const& e) const;
129
130 LLNDAPI float distanceToSqr(::Vec3 const& pos) const;
131
132 LLAPI void refresh();
133
134 LLAPI optional_ref<Actor> clone(Vec3 const& pos, std::optional<DimensionType> dimId = std::nullopt) const;
135
136 LLNDAPI std::string const& getTypeName() const;
137
138 LLNDAPI class Vec3 getFeetPos() const;
139
140 LLNDAPI class Vec3 getHeadPos() const;
141
142 LLNDAPI class BlockPos getFeetBlockPos() const;
143
144 LLNDAPI bool isSimulatedPlayer() const;
145
146 LLNDAPI bool isOnGround() const;
147
148 LLAPI void setOnFire(int time, bool hasEffect = true);
149 LLAPI void stopFire();
150
151 LLNDAPI Vec3 getVelocity() const;
152 LLNDAPI float getPosDeltaPerSecLength() const;
153
154 LLAPI bool hurtByCause(
155 float damage,
156 ::SharedTypes::Legacy::ActorDamageCause cause = ::SharedTypes::Legacy::ActorDamageCause::Override,
157 optional_ref<Actor> attacker = std::nullopt
158 );
159
160 LLNDAPI class HitResult traceRay(
161 float tMax = 5.5f,
162 bool includeActor = true,
163 bool includeBlock = true,
164 std::function<bool(class BlockSource const&, class Block const&, bool)> const& blockCheckFunction =
165 [](auto&&...) -> bool { return true; }
166 ) const;
167
168 LLAPI void teleport(class Vec3 const& pos, DimensionType dimId, class Vec2 const& rotation);
169 LLAPI void teleport(class Vec3 const& pos, DimensionType dimId);
170
171 LLAPI void setName(std::string const& name);
172
173 LLNDAPI float evalMolang(std::string const& expression);
174
175 LLNDAPI AABB const& getAABB() const { return mBuiltInComponents->mAABBShapeComponent->mAABB; }
176
177 LLAPI static ::Actor* tryGetFromEntity(::EntityContext& entity, bool includeRemoved);
178
179 [[nodiscard]] Level& getLevel() const { return *reinterpret_cast<Level*>(mLevel); }
180
181 [[nodiscard]] Vec3 const& getPosition() const { return mBuiltInComponents->mStateVectorComponent->mPos; }
182
183 [[nodiscard]] Vec3 const& getPosDelta() const { return mBuiltInComponents->mStateVectorComponent->mPosDelta; }
184
185 [[nodiscard]] Vec2 const& getRotation() const { return mBuiltInComponents->mActorRotationComponent->mRot; }
186
187 [[nodiscard]] bool hasCategory(ActorCategory category) const { return (mCategories & category) == category; }
188
189 LLNDAPI ::DimensionType getDimensionId() const;
190
191 [[nodiscard]] inline bool isType(::ActorType type) const { return getEntityTypeId() == type; }
192
193 LLNDAPI bool isPlayer() const;
194
195 [[nodiscard]] inline bool isClientSide() const { return !mLevel; }
196
197 LLNDAPI bool isTouchingDamageBlock() const;
198
199 LLNDAPI int getHealth() const;
200
201 LLNDAPI int getMaxHealth() const;
202
203 LLNDAPI bool isInWorld() const;
204
205 LLNDAPI ItemStack const& getArmor(::SharedTypes::Legacy::ArmorSlot slot) const;
206
207 LLNDAPI bool getStatusFlag(::ActorFlags flag) const;
208
209 LLNDAPI bool isOnHotBlock() const;
210
211 [[nodiscard]] bool isSwimming() const { return getStatusFlag(::ActorFlags::Swimming); }
212 [[nodiscard]] bool isMoving() const { return getStatusFlag(::ActorFlags::Moving); }
213 [[nodiscard]] bool isSprinting() const { return getStatusFlag(::ActorFlags::Sprinting); }
214 [[nodiscard]] bool isSneaking() const { return getStatusFlag(::ActorFlags::Sneaking); }
215 [[nodiscard]] bool isCrawling() const { return getStatusFlag(::ActorFlags::Crawling); }
216 [[nodiscard]] bool isGliding() const { return getStatusFlag(::ActorFlags::Gliding); }
217 [[nodiscard]] bool isDancing() const { return getStatusFlag(::ActorFlags::Dancing); }
218 [[nodiscard]] bool canFly() const { return getStatusFlag(::ActorFlags::Canfly); }
219 [[nodiscard]] bool isHurt() const {
220 if (auto health = getHealth(); health > 0 && health < getMaxHealth()) {
221 return true;
222 } else {
223 return false;
224 }
225 }
226
227 LLNDAPI ::ItemStack const& getOffhandSlot() const;
228
229 LLNDAPI bool isDead() const;
230
231 LLNDAPI ::ItemStack const& getEquippedSlot(::SharedTypes::Legacy::EquipmentSlot slot) const;
232
233public:
234 // member variables
235 // NOLINTBEGIN
236 ::ll::TypedStorage<8, 24, ::EntityContext> mEntityContext;
237 ::ll::TypedStorage<8, 80, ::VariantParameterList> mInitParams;
238 ::ll::TypedStorage<8, 32, ::std::string> mCustomInitEventName;
239 ::ll::TypedStorage<1, 1, ::ActorInitializationMethod> mInitMethod;
240 ::ll::TypedStorage<1, 1, bool> mForceInitMethodToSpawnOnReload;
241 ::ll::TypedStorage<1, 1, bool> mAdded;
242 ::ll::TypedStorage<8, 8, ::ActorDefinitionGroup*> mDefinitions;
243 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionDescriptor>> mCurrentDescription;
244 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::RopeSystem>> mLeashRopeSystem;
245 ::ll::TypedStorage<8, 32, ::std::string> mAlias;
246 ::ll::TypedStorage<4, 68, ::std::optional<::glm::mat4x4>> mPreviousRenderTransform;
247 ::ll::TypedStorage<4, 4, int> mLastHurtByPlayerTime;
248 ::ll::TypedStorage<
249 8,
250 48,
253 ::Matrix,
254 ::std::less<::BoneCacheKey>,
255 ::std::vector<::BoneCacheKey>,
256 ::std::vector<::Matrix>>>
257 mPreviousBoneMatrices;
258 ::ll::TypedStorage<8, 48, ::SynchedActorDataEntityWrapper> mEntityData;
259 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SpatialActorNetworkData>> mNetworkData;
260 ::ll::TypedStorage<4, 12, ::Vec3> mSentDelta;
261 ::ll::TypedStorage<4, 4, float> mScale;
262 ::ll::TypedStorage<4, 4, float> mScalePrev;
263 ::ll::TypedStorage<1, 1, bool> mIgnoreLighting;
264 ::ll::TypedStorage<1, 1, bool> mFilterLighting;
265 ::ll::TypedStorage<4, 4, float> mStepSoundVolume;
266 ::ll::TypedStorage<4, 4, float> mStepSoundPitch;
267 ::ll::TypedStorage<8, 8, ::AABB*> mLastHitBB;
268 ::ll::TypedStorage<8, 8, uint64> mNameTagHash;
269 ::ll::TypedStorage<4, 4, float> mShadowOffset;
270 ::ll::TypedStorage<4, 4, float> mPushThrough;
271 ::ll::TypedStorage<4, 4, int> mTickCount;
272 ::ll::TypedStorage<4, 4, int> mInvulnerableTime;
273 ::ll::TypedStorage<4, 4, int> mLastHealth;
274 ::ll::TypedStorage<1, 1, bool> mInvulnerable;
275 ::ll::TypedStorage<4, 4, int> mFlameTexFrameIndex;
276 ::ll::TypedStorage<4, 4, float> mFlameFrameIncrementTime;
277 ::ll::TypedStorage<1, 1, bool> mAlwaysFireImmune;
278 ::ll::TypedStorage<1, 1, bool> mInheritRotationWhenRiding;
279 ::ll::TypedStorage<1, 1, bool> mForcedLoading;
280 ::ll::TypedStorage<1, 1, bool> mHighlightedThisFrame;
281 ::ll::TypedStorage<1, 1, bool> mInitialized;
282 ::ll::TypedStorage<1, 1, bool> mProcessedOnChunkDiscard;
283 ::ll::TypedStorage<4, 4, float> mSoundVolume;
284 ::ll::TypedStorage<4, 4, int> mShakeTime;
285 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLegacyUniqueID;
286 ::ll::TypedStorage<8, 16, ::WeakRef<::Dimension>> mDimension;
287 ::ll::TypedStorage<8, 8, ::ILevel*> mLevel;
288 ::ll::TypedStorage<8, 48, ::HashedString> mActorRendererId;
289 ::ll::TypedStorage<4, 4, ::ActorCategory> mCategories;
290 ::ll::TypedStorage<4, 4, ::ActorVersion> mVersion;
291 ::ll::TypedStorage<8, 24, ::BuiltInActorComponents> mBuiltInComponents;
292 ::ll::TypedStorage<8, 48, ::HashedString> mActorRendererIdThatAnimationComponentWasInitializedWith;
293 ::ll::TypedStorage<1, 1, bool> mChanged;
294 ::ll::TypedStorage<1, 1, bool> mRemoved;
295 ::ll::TypedStorage<1, 1, bool> mMovedToLimbo;
296 ::ll::TypedStorage<1, 1, bool> mMovedToUnloadedChunk;
297 ::ll::TypedStorage<1, 1, bool> mBlocksBuilding;
298 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AnimationComponent>> mAnimationComponent;
299 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AnimationComponent>> mUIAnimationComponent;
300 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetId;
301 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mInLovePartner;
302 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mPersistingTradeOffers;
303 ::ll::TypedStorage<4, 4, int> mPersistingTradeRiches;
304 ::ll::TypedStorage<1, 1, bool> mPersistingTrade;
305 ::ll::TypedStorage<1, 1, bool> mEffectsDirty;
306 ::ll::TypedStorage<1, 1, bool> mLootDropped;
307 ::ll::TypedStorage<1, 1, bool> mLoadedFromNBTThisFrame;
308 ::ll::TypedStorage<4, 16, ::mce::Color> mHurtColor;
309 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionDiffList>> mDefinitionList;
310 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mLoadedActorPropertyTag;
311 ::ll::TypedStorage<8, 16, ::ActorDefinitionPtr> mActorDefinitionPtr;
312 ::ll::TypedStorage<8, 32, ::std::string> mFilteredNameTag;
313 ::ll::TypedStorage<8, 24, ::ActorTerrainInterlockData> mTerrainInterlockData;
314 ::ll::TypedStorage<1, 1, bool> mWasHurtThisTick;
315 ::ll::TypedStorage<1, 1, bool> mWasHurtLastTick;
316 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtMobId;
317 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtByMobId;
318 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtByPlayerId;
319 ::ll::TypedStorage<8, 8, uint64> mLastHurtTimestamp;
320 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::ActorDamageCause> mLastHurtCause;
321 ::ll::TypedStorage<4, 4, float> mLastHurt;
322 ::ll::TypedStorage<4, 4, int> mLastHurtMobTimestamp;
323 ::ll::TypedStorage<4, 4, int> mLastHurtByMobTime;
324 ::ll::TypedStorage<4, 4, int> mLastHurtByMobTimestamp;
325 ::ll::TypedStorage<1, 1, bool> mIsPredictableProjectile;
326 ::ll::TypedStorage<1, 1, bool> mIsRenderingInUI;
327#ifdef LL_PLAT_C
328 ::ll::TypedStorage<1, 1, bool> mIsOnScreen;
329 ::ll::TypedStorage<1, 1, bool> mUpdateBonesAndEffects;
330#endif
331 ::ll::TypedStorage<1, 1, bool> mUpdateEffects;
332 ::ll::TypedStorage<1, 1, bool> mCanPickupItems;
333 ::ll::TypedStorage<1, 1, bool> mHasSetCanPickupItems;
334 ::ll::TypedStorage<1, 1, bool> mChainedDamageEffects;
335 ::ll::TypedStorage<4, 4, int> mAffectedByWaterBottleTicksToEffect;
336 ::ll::TypedStorage<4, 4, ::SpawnRuleEnum> mSpawnRulesEnum;
337 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActionQueue>> mActionQueue;
338 ::ll::TypedStorage<8, 56, ::MolangVariableMap> mMolangVariables;
339 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mFishingHookID;
340 // NOLINTEND
341
342public:
343 // prevent constructor by default
344 Actor();
345
346public:
347 // virtual functions
348 // NOLINTBEGIN
349 virtual bool hasComponent(::HashedString const& name) const;
350
351 virtual void outOfWorld();
352
353 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
354
355 virtual void reloadHardcodedClient(::ActorInitializationMethod method);
356
357 virtual void initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
358
359 virtual void reloadComponents(::ActorInitializationMethod, ::VariantParameterList const&);
360
361 virtual void _serverInitItemStackIds();
362
363 virtual void _doInitialMove();
364
365 virtual ~Actor();
366
367 virtual void resetUserPos(::ActorResetRule resetRule);
368
369 virtual ::ActorType getOwnerEntityType();
370
371 virtual void remove();
372
373 virtual ::Vec3 getFiringPos() const;
374
375 virtual float getInterpolatedBodyRot(float a = 0.0f) const;
376
377 virtual float getInterpolatedHeadRot(float a = 0.0f) const;
378
379 virtual float getInterpolatedBodyYaw(float a = 0.0f) const;
380
381 virtual float getYawSpeedInDegreesPerSecond() const;
382
383 virtual ::Vec3 getInterpolatedRidingOffset(float, int const) const;
384
385 virtual bool isFireImmune() const;
386
387 virtual void blockedByShield(::ActorDamageSource const& source, ::Actor& blocker);
388
389 virtual bool canDisableShield();
390
391 virtual void
392 teleportTo(::Vec3 const& pos, bool shouldStopRiding, int cause, int sourceEntityType, bool keepVelocity);
393
394 virtual void lerpMotion(::Vec3 const& delta);
395
396 virtual ::std::unique_ptr<::Packet> tryCreateAddActorPacket();
397
398 virtual void normalTick();
399
400 virtual void baseTick();
401
402 virtual void passengerTick();
403
404 virtual bool startRiding(::Actor& vehicle, bool forceRiding);
405
406 virtual void addPassenger(::Actor& passenger);
407
408 virtual ::std::string getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const;
409
410 virtual ::std::string getEntityLocNameString() const;
411
412 virtual bool isInvisible() const;
413
414 virtual bool canShowNameTag() const;
415
416 virtual ::mce::Color getNameTagTextColor() const;
417
418 virtual float getShadowRadius() const;
419
420 virtual ::Vec3 getHeadLookVector(float a = 0.0f) const;
421
422 virtual bool canInteractWithOtherEntitiesInGame() const;
423
424 virtual float getBrightness(float a, ::IConstBlockSource const& region) const;
425
426 virtual void playerTouch(::Player& player);
427
428 virtual bool isImmobile() const;
429
430 virtual bool isSilentObserver() const;
431
432 virtual bool isSleeping() const;
433
434 virtual void setSleeping(bool val);
435
436 virtual void setSneaking(bool value);
437
438 virtual bool isBlocking() const;
439
440 virtual bool isDamageBlocked(::ActorDamageSource const& source) const;
441
442 virtual bool isAlive() const;
443
444 virtual bool isOnFire() const;
445
446 virtual bool isSurfaceMob() const;
447
448 virtual bool isTargetable() const;
449
450 virtual void setTarget(::Actor* entity);
451
452 virtual bool isValidTarget(::Actor* attacker) const;
453
454 virtual ::ActorHurtResult attack(::Actor& target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
455
456 virtual void performRangedAttack(::Actor& target, float);
457
458 virtual void setOwner(::ActorUniqueID const ownerId);
459
460 virtual void setSitting(bool value);
461
462 virtual void onTame();
463
464 virtual void onFailedTame();
465
466 virtual void setStanding(bool value);
467
468 virtual bool canPowerJump() const;
469
470 virtual bool isEnchanted() const;
471
472 virtual void playAmbientSound();
473
474 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const;
475
476 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const;
477
478 virtual ::SharedTypes::Legacy::ActorDamageCause getBlockDamageCause(::Block const& block) const;
479
480 virtual ::ActorHurtResult doFireHurt(int amount);
481
482 virtual void onLightningHit();
483
484 virtual void feed(int itemId);
485
486 virtual void handleEntityEvent(::ActorEvent eventId, int data);
487
488 virtual ::HashedString const& getActorRendererId() const;
489
490 virtual void despawn();
491
492 virtual void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item);
493
494 virtual ::ArmorMaterialType getArmorMaterialTypeInSlot(::SharedTypes::Legacy::ArmorSlot slot) const;
495
496 virtual int getArmorTextureIndexInSlot(::SharedTypes::Legacy::ArmorSlot slot) const;
497
498 virtual float getArmorColorInSlot(::SharedTypes::Legacy::ArmorSlot slot, int channelRGBA) const;
499
500 virtual void setEquippedSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const& item);
501
502 virtual void setCarriedItem(::ItemStack const& item);
503
504 virtual ::ItemStack const& getCarriedItem() const;
505
506 virtual void setOffhandSlot(::ItemStack const& item);
507
508 virtual ::ItemStack const& getEquippedTotem() const;
509
510 virtual bool consumeTotem();
511
512 virtual bool load(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
513
514 virtual ::HashedString const& queryEntityRenderer() const;
515
516 virtual ::ActorUniqueID getSourceUniqueID() const;
517
518 virtual ::AABB getLiquidAABB(::SharedTypes::v1_26_20::MaterialType const liquidType) const;
519
520 virtual void handleInsidePortal(::BlockPos const& portalPos);
521
522 virtual bool canChangeDimensionsUsingPortal() const;
523
524 virtual void changeDimension(::DimensionType toId);
525
526#ifdef LL_PLAT_S
527 virtual void changeDimension(::ChangeDimensionPacket const&);
528#else // LL_PLAT_C
529 virtual void changeDimension(::ChangeDimensionPacket const& packet);
530#endif
531
532 virtual ::ActorUniqueID getControllingPlayer() const;
533
534 virtual float causeFallDamageToActor(float distance, float multiplier, ::ActorDamageSource source);
535
536 virtual void onSynchedDataUpdate(int dataId);
537
538 virtual bool canAddPassenger(::Actor& passenger) const;
539
540 virtual bool canPickupItem(::ItemStack const& item) const;
541
542 virtual bool canBePulledIntoVehicle() const;
543
544 virtual bool inCaravan() const;
545
546 virtual void sendMotionPacketIfNeeded();
547
548 virtual bool canSynchronizeNewEntity() const;
549
550 virtual void startSwimming();
551
552 virtual void stopSwimming();
553
554 virtual void buildDebugInfo(::std::string& out) const;
555
556 virtual ::CommandPermissionLevel getCommandPermissionLevel() const;
557
558 virtual int getDeathTime() const;
559
560 virtual bool canBeAffected(uint id) const;
561
562 virtual bool canBeAffectedByArrow(::MobEffectInstance const& effect) const;
563
564 virtual void onEffectRemoved(::MobEffectInstance& effect);
565
566 virtual bool canObstructSpawningAndBlockPlacement() const;
567
568 virtual ::AnimationComponent& getAnimationComponent();
569
570 virtual void openContainerComponent(::Player& player);
571
572 virtual bool swing(::ActorSwingSource swingSource, ::HandSlot handSlot);
573
574 virtual void useItem(::ItemStackBase& item, ::ItemUseMethod itemUseMethod, bool consumeItem);
575
576 virtual void getDebugText(::std::vector<::std::string>& outputInfo);
577
578 virtual float getMapDecorationRotation() const;
579
580 virtual float getPassengerYRotation(::Actor const& passenger) const;
581
582 virtual bool add(::ItemStack& item);
583
584 virtual bool drop(::ItemStack const& item, bool const randomly);
585
586 virtual ::Interaction getInteraction(::Player& player, ::Vec3 const& location, ::HandSlot handSlot);
587
588 virtual bool canDestroyBlock(::Block const& block) const;
589
590 virtual void setAuxValue(int aux);
591
592 virtual void renderDebugServerState(::IOptionsReader const& options);
593
594 virtual void kill();
595
596 virtual void die(::ActorDamageSource const& source);
597
598 virtual bool shouldDropDeathLoot() const;
599
600 virtual void applySnapshot(
601 ::EntityContext const& snapshotEntity,
602 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
603 );
604
605 virtual void onPush(::Actor& source);
606
607 virtual ::std::optional<::BlockPos> getLastDeathPos() const;
608
609 virtual ::std::optional<::DimensionType> getLastDeathDimension() const;
610
611 virtual bool hasDiedBefore() const;
612
613 virtual void doEnterWaterSplashEffect();
614
615 virtual void doExitWaterSplashEffect();
616
617 virtual void doWaterSplashEffect();
618
619 virtual bool _shouldProvideFeedbackOnHandContainerItemSet(::HandSlot handSlot, ::ItemStack const& item) const;
620
621 virtual bool _shouldProvideFeedbackOnArmorSet(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item) const;
622
623 virtual ::ActorHurtResult
624 _hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters);
625
626 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
627
628 virtual void addAdditionalSaveData(::CompoundTag& tag) const;
629 // NOLINTEND
630
631public:
632 // member functions
633 // NOLINTBEGIN
634 MCNAPI Actor(::ILevel& level, ::EntityContext& entityContext);
635
636 MCNAPI Actor(
637 ::ActorDefinitionGroup* definitions,
638 ::ActorDefinitionIdentifier const& definitionName,
639 ::EntityContext& entityContext
640 );
641
642 MCNAPI ::BuiltInActorComponents _addActorBuiltInComponents();
643
645
647
648 MCNAPI ::ItemActor const* _drop(::ItemStack const& item, bool randomly);
649
650 MCFOLD ::std::vector<::MobEffectInstance>& _getAllEffectsNonConst();
651
652 MCNAPI ::AnimationComponent& _getAnimationComponent(
653 ::std::shared_ptr<::AnimationComponent>& animationComponent,
654 ::AnimationComponentGroupType group
655 );
656
657 MCNAPI void _initializeMaxAutoStep(float maxAutoStep);
658
659 MCNAPI bool _isDeathLootAllowed() const;
660
661 MCNAPI void _notifyMobEffectsOnHurt(::ActorDamageSource const& source, float damage);
662
663 MCNAPI void _refreshAABB();
664
665 MCAPI void _sendDirtyActorData();
666
667 MCNAPI void _setActorTypeId(::ActorType type);
668
669 MCNAPI void _setDimensionTransitionComponent(::DimensionType fromId, ::DimensionType toId, int portalCooldown);
670
671 MCNAPI void _setHandContainerItem(::ItemStack const& item, ::HandSlot handSlot);
672
673 MCAPI void _setPos(::Vec3 const& pos);
674
676
677 MCNAPI void _updateComposition(bool reload);
678
679 MCAPI void addEffect(::MobEffectInstance const& effect);
680
681 MCAPI bool addTag(::std::string const& tag);
682
684
685 MCNAPI void buildDebugGroupInfo(::std::string& out) const;
686
687 MCAPI void burn(int damage, bool inFire);
688
689 MCAPI bool canAttack(::Actor const& entity) const;
690
692
693 MCNAPI bool canMate(::Actor const& partner) const;
694
695 MCAPI bool canReceiveMobEffectsFromGameplay() const;
696
697 MCAPI bool canSee(::Vec3 const& targetPos, ::ShapeType obstructionType) const;
698
699 MCAPI bool canSeeDaylight() const;
700
701 MCNAPI void celebrateHunt(int duration, bool special);
702
703 MCAPI void checkFallDamage(float ya, bool onGround, bool recheckLiquid);
704
705 MCNAPI void chorusFruitTeleport(::Vec3 const& range);
706
707 MCAPI bool closerThan(::Actor const& e, float distance) const;
708
709 MCAPI bool closerThan(::Actor const& e, float distanceXZ, float distanceY) const;
710
711 MCAPI void consumeItem(::ItemActor& itemActor, int count);
712
713 MCNAPI ::UpdateEquipPacket createUpdateEquipPacket(int containerID);
714
715 MCNAPI ::UpdateTradePacket createUpdateTradePacket(int containerID);
716
718
719 MCNAPI float distanceSqrToBlockPosCenter(::BlockPos const& pos) const;
720
721 MCAPI float distanceTo(::Actor const& e) const;
722
723 MCAPI void dropTowards(::ItemStack const& item, ::Vec3 towards);
724
725 MCAPI void equip(::EquipmentTable const& equipmentTable);
726
727 MCAPI void equip(::std::string const& lootTableFilePath);
728
730
731 MCNAPI float evaluateSeatRotation(::RideableComponent const& rideable, bool useVehicleRenderParams);
732
733#ifdef LL_PLAT_S
734 MCAPI bool executeEvent(::std::string const& name, ::VariantParameterList const& list);
735#endif
736
737 MCAPI void exitVehicle(bool exitFromPassenger, bool actorIsBeingDestroyed, bool wasEjectedByActivatorRail);
738
739 MCNAPI ::FishingHook* fetchFishingHook();
740
741 MCAPI ::std::vector<::DistanceSortedActor> fetchNearbyActorsSorted(::Vec3 const& distance, ::ActorType actorTypeId);
742
743#ifdef LL_PLAT_C
744 MCNAPI int getActiveEffectCount() const;
745#endif
746
747 MCAPI ::ActorDefinitionIdentifier const& getActorIdentifier() const;
748
749#ifdef LL_PLAT_C
750 MCNAPI ::Matrix getActorToWorldTransform(float frameAlpha, bool useActorRotation, ::Vec3 const& offset) const;
751#endif
752
753 MCFOLD ::std::vector<::MobEffectInstance> const& getAllEffects() const;
754
755 MCAPI ::Vec3 getAttachPos(::SharedTypes::Legacy::ActorLocation location, float alpha = 0.0f) const;
756
757 MCAPI ::AttributeInstanceConstRef getAttribute(::Attribute const& attribute) const;
758
759 MCAPI ::gsl::not_null<::BaseAttributeMap const*> getAttributes() const;
760
761#ifdef LL_PLAT_C
762 MCAPI ::gsl::not_null<::BaseAttributeMap*> getAttributes();
763#endif
764
765 MCAPI ::BlockPos getBlockPosCurrentlyStandingOn(::Actor const* actor) const;
766
767 MCNAPI ::ItemStack const& getCarriedItemInSlotPreferredBy(::ItemStack const& item) const;
768
769 MCAPI int getChestSlots() const;
770
771 MCNAPI float getCurrentSwimAmount() const;
772
773 MCAPI ::Dimension& getDimension() const;
774
775 MCFOLD ::BlockSource& getDimensionBlockSource() const;
776
777 MCFOLD ::BlockSource const& getDimensionBlockSourceConst() const;
778
779 MCAPI ::MobEffectInstance const* getEffect(::MobEffect const& effect) const;
780
781 MCAPI ::MobEffectInstance const* getEffect(uint effectId) const;
782
783 MCAPI ::ActorType getEntityTypeId() const;
784
785 MCAPI int getEquipSlots() const;
786
787 MCAPI int getEquipmentCount() const;
788
789 MCAPI ::SharedTypes::Legacy::EquipmentSlot getEquipmentSlotForItem(::ItemStack const& item) const;
790
791 MCAPI ::Vec3 getEyePos() const;
792
793 MCAPI float getFallDistance() const;
794
795#ifdef LL_PLAT_C
796 MCAPI ::std::string getFilteredNameTag() const;
797#endif
798
799 MCNAPI bool getFirstAvailableSeatPos(::Actor& potentialPassenger, ::Vec3& result) const;
800
801 MCAPI ::Actor* getFirstPassenger() const;
802
803#ifdef LL_PLAT_C
804 MCNAPI ::Block const* getInsideBlock() const;
805#endif
806
807 MCAPI ::Vec3 getInterpolatedPosition(float a = 0.0f) const;
808
809 MCNAPI ::Vec3 getInterpolatedRidingPosition(float a = 0.0f) const;
810
811 MCAPI int getInventorySize() const;
812
813 MCAPI ::ItemStack const& getItemInHandSlot(::HandSlot slot) const;
814
815 MCAPI ::ActorUniqueID getLeashHolder() const;
816
817 MCAPI uint64 getLevelTimeStamp() const;
818
819 MCAPI ::std::vector<::ActorLink> getLinks() const;
820
821 MCAPI ::LootTable* getLootTable();
822
823 MCAPI int getMarkVariant() const;
824
825 MCAPI float getMaxAutoStep() const;
826
827#ifdef LL_PLAT_C
828 MCNAPI int64 getMetadataId() const;
829#endif
830
831 MCAPI ::MutableAttributeWithContext getMutableAttribute(::Attribute const& attribute);
832
833 MCAPI ::std::string const& getNameTag() const;
834
835 MCAPI int getOnDeathExperience();
836
837 MCAPI ::DynamicProperties& getOrAddDynamicProperties();
838
839 MCAPI ::ActorUniqueID const& getOrCreateUniqueID() const;
840
841 MCAPI ::Mob* getOwner() const;
842
843 MCAPI ::ActorUniqueID const getOwnerId() const;
844
845 MCAPI int getPassengerIndex(::Actor const& passenger) const;
846
847 MCAPI ::Player* getPlayerOwner() const;
848
849 MCAPI ::Random& getRandom() const;
850
851 MCNAPI ::Bedrock::Safety::RedactableString getRedactableNameTag() const;
852
853 MCNAPI float getRidingHeight() const;
854
855 MCAPI ::ActorRuntimeID getRuntimeID() const;
856
857 MCNAPI int getStrength() const;
858
859 MCNAPI float getSwimAmount(float a) const;
860
861 MCAPI ::std::vector<::std::string> const getTags() const;
862
863 MCAPI ::MerchantRecipeList* getTradeOffers();
864
865 MCAPI int getVariant() const;
866
867 MCAPI ::Actor* getVehicle() const;
868
869 MCNAPI ::ActorRuntimeID getVehicleRuntimeID() const;
870
871 MCAPI ::Vec3 getViewVector(float a = 0.0f) const;
872
873 MCFOLD float getYHeadRot() const;
874
875#ifdef LL_PLAT_C
876 MCNAPI ::InterpolationPair getYHeadRotationsNewOld() const;
877#endif
878
879 MCAPI void handleFallDamage(float fallDistance, float multiplier, ::ActorDamageSource source);
880
881 MCNAPI void handleLeftoverFallDamage(float damage, ::ActorDamageSource source);
882
883 MCAPI bool hasAnyEffects() const;
884
885 MCAPI bool hasDimension() const;
886
887 MCAPI bool hasFamily(::HashedString const& family) const;
888
889 MCAPI bool hasPassenger() const;
890
891 MCAPI bool hasPlayerPassenger() const;
892
893 MCNAPI bool hasPriorityAmmunition() const;
894
895 MCAPI bool hasRuntimeID() const;
896
897 MCAPI bool hasSaddle() const;
898
899 MCAPI bool hasTag(::std::string const& tag) const;
900
901 MCAPI bool hasTags() const;
902
903 MCAPI bool hasType(::ActorType types) const;
904
905 MCAPI bool hasUniqueID() const;
906
907 MCAPI void heal(int heal);
908
909 MCAPI ::ActorHurtResult
910 hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters);
911
912 MCNAPI bool inDownwardFlowingLiquid() const;
913
914 MCNAPI void initParams(::RenderParams& params);
915
917 ::SharedTypes::Legacy::ActorLocation actorLocation,
918 ::SharedTypes::v1_26_20::MaterialType type
919 ) const;
920
921 MCAPI bool isAdventure() const;
922
923 MCAPI bool isAngry() const;
924
925 MCAPI bool isBaby() const;
926
927 MCAPI bool isCreative() const;
928
929 MCNAPI bool isDoorOpener() const;
930
931 MCAPI bool isImmersedInWater() const;
932
933 MCNAPI bool isInClouds() const;
934
935 MCAPI bool isInLove() const;
936
937 MCNAPI bool isInPrecipitation() const;
938
939 MCAPI bool isInRain() const;
940
941 MCAPI bool isInSnow() const;
942
943 MCAPI bool isInThunderstorm() const;
944
945 MCAPI bool isInWater() const;
946
947 MCAPI bool isInWaterOrRain() const;
948
949 MCAPI bool isInsidePortal() const;
950
951 MCNAPI bool isInvertedHealAndHarm() const;
952
953 MCAPI bool isJumping() const;
954
955 MCNAPI bool isLayingDown() const;
956
957 MCAPI bool isLeashed() const;
958
959 MCAPI bool isLocalPlayer() const;
960
961 MCNAPI bool isOrphan() const;
962
963 MCNAPI bool isOverWater() const;
964
965 MCAPI bool isPassenger(::Actor const& passenger) const;
966
967 MCNAPI bool isResting() const;
968
969 MCAPI bool isRiding(::Actor* targetVehicle) const;
970
971 MCAPI bool isSilent() const;
972
973 MCAPI bool isSitting() const;
974
975 MCAPI bool isSpectator() const;
976
977 MCNAPI bool isStanding() const;
978
979 MCAPI bool isSurvival() const;
980
981 MCAPI bool isTame() const;
982
983 MCAPI bool isTrading() const;
984
985 MCAPI bool isUnderLiquid(::SharedTypes::v1_26_20::MaterialType type) const;
986
987 MCNAPI bool isUseNewTradeScreen() const;
988
989 MCAPI bool isWearingLeatherArmor() const;
990
991 MCNAPI bool isWorldBuilder() const;
992
993 MCNAPI void killed(::Actor& entity);
994
995 MCNAPI void lerpTo(::Vec3 const& pos, ::Vec2 const& rot, int steps);
996
997 MCNAPI void lerpTo(::Vec3 const& pos, ::Vec2 const& rot, float headYaw, int steps);
998
999 MCNAPI void
1000 loadLinks(::CompoundTag const& entityTag, ::std::vector<::ActorLink>& links, ::DataLoadHelper& dataLoadHelper);
1001
1003
1004 MCAPI void move(::Vec3 const& posDelta);
1005
1006 MCAPI void moveTo(::Vec3 const& pos, ::Vec2 const& rot);
1007
1008 MCAPI bool onClimbableBlock() const;
1009
1011
1012#ifdef LL_PLAT_C
1013 MCNAPI void onSynchedFlagUpdate(::brstd::bitset<131, uint64> const& changedFlags);
1014#endif
1015
1016 MCAPI void pickUpItem(::ItemActor& itemActor, int count);
1017
1018 MCAPI void playSound(
1019 ::IConstBlockSource const& region,
1020 ::SharedTypes::Legacy::LevelSoundEvent type,
1021 ::Vec3 const& pos,
1022 int data
1023 );
1024
1026 ::SoundEventIdentifier const& soundEvent,
1027 ::Vec3 const& pos,
1028 int data,
1029 bool isGlobal,
1030 ::Player* primaryLocalPlayer
1031 );
1032
1033 MCAPI void playSynchronizedSound(
1034 ::SharedTypes::Legacy::LevelSoundEvent type,
1035 ::Vec3 const& pos,
1036 int data,
1037 bool isGlobal,
1038 ::std::optional<::Vec3> const&
1039 );
1040
1041#ifdef LL_PLAT_C
1042 MCNAPI void positionAllPassengers();
1043#endif
1044
1045 MCAPI void positionPassenger(::Actor& passenger);
1046
1047 MCNAPI void postSplashGameEvent();
1048
1049 MCNAPI bool pullInEntity(::Actor& e);
1050
1052
1053 MCNAPI void pushOutOfBlocks(::Vec3 const& vec);
1054
1055#ifdef LL_PLAT_C
1056 MCNAPI void refreshComponents();
1057#endif
1058
1059 MCNAPI void reload();
1060
1061 MCAPI void removeAllEffects();
1062
1063 MCAPI void removeAllPassengers(bool actorIsBeingDestroyed, bool exitFromPassenger);
1064
1065 MCAPI void removeEffect(int effectId);
1066
1067 MCAPI bool removeTag(::std::string const& tag);
1068
1069 MCAPI bool save(::CompoundTag& entityTag) const;
1070
1071 MCAPI void setActorRendererId(::HashedString actorRendererId);
1072
1073 MCNAPI void setBaseDefinition(::ActorDefinitionIdentifier const& sourceId, bool clearDefs, bool update);
1074
1075 MCNAPI void setDead(bool isDead);
1076
1077 MCAPI void setDimension(::WeakRef<::Dimension> weakDimension);
1078
1079#ifdef LL_PLAT_C
1080 MCNAPI void setEquipFromPacket(::UpdateEquipPacket const& packet);
1081#endif
1082
1083 MCAPI void setFallDistance(float distance);
1084
1085 MCAPI void setInLove(::Actor* lovePartner);
1086
1087 MCAPI void setInvisible(bool value);
1088
1089 MCNAPI void setLastHurtByMob(::Mob* mob);
1090
1091 MCAPI void setLastHurtByPlayer(::Player* player);
1092
1093 MCAPI void setLeashHolder(::ActorUniqueID leashHolder);
1094
1095 MCAPI void setLimitedLifetimeTicks(int lifetimeTicks);
1096
1097 MCAPI void setNameTag(::std::string const& name);
1098
1099#ifdef LL_PLAT_C
1100 MCNAPI void setOffersFromPacket(::UpdateTradePacket const& packet);
1101#endif
1102
1103 MCAPI void setPersistent();
1104
1106
1107#ifdef LL_PLAT_C
1108 MCAPI void setRotationWrapped(::Vec2 const& rot);
1109#endif
1110
1112
1113 MCAPI void setScoreTag(::std::string const& score);
1114
1115 MCAPI void setStrength(int strength);
1116
1117 MCNAPI void setStrengthMax(int strength);
1118
1119#ifdef LL_PLAT_C
1120 MCAPI void setTradingPlayer(::Player* player);
1121#endif
1122
1124
1125 MCAPI void setYHeadRot(float yHeadRot);
1126
1127 MCAPI void setYHeadRotations(float yHeadRot, float oldYHeadRot);
1128
1129 MCNAPI bool shouldOrphan(::BlockSource& source);
1130
1131 MCAPI bool shouldTick() const;
1132
1133 MCAPI ::ItemActor* spawnAtLocation(::ItemStack const& item, float yOffs);
1134
1135 MCNAPI void spawnTrailBubbles();
1136
1137 MCAPI void
1138 stopRiding(bool exitFromPassenger, bool actorIsBeingDestroyed, bool switchingVehicles, bool isBeingTeleported);
1139
1140 MCAPI void synchronousSetSize(float w, float h);
1141
1142 MCAPI void teleportPassengersTo(::Vec3 const& pos, int cause, int entityType);
1143
1144 MCNAPI void thawFreezeEffect();
1145
1146 MCAPI bool tick(::BlockSource& region);
1147
1148 MCNAPI void transferTickingArea(::Dimension const& toDimension);
1149
1151
1152 MCNAPI ::std::vector<::ItemDescriptor> const* tryGetEquippableSlotAllowedItems(int slotNumber) const;
1153
1154 MCNAPI ::std::optional<int> tryGetEquippableSlotForItem(::ItemDescriptor item) const;
1155
1156 MCAPI bool tryTeleportTo(::Vec3 const& pos, bool landOnBlock, bool avoidLiquid, int cause, int entityType);
1157
1158#ifdef LL_PLAT_S
1159 MCNAPI void updateDescription();
1160#endif
1161
1163
1164 MCNAPI void updateInsideBlock();
1165
1167
1168 MCNAPI void updateWaterState();
1169
1170 MCNAPI void wobble();
1171 // NOLINTEND
1172
1173public:
1174 // static functions
1175 // NOLINTBEGIN
1176 MCNAPI static ::std::vector<::BlockPos> getBlocksCurrentlyStandingOn(
1177 ::AABB const& aabb,
1178 ::IConstBlockSource const& region,
1179 float ignoreGapBelow,
1181 );
1182
1183#ifdef LL_PLAT_C
1184 MCNAPI static ::Vec3 getInterpolatedPosition(
1185 float a,
1186 ::StateVectorComponent const& stateVectorComponent,
1187 ::DynamicRenderOffsetComponent const* dynamicRenderOffsets
1188 );
1189#endif
1190
1191 MCAPI static bool isInLiquid(
1192 ::SharedTypes::v1_26_20::MaterialType liquidType,
1193 ::IConstBlockSource const& region,
1194 ::AABB const& mainAABB,
1195 ::std::vector<::AABB> const& subAABBs
1196 );
1197
1198 MCAPI static ::Actor* tryGetFromEntity(::StackRefResult<::EntityContext> entity, bool includeRemoved);
1199
1200 MCNAPI static ::Actor*
1201 tryGetFromEntity(::StrictEntityContext const& entity, ::EntityRegistry& registry, bool includeRemoved);
1202 // NOLINTEND
1203
1204public:
1205 // constructor thunks
1206 // NOLINTBEGIN
1207 MCNAPI void* $ctor(::ILevel& level, ::EntityContext& entityContext);
1208
1209 MCNAPI void* $ctor(
1210 ::ActorDefinitionGroup* definitions,
1211 ::ActorDefinitionIdentifier const& definitionName,
1212 ::EntityContext& entityContext
1213 );
1214 // NOLINTEND
1215
1216public:
1217 // destructor thunk
1218 // NOLINTBEGIN
1219 MCNAPI void $dtor();
1220 // NOLINTEND
1221
1222public:
1223 // virtual function thunks
1224 // NOLINTBEGIN
1225 MCNAPI bool $hasComponent(::HashedString const& name) const;
1226
1227 MCAPI void $outOfWorld();
1228
1229 MCNAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
1230
1231 MCNAPI void $reloadHardcodedClient(::ActorInitializationMethod method);
1232
1233 MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
1234
1235 MCNAPI void $reloadComponents(::ActorInitializationMethod, ::VariantParameterList const&);
1236
1238
1239 MCNAPI void $_doInitialMove();
1240
1241 MCNAPI void $resetUserPos(::ActorResetRule resetRule);
1242
1243 MCNAPI ::ActorType $getOwnerEntityType();
1244
1245 MCAPI void $remove();
1246
1247 MCNAPI ::Vec3 $getFiringPos() const;
1248
1249 MCNAPI float $getInterpolatedBodyRot(float a) const;
1250
1251 MCNAPI float $getInterpolatedHeadRot(float a) const;
1252
1253 MCNAPI float $getInterpolatedBodyYaw(float a) const;
1254
1256
1257 MCNAPI ::Vec3 $getInterpolatedRidingOffset(float, int const) const;
1258
1259 MCNAPI bool $isFireImmune() const;
1260
1261 MCNAPI void $blockedByShield(::ActorDamageSource const& source, ::Actor& blocker);
1262
1263 MCNAPI bool $canDisableShield();
1264
1265 MCAPI void
1266 $teleportTo(::Vec3 const& pos, bool shouldStopRiding, int cause, int sourceEntityType, bool keepVelocity);
1267
1268 MCNAPI void $lerpMotion(::Vec3 const& delta);
1269
1270 MCNAPI ::std::unique_ptr<::Packet> $tryCreateAddActorPacket();
1271
1272 MCAPI void $normalTick();
1273
1274 MCAPI void $baseTick();
1275
1276 MCNAPI void $passengerTick();
1277
1278 MCAPI bool $startRiding(::Actor& vehicle, bool forceRiding);
1279
1280 MCAPI void $addPassenger(::Actor& passenger);
1281
1282 MCNAPI ::std::string $getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const;
1283
1284 MCNAPI ::std::string $getEntityLocNameString() const;
1285
1286 MCNAPI bool $isInvisible() const;
1287
1288 MCNAPI bool $canShowNameTag() const;
1289
1290 MCNAPI ::mce::Color $getNameTagTextColor() const;
1291
1292 MCNAPI float $getShadowRadius() const;
1293
1294 MCNAPI ::Vec3 $getHeadLookVector(float a) const;
1295
1297
1298 MCNAPI float $getBrightness(float a, ::IConstBlockSource const& region) const;
1299
1300 MCNAPI void $playerTouch(::Player& player);
1301
1302 MCNAPI bool $isImmobile() const;
1303
1304 MCNAPI bool $isSilentObserver() const;
1305
1306 MCNAPI bool $isSleeping() const;
1307
1308 MCNAPI void $setSleeping(bool val);
1309
1310 MCNAPI void $setSneaking(bool value);
1311
1312 MCNAPI bool $isBlocking() const;
1313
1314 MCNAPI bool $isDamageBlocked(::ActorDamageSource const& source) const;
1315
1316 MCNAPI bool $isAlive() const;
1317
1318 MCNAPI bool $isOnFire() const;
1319
1320 MCNAPI bool $isSurfaceMob() const;
1321
1322 MCNAPI bool $isTargetable() const;
1323
1324 MCAPI void $setTarget(::Actor* entity);
1325
1326 MCNAPI bool $isValidTarget(::Actor* attacker) const;
1327
1328 MCAPI ::ActorHurtResult $attack(::Actor& target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
1329
1330 MCNAPI void $performRangedAttack(::Actor& target, float);
1331
1332 MCNAPI void $setOwner(::ActorUniqueID const ownerId);
1333
1334 MCNAPI void $setSitting(bool value);
1335
1336 MCNAPI void $onTame();
1337
1338 MCNAPI void $onFailedTame();
1339
1340 MCNAPI void $setStanding(bool value);
1341
1342 MCNAPI bool $canPowerJump() const;
1343
1344 MCNAPI bool $isEnchanted() const;
1345
1346 MCNAPI void $playAmbientSound();
1347
1348 MCNAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
1349
1350 MCNAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
1351
1352 MCNAPI ::SharedTypes::Legacy::ActorDamageCause $getBlockDamageCause(::Block const& block) const;
1353
1354 MCNAPI ::ActorHurtResult $doFireHurt(int amount);
1355
1356 MCAPI void $onLightningHit();
1357
1358 MCNAPI void $feed(int itemId);
1359
1360 MCNAPI void $handleEntityEvent(::ActorEvent eventId, int data);
1361
1362 MCNAPI ::HashedString const& $getActorRendererId() const;
1363
1364 MCAPI void $despawn();
1365
1366 MCAPI void $setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item);
1367
1368 MCNAPI ::ArmorMaterialType $getArmorMaterialTypeInSlot(::SharedTypes::Legacy::ArmorSlot slot) const;
1369
1370 MCNAPI int $getArmorTextureIndexInSlot(::SharedTypes::Legacy::ArmorSlot slot) const;
1371
1372 MCNAPI float $getArmorColorInSlot(::SharedTypes::Legacy::ArmorSlot slot, int channelRGBA) const;
1373
1374 MCNAPI void $setEquippedSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const& item);
1375
1376 MCAPI void $setCarriedItem(::ItemStack const& item);
1377
1378 MCNAPI ::ItemStack const& $getCarriedItem() const;
1379
1380 MCNAPI void $setOffhandSlot(::ItemStack const& item);
1381
1382 MCNAPI ::ItemStack const& $getEquippedTotem() const;
1383
1384 MCNAPI bool $consumeTotem();
1385
1386 MCAPI bool $load(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
1387
1388 MCNAPI ::HashedString const& $queryEntityRenderer() const;
1389
1390 MCNAPI ::ActorUniqueID $getSourceUniqueID() const;
1391
1392 MCNAPI ::AABB $getLiquidAABB(::SharedTypes::v1_26_20::MaterialType const liquidType) const;
1393
1394 MCNAPI void $handleInsidePortal(::BlockPos const& portalPos);
1395
1397
1398 MCAPI void $changeDimension(::DimensionType toId);
1399
1400#ifdef LL_PLAT_S
1401 MCNAPI void $changeDimension(::ChangeDimensionPacket const&);
1402#else // LL_PLAT_C
1403 MCNAPI void $changeDimension(::ChangeDimensionPacket const& packet);
1404#endif
1405
1406 MCNAPI ::ActorUniqueID $getControllingPlayer() const;
1407
1408 MCAPI float $causeFallDamageToActor(float distance, float multiplier, ::ActorDamageSource source);
1409
1410 MCNAPI void $onSynchedDataUpdate(int dataId);
1411
1412 MCAPI bool $canAddPassenger(::Actor& passenger) const;
1413
1414 MCFOLD bool $canPickupItem(::ItemStack const& item) const;
1415
1416 MCNAPI bool $canBePulledIntoVehicle() const;
1417
1418 MCNAPI bool $inCaravan() const;
1419
1421
1422 MCNAPI bool $canSynchronizeNewEntity() const;
1423
1424 MCNAPI void $startSwimming();
1425
1426 MCNAPI void $stopSwimming();
1427
1428 MCNAPI void $buildDebugInfo(::std::string& out) const;
1429
1430 MCNAPI ::CommandPermissionLevel $getCommandPermissionLevel() const;
1431
1432 MCNAPI int $getDeathTime() const;
1433
1434 MCAPI bool $canBeAffected(uint id) const;
1435
1436 MCNAPI bool $canBeAffectedByArrow(::MobEffectInstance const& effect) const;
1437
1438 MCAPI void $onEffectRemoved(::MobEffectInstance& effect);
1439
1441
1442 MCNAPI ::AnimationComponent& $getAnimationComponent();
1443
1444 MCNAPI void $openContainerComponent(::Player& player);
1445
1446 MCNAPI bool $swing(::ActorSwingSource swingSource, ::HandSlot handSlot);
1447
1448 MCAPI void $useItem(::ItemStackBase& item, ::ItemUseMethod itemUseMethod, bool consumeItem);
1449
1450 MCNAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
1451
1452 MCNAPI float $getMapDecorationRotation() const;
1453
1454 MCNAPI float $getPassengerYRotation(::Actor const& passenger) const;
1455
1456 MCNAPI bool $add(::ItemStack& item);
1457
1458 MCAPI bool $drop(::ItemStack const& item, bool const randomly);
1459
1460 MCAPI ::Interaction $getInteraction(::Player& player, ::Vec3 const& location, ::HandSlot handSlot);
1461
1462 MCNAPI bool $canDestroyBlock(::Block const& block) const;
1463
1464 MCNAPI void $setAuxValue(int aux);
1465
1466 MCNAPI void $renderDebugServerState(::IOptionsReader const& options);
1467
1468 MCAPI void $kill();
1469
1470 MCAPI void $die(::ActorDamageSource const& source);
1471
1472 MCNAPI bool $shouldDropDeathLoot() const;
1473
1474 MCNAPI void $applySnapshot(
1475 ::EntityContext const& snapshotEntity,
1476 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
1477 );
1478
1479 MCNAPI void $onPush(::Actor& source);
1480
1481 MCNAPI ::std::optional<::BlockPos> $getLastDeathPos() const;
1482
1483 MCNAPI ::std::optional<::DimensionType> $getLastDeathDimension() const;
1484
1485 MCNAPI bool $hasDiedBefore() const;
1486
1488
1490
1492
1493 MCNAPI bool $_shouldProvideFeedbackOnHandContainerItemSet(::HandSlot handSlot, ::ItemStack const& item) const;
1494
1495 MCNAPI bool $_shouldProvideFeedbackOnArmorSet(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item) const;
1496
1497 MCNAPI ::ActorHurtResult
1498 $_hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters);
1499
1500 MCNAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
1501
1502 MCNAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
1503
1504
1505 // NOLINTEND
1506};
Definition AABB.h:18
Definition ActionEvent.h:8
Definition ActionQueue.h:8
Definition ActorDamageSource.h:18
Definition ActorDefinitionDescriptor.h:72
Definition ActorDefinitionDiffList.h:15
Definition ActorDefinitionGroup.h:26
Definition ActorHurtResult.h:5
Definition ActorRuntimeID.h:5
MCAPI::FishingHook * fetchFishingHook()
MCAPI void buildDebugGroupInfo(::std::string &out) const
MCAPI bool $hasComponent(::HashedString const &name) const
MCAPI void $openContainerComponent(::Player &player)
MCAPI::ItemActor const * _drop(::ItemStack const &item, bool randomly)
MCAPI bool $isValidTarget(::Actor *attacker) const
MCAPI void spawnTrailBubbles()
MCAPI void updateDimensionChunkMove()
MCAPI::mce::Color $getNameTagTextColor() const
MCAPI bool $isSurfaceMob() const
MCAPI void _updateComposition(bool reload)
MCAPI bool $isDamageBlocked(::ActorDamageSource const &source) const
MCAPI float $getArmorColorInSlot(::SharedTypes::Legacy::ArmorSlot slot, int channelRGBA) const
MCAPI void _initializeMaxAutoStep(float maxAutoStep)
MCAPI::ActorUniqueID $getSourceUniqueID() const
MCAPI bool $canChangeDimensionsUsingPortal() const
MCAPI::Vec3 $getInterpolatedRidingOffset(float, int const) const
MCAPI void setDead(bool isDead)
MCAPI bool $isSilentObserver() const
MCAPI bool shouldOrphan(::BlockSource &source)
MCAPI ::std::optional< int > tryGetEquippableSlotForItem(::ItemDescriptor item) const
MCAPI bool hasPriorityAmmunition() const
MCAPI void $changeDimension(::ChangeDimensionPacket const &packet)
MCAPI bool isActorLocationInMaterial(::SharedTypes::Legacy::ActorLocation actorLocation, ::SharedTypes::v1_26_20::MaterialType type) const
MCAPI bool $add(::ItemStack &item)
MCAPI void postSplashGameEvent()
MCAPI void $feed(int itemId)
MCAPI void $setSleeping(bool val)
MCAPI::BuiltInActorComponents _addActorBuiltInComponents()
MCAPI void $setStanding(bool value)
MCAPI bool isOverWater() const
MCAPI float distanceSqrToBlockPosCenter(::BlockPos const &pos) const
MCAPI void $setSitting(bool value)
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void $_doInitialMove()
MCAPI void $onFailedTame()
MCAPI::UpdateEquipPacket createUpdateEquipPacket(int containerID)
MCAPI float $getYawSpeedInDegreesPerSecond() const
MCAPI bool $isInvulnerableTo(::ActorDamageSource const &source) const
MCAPI float getRidingHeight() const
MCAPI void $renderDebugServerState(::IOptionsReader const &options)
MCAPI void $onTame()
MCAPI void $sendMotionPacketIfNeeded()
MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method)
MCAPI float $getPassengerYRotation(::Actor const &passenger) const
MCAPI void thawFreezeEffect()
MCAPI bool $swing(::ActorSwingSource swingSource, ::HandSlot handSlot)
MCAPI bool $isAlive() const
MCAPI void $resetUserPos(::ActorResetRule resetRule)
MCAPI::std::string $getEntityLocNameString() const
MCAPI void _addActorNonBuiltInComponents()
MCAPI void $setAuxValue(int aux)
MCAPI bool canMate(::Actor const &partner) const
MCAPI bool $canPowerJump() const
MCAPI void * $ctor(::ILevel &level, ::EntityContext &entityContext)
MCAPI::ItemStack const & $getCarriedItem() const
MCAPI void migrateUniqueID(::ActorUniqueID id)
MCAPI bool inDownwardFlowingLiquid() const
MCAPI void $_serverInitItemStackIds()
MCAPI void $playerTouch(::Player &player)
MCAPI::ActorRuntimeID getVehicleRuntimeID() const
static MCAPI ::Actor * tryGetFromEntity(::StrictEntityContext const &entity, ::EntityRegistry &registry, bool includeRemoved)
MCAPI void updateWaterState()
MCAPI void onEffectUpdated(::MobEffectInstance &effect)
MCAPI bool $isTargetable() const
MCAPI void $performRangedAttack(::Actor &target, float)
MCAPI void _setupServerAnimationComponent()
MCAPI void $setOwner(::ActorUniqueID const ownerId)
MCAPI void $reloadComponents(::ActorInitializationMethod, ::VariantParameterList const &)
MCAPI bool $consumeTotem()
MCAPI::HashedString const & $getActorRendererId() const
MCAPI::UpdateTradePacket createUpdateTradePacket(int containerID)
MCAPI void pushOutOfBlocks(::Vec3 const &vec)
MCAPI void setLastHurtByMob(::Mob *mob)
MCAPI void $onPush(::Actor &source)
MCAPI::HashedString const & $queryEntityRenderer() const
MCAPI void $doEnterWaterSplashEffect()
MCAPI void $passengerTick()
MCAPI::AnimationComponent & _getAnimationComponent(::std::shared_ptr<::AnimationComponent > &animationComponent, ::AnimationComponentGroupType group)
MCAPI void pushBackActionEventToActionQueue(::ActionEvent actionEvent)
MCAPI bool $canBePulledIntoVehicle() const
MCAPI bool $inCaravan() const
MCAPI bool pullInEntity(::Actor &e)
MCAPI bool isWorldBuilder() const
MCAPI int getStrength() const
MCAPI void killed(::Actor &entity)
MCAPI void $setOffhandSlot(::ItemStack const &item)
MCAPI void $getDebugText(::std::vector<::std::string > &outputInfo)
MCAPI void playSynchronizedSound(::SoundEventIdentifier const &soundEvent, ::Vec3 const &pos, int data, bool isGlobal, ::Player *primaryLocalPlayer)
MCAPI void _refreshAABB()
MCAPI bool $canDisableShield()
MCAPI::CommandPermissionLevel $getCommandPermissionLevel() const
MCAPI void $doExitWaterSplashEffect()
MCAPI ::std::optional<::DimensionType > $getLastDeathDimension() const
MCAPI void _notifyMobEffectsOnHurt(::ActorDamageSource const &source, float damage)
MCAPI void _setActorTypeId(::ActorType type)
MCAPI void $stopSwimming()
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const
MCAPI void setRuntimeID(::ActorRuntimeID id)
MCAPI void equipFromEquipmentDefinition()
static MCAPI ::std::vector<::BlockPos > getBlocksCurrentlyStandingOn(::AABB const &aabb, ::IConstBlockSource const &region, float ignoreGapBelow, ::optional_ref<::GetCollisionShapeInterface const > other)
MCAPI void $addAdditionalSaveData(::CompoundTag &tag) const
MCAPI void $doWaterSplashEffect()
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void triggerActorRemovedEvent()
MCAPI::ActorHurtResult $_hurt(::ActorDamageSource const &source, float damage, ::HurtParameters const &hurtParameters)
MCAPI void _setHandContainerItem(::ItemStack const &item, ::HandSlot handSlot)
MCAPI Actor(::ILevel &level, ::EntityContext &entityContext)
MCAPI bool isOrphan() const
MCAPI bool $isOnFire() const
MCAPI bool $isInvisible() const
MCAPI void celebrateHunt(int duration, bool special)
MCAPI void initParams(::RenderParams &params)
MCAPI void deregisterTagsFromLevelCache()
MCAPI void updateInvisibilityStatus()
MCAPI float $getMapDecorationRotation() const
MCAPI Actor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI bool $isBlocking() const
MCAPI bool isInClouds() const
MCAPI bool $hasDiedBefore() const
MCAPI void updateInsideBlock()
MCAPI void setUniqueID(::ActorUniqueID id)
MCAPI::AABB $getLiquidAABB(::SharedTypes::v1_26_20::MaterialType const liquidType) const
MCAPI void $startSwimming()
MCAPI bool $isSleeping() const
MCAPI bool $shouldDropDeathLoot() const
MCAPI::ArmorMaterialType $getArmorMaterialTypeInSlot(::SharedTypes::Legacy::ArmorSlot slot) const
MCAPI bool isInPrecipitation() const
MCAPI::Vec3 getInterpolatedRidingPosition(float a=0.0f) const
MCAPI bool $_shouldProvideFeedbackOnArmorSet(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const &item) const
MCAPI void applyOnBornPropertyChanges()
MCAPI void $blockedByShield(::ActorDamageSource const &source, ::Actor &blocker)
MCAPI void setStrengthMax(int strength)
MCAPI ::std::vector<::ItemDescriptor > const * tryGetEquippableSlotAllowedItems(int slotNumber) const
MCAPI::ActorHurtResult $doFireHurt(int amount)
MCAPI void setRedactableNameTag(::Bedrock::Safety::RedactableString const &name)
MCAPI void $handleInsidePortal(::BlockPos const &portalPos)
MCAPI bool isDoorOpener() const
MCAPI int $getArmorTextureIndexInSlot(::SharedTypes::Legacy::ArmorSlot slot) const
MCAPI::SharedTypes::Legacy::ActorDamageCause $getBlockDamageCause(::Block const &block) const
MCAPI bool $canSynchronizeNewEntity() const
MCAPI void lerpTo(::Vec3 const &pos, ::Vec2 const &rot, int steps)
MCAPI bool $canShowNameTag() const
MCAPI bool $isImmobile() const
MCAPI void $dtor()
MCAPI ::std::optional<::BlockPos > $getLastDeathPos() const
MCAPI void loadLinks(::CompoundTag const &entityTag, ::std::vector<::ActorLink > &links, ::DataLoadHelper &dataLoadHelper)
MCAPI bool _isDeathLootAllowed() const
MCAPI bool $canObstructSpawningAndBlockPlacement() const
MCAPI void $applySnapshot(::EntityContext const &snapshotEntity, ::MovementDataExtractionUtility::SnapshotAccessor const &originalSnapshotEntity)
MCAPI void chorusFruitTeleport(::Vec3 const &range)
MCAPI void setBaseDefinition(::ActorDefinitionIdentifier const &sourceId, bool clearDefs, bool update)
MCAPI bool isUseNewTradeScreen() const
MCAPI bool $canBeAffectedByArrow(::MobEffectInstance const &effect) const
MCAPI bool _applyPendingPropertyChanges()
MCAPI bool $canDestroyBlock(::Block const &block) const
MCAPI float $getInterpolatedHeadRot(float a) const
MCAPI::std::string $getExitTip(::std::string const &kind, ::InputMode mode, ::NewInteractionModel scheme) const
MCAPI ::std::unique_ptr<::Packet > $tryCreateAddActorPacket()
MCAPI void $playAmbientSound()
MCAPI::Vec3 $getHeadLookVector(float a) const
MCAPI void handleLeftoverFallDamage(float damage, ::ActorDamageSource source)
MCAPI void $lerpMotion(::Vec3 const &delta)
MCAPI void transferTickingArea(::Dimension const &toDimension)
MCAPI::Bedrock::Safety::RedactableString getRedactableNameTag() const
MCAPI bool isStanding() const
MCAPI float getCurrentSwimAmount() const
MCAPI void $setSneaking(bool value)
MCAPI::Vec3 $getFiringPos() const
MCAPI float $getBrightness(float a, ::IConstBlockSource const &region) const
MCAPI void $handleEntityEvent(::ActorEvent eventId, int data)
MCAPI bool isLayingDown() const
MCAPI bool $isFireImmune() const
MCAPI float $getInterpolatedBodyYaw(float a) const
MCAPI float getSwimAmount(float a) const
MCAPI int $getDeathTime() const
MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const &params)
MCAPI::ActorType $getOwnerEntityType()
MCAPI::ItemStack const & getCarriedItemInSlotPreferredBy(::ItemStack const &item) const
MCAPI bool $_shouldProvideFeedbackOnHandContainerItemSet(::HandSlot handSlot, ::ItemStack const &item) const
MCAPI void $setEquippedSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const &item)
MCAPI void wobble()
MCAPI float $getInterpolatedBodyRot(float a) const
MCAPI::AnimationComponent & $getAnimationComponent()
MCAPI void _setDimensionTransitionComponent(::DimensionType fromId, ::DimensionType toId, int portalCooldown)
MCAPI::ItemStack const & $getEquippedTotem() const
MCAPI bool canBeginOrContinueClimbingLadder() const
MCAPI void $onSynchedDataUpdate(int dataId)
MCAPI bool $isEnchanted() const
MCAPI bool getFirstAvailableSeatPos(::Actor &potentialPassenger, ::Vec3 &result) const
MCAPI bool isInvertedHealAndHarm() const
MCAPI::ActorUniqueID $getControllingPlayer() const
MCAPI bool $canInteractWithOtherEntitiesInGame() const
MCAPI void $buildDebugInfo(::std::string &out) const
MCAPI float $getShadowRadius() const
MCAPI bool isResting() const
MCAPI void lerpTo(::Vec3 const &pos, ::Vec2 const &rot, float headYaw, int steps)
MCAPI void reload()
MCAPI float evaluateSeatRotation(::RideableComponent const &rideable, bool useVehicleRenderParams)
Definition AnimationComponent.h:38
Definition AttributeInstanceConstRef.h:13
Definition Attribute.h:9
Definition BaseAttributeMap.h:21
Definition RedactableString.h:10
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition ChangeDimensionPacket.h:19
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition Dimension.h:86
Definition DynamicProperties.h:16
Definition EntityContext.h:15
Definition EntityRegistry.h:10
Definition FishingHook.h:20
Definition GetCollisionShapeInterface.h:13
Definition HashedString.h:5
Definition HitResult.h:18
Definition IConstBlockSource.h:25
Definition ILevel.h:223
Definition IOptionsReader.h:5
Definition Interaction.h:9
Definition ItemActor.h:30
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Level.h:255
Definition LootTable.h:15
Definition Matrix.h:10
Definition MerchantRecipeList.h:13
Definition MobEffectInstance.h:16
Definition MobEffect.h:27
Definition Mob.h:58
Definition Packet.h:29
Definition Player.h:131
Definition Random.h:10
Definition RenderParams.h:29
Definition RideableComponent.h:17
Definition RopeSystem.h:14
Definition SpatialActorNetworkData.h:21
Definition StackRefResult.h:7
Definition StrictEntityContext.h:8
Definition UpdateEquipPacket.h:19
Definition UpdateTradePacket.h:19
Definition Vec2.h:5
Definition Vec3.h:10
Definition WeakRef.h:8
Definition bitset.h:19
Definition flat_map.h:15
Definition optional_ref.h:10
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition BoneCacheKey.h:8
Definition DimensionType.h:5
Definition DistanceSortedActor.h:10
Definition DynamicRenderOffsetComponent.h:8
Definition EquipmentTable.h:11
Definition HurtParameters.h:8
Definition InterpolationPair.h:5
Definition MutableAttributeWithContext.h:9
Definition SoundEventIdentifier.h:13
Definition StateVectorComponent.h:8
Definition VariantParameterList.h:17