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"
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 ::ActorDataFlagComponent
const,
92 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>,
93 ::Optional<::MovedOnSpawnComponent const>>* mobView,
95 ::StrictEntityContext,
96 ::ActorDataFlagComponent
const,
97 ::Optional<::VehicleInputIntentComponent const>,
98 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
99 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>>* horseView,
100 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>>* onlyHorseView,
101 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const>* playerView
104MCAPI
void moveBBs(::Vec3
const& pos, ::AABBShapeComponent& aabb, ::SubBBsComponent& subBBs);
106MCAPI
bool onHoverableBlock(::IConstBlockSource
const& region, ::Vec3
const& pos, ::AABB
const& aabb);
108MCAPI
bool shouldApplyLava(::IConstBlockSource
const& region, ::EntityContext
const& entity);
110MCAPI
bool shouldApplyLava(
111 ::IConstBlockSource
const& region,
112 ::AABBShapeComponent
const& aabb,
113 ::SubBBsComponent
const& subBBs,
117MCAPI
void startSpinAttack(::EntityContext& entity,
int riptideLevel);
Definition EntityContext.h:15
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 MovedOnSpawnComponent.h:5
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