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/Exclude.h"
9#include "mc/deps/ecs/strict/Include.h"
29namespace VanillaSystems::MoveSpeedCapSystemImpl {
32MCNAPI
void singleTick(
33 ::StrictEntityContext& entity,
34 ::ViewT<::StrictEntityContext, ::MoveRequestComponent> view,
35 ::ViewT<::StrictEntityContext, ::ActorDataFlagComponent
const, ::Optional<::ActorIsImmobileFlagComponent const>>
38 ::StrictEntityContext,
39 ::Include<::MobFlagComponent>,
40 ::MovementAttributesComponent
const,
41 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>> mobView,
43 ::StrictEntityContext,
44 ::ActorDataFlagComponent
const,
45 ::Optional<::VehicleInputIntentComponent const>,
46 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
47 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>> horseView,
48 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>> onlyHorseView,
49 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const> playerView
52MCNAPI
void tickMoveSpeedCap(
53 ::StrictEntityContext& context,
54 ::MoveRequestComponent& moveRequestComponent,
55 ::ViewT<::StrictEntityContext, ::ActorDataFlagComponent
const, ::Optional<::ActorIsImmobileFlagComponent const>>
58 ::StrictEntityContext,
59 ::Include<::MobFlagComponent>,
60 ::MovementAttributesComponent
const,
61 ::Optional<::ActorIsKnockedBackOnDeathFlagComponent const>> mobView,
63 ::StrictEntityContext,
64 ::ActorDataFlagComponent
const,
65 ::Optional<::VehicleInputIntentComponent const>,
66 ::Include<::OnGroundFlagComponent, ::HorseFlagComponent>,
67 ::Exclude<::MobAllowStandSlidingFlagComponent, ::MobIsJumpingFlagComponent>> horseView,
68 ::ViewT<::StrictEntityContext, ::Include<::HorseFlagComponent>> onlyHorseView,
69 ::ViewT<::StrictEntityContext, ::PlayerIsSleepingFlagComponent const, ::PlayerComponent const> playerView
Definition StrictEntityContext.h:8
Definition ActorDataFlagComponent.h:9
Definition ActorIsImmobileFlagComponent.h:5
Definition ActorIsKnockedBackOnDeathFlagComponent.h:5
Definition HorseFlagComponent.h:5
Definition MobAllowStandSlidingFlagComponent.h:5
Definition MobFlagComponent.h:5
Definition MobIsJumpingFlagComponent.h:5
Definition MoveRequestComponent.h:11
Definition MovementAttributesComponent.h:5
Definition OnGroundFlagComponent.h:5
Definition PlayerComponent.h:5
Definition PlayerIsSleepingFlagComponent.h:5