3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
21namespace GetAttachPositionUtility {
24MCNAPI ::Vec3 _getBaseAttachPoint(
25 ::SharedTypes::Legacy::ActorLocation location,
26 ::Vec3
const& interpolatedPosition,
27 ::AABBShapeComponent
const& aabbShapeComponent,
28 ::ActorRotationComponent
const& actorRotationComponent,
29 ::OffsetsComponent
const& offsetsComponent,
30 ::optional_ref<::PassengerRenderingRidingOffsetComponent const> ridingOffset,
31 ::optional_ref<::VanillaOffsetComponent const> vanillaOffsetComponent,
32 float actorHeadRotation,
36MCNAPI ::std::optional<::Vec3> getAttachPosition(
37 ::StrictEntityContext
const& entity,
38 ::GetAttachPositionViews
const& views,
39 ::SharedTypes::Legacy::ActorLocation location,
40 ::Vec3
const& interpolatedPosition
43MCNAPI ::Vec3 getPassengerAttachPos(
44 ::StrictEntityContext
const& entity,
45 ::GetAttachPositionViews
const& views,
46 ::SharedTypes::Legacy::ActorLocation location,
Definition StrictEntityContext.h:8
Definition AABBShapeComponent.h:9
Definition ActorRotationComponent.h:8
Definition GetAttachPositionViews.h:5
Definition OffsetsComponent.h:8
Definition PassengerRenderingRidingOffsetComponent.h:8
Definition VanillaOffsetComponent.h:8