3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
9#include "mc/deps/ecs/strict/Exclude.h"
10#include "mc/deps/ecs/strict/Include.h"
11#include "mc/world/level/material/MaterialType.h"
49namespace ActorMobilityUtils {
53 ::ActorDataFlagComponent
const& actorData,
54 ::IConstBlockSource
const& region,
55 ::StateVectorComponent
const& stateVector,
56 ::AABBShapeComponent
const& aabbShape,
57 ::GetCollisionShapeInterface
const& collisionShape
61 ::StrictEntityContext
const& context,
62 ::StateVectorComponent
const& stateVectorComponent,
63 ::ActorDataJumpDurationComponent& actorDataJumpDurationComponent,
64 ::ActorDataDirtyFlagsComponent& actorDataDirtyFlags,
65 ::MobJumpComponent& mobJumpComponent,
66 ::VehicleComponent
const* vehicleComponent,
67 ::ViewT<::StrictEntityContext, ::Include<::ParrotFlagComponent>, ::PassengerComponent
const> parrotPassengers,
68 ::EntityModifier<::ExitFromPassengerFlagComponent, ::StopRidingRequestComponent, ::MobIsJumpingFlagComponent>&
72MCAPI
float getBrightness(
73 ::StrictEntityContext
const& context,
75 ::IConstBlockSource
const& region,
76 ::AABBShapeComponent
const& aabbShapeComponent,
77 ::OffsetsComponent
const& offsetsComponent,
78 ::StateVectorComponent
const& stateVectorComponent,
79 ::ViewT<::StrictEntityContext, ::Include<::BlazeFlagComponent>> blazeView,
80 ::ViewT<::StrictEntityContext, ::Include<::LavaSlimeFlagComponent>> lavaSlimeView
84 ::StrictEntityContext
const& context,
85 ::ViewT<::StrictEntityContext, ::ActorDataFlagComponent
const, ::Optional<::ActorIsImmobileFlagComponent const>>*
88 ::StrictEntityContext,
89 ::Include<::MobFlagComponent>,
90 ::MovementAttributesComponent
const,
91 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>>* mobView,
93 ::StrictEntityContext,
94 ::ActorDataFlagComponent
const,
95 ::Optional<::VehicleInputIntentComponent const>,
96 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
97 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>>* horseView,
98 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>>* onlyHorseView,
99 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const>* playerView
103isInLava(::IConstBlockSource
const& region, ::AABBShapeComponent
const& aabb, ::SubBBsComponent
const& subBBs);
105MCAPI
bool isUnderLiquid(
106 ::Vec3
const& actorPos,
107 ::Vec3
const& actorHeadPos,
108 ::IConstBlockSource
const& region,
109 ::MaterialType blockType
112MCAPI
bool onHoverableBlock(::IConstBlockSource
const& region, ::Vec3
const& pos, ::AABB
const& aabb);
114MCAPI
bool shouldApplyLava(::IConstBlockSource
const& region, ::EntityContext
const& entity);
Definition EntityContext.h:16
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition StrictEntityContext.h:8
Definition AABBShapeComponent.h:9
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition ActorDataJumpDurationComponent.h:8
Definition ActorIsImmobileFlagComponent.h:5
Definition ActorIsKnockedBackOnDeathFlagComponent.h:5
Definition BlazeFlagComponent.h:5
Definition ExitFromPassengerFlagComponent.h:5
Definition HorseFlagComponent.h:5
Definition LavaSlimeFlagComponent.h:5
Definition MobAllowStandSlidingFlagComponent.h:5
Definition MobFlagComponent.h:5
Definition MobIsJumpingFlagComponent.h:5
Definition MobJumpComponent.h:8
Definition MovementAttributesComponent.h:5
Definition OffsetsComponent.h:8
Definition OnGroundFlagComponent.h:5
Definition ParrotFlagComponent.h:5
Definition PassengerComponent.h:8
Definition PlayerComponent.h:5
Definition PlayerIsSleepingFlagComponent.h:5
Definition StateVectorComponent.h:8
Definition StopRidingRequestComponent.h:5
Definition SubBBsComponent.h:10
Definition VehicleComponent.h:10