3#include "mc/_HeaderOutputPredefine.h"
18namespace VehicleUtils {
19LLAPI
bool isPassengerOfActor(::Actor
const& maybePassenger, ::ActorUniqueID
const& actorID);
23MCNAPI
bool arePassengersOfSameActor(::Actor
const& maybePassenger1, ::Actor
const& maybePassenger2);
25MCNAPI ::std::optional<float> calculateBlockFloorHeight(::IConstBlockSource
const& region, ::BlockPos
const& blockPos);
27MCNAPI
auto getActorExitPatternStrategy(::BaseGameVersion
const& version) -> ::std::optional<::Vec3> (*)(
28 ::VehicleUtils::VehicleDirections
const&,
29 ::std::function<bool(::Vec3
const&, ::Vec3
const&)>
32MCNAPI
bool ignoredExitCollisionBlock(::Block
const& block);
34MCNAPI ::std::optional<::Vec3> testPosFollowingEjectPattern(
35 ::VehicleUtils::VehicleDirections
const& vehicleDirections,
36 ::std::function<
bool(::Vec3
const&, ::Vec3
const&)> callback
39MCNAPI ::std::optional<::Vec3> testPosFollowingLegacyActivatorRailPattern(
40 ::VehicleUtils::VehicleDirections
const& vehicleDirections,
41 ::std::function<
bool(::Vec3
const&, ::Vec3
const&)> callback
44MCNAPI ::std::optional<::Vec3> testPosFollowingLegacyActorPattern(
45 ::VehicleUtils::VehicleDirections
const&,
46 ::std::function<
bool(::Vec3
const&, ::Vec3
const&)> callback
Definition BaseGameVersion.h:8
Definition IConstBlockSource.h:25
Definition ActorUniqueID.h:5
Definition VehicleDirections.h:10