26class TeleportCommand :
public ::Command {
47 ::std::optional<::RotationCommandUtils::RotationData>
const&,
51 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mTargets;
52 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mDestinationEntity;
53 ::ll::TypedStorage<4, 16, ::CommandPositionFloat> mDestinationPos;
54 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mFacingEntity;
55 ::ll::TypedStorage<4, 16, ::CommandPositionFloat> mFacingPos;
56 ::ll::TypedStorage<4, 8, ::RelativeFloat> mYRot;
57 ::ll::TypedStorage<4, 8, ::RelativeFloat> mXRot;
58 ::ll::TypedStorage<4, 4, ::RotationCommandUtils::FacingResult> mHaveFacing;
59 ::ll::TypedStorage<1, 1, bool> mDestinationIsPosition;
60 ::ll::TypedStorage<1, 1, bool> mIsUsingRotation;
61 ::ll::TypedStorage<1, 1, bool> mFacingIsPosition;
62 ::ll::TypedStorage<1, 1, bool> mCheckForBlocks;
74 MCAPI TeleportCommand();
76 MCAPI
void doArmorStandTeleportBackwardCompability(
::Actor& target,
::Actor const* destinationEntity)
const;
78 MCAPI ::RotationCommandUtils::FacingResult getFacingDirection(
91 MCAPI static ::TeleportTarget computeTarget(
96 ::std::optional<::RotationCommandUtils::RotationData>
const& rotationData,
100 MCAPI static ::std::unique_ptr<::CommandArea> getCommandAreaForTargets(
105 bool allowUnloadedChunks