LeviLamina
Loading...
Searching...
No Matches
MobMovementClimb.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/strict/EntityModifier.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockType;
22// clang-format on
23
24namespace MobMovementClimb {
25// functions
26// NOLINTBEGIN
27MCAPI bool canAutoClimbNow(
28 ::ActorDataFlagComponent const& synchedActorData,
29 ::AABBShapeComponent const& aabbShape,
30 ::StateVectorComponent const& stateVector,
31 bool canClimbInPowderSnow,
32 ::IConstBlockSource const& region
33);
34
35MCAPI void forAutoClimbSystems(::std::function<void(::TickingSystemWithInfo&&)> const& func);
36
37MCAPI ::BlockType const& getBlockTypeAtFeet(
38 ::AABBShapeComponent const& aabbShape,
39 ::StateVectorComponent const& stateVector,
40 ::IConstBlockSource const& constBlockSource
41);
42
43MCAPI bool isAutoClimbableBlock(bool canClimbInPowderSnow, ::BlockType const& block);
44
45MCAPI void tickAutoClimbingMob(
46 ::StrictEntityContext const& entity,
47 ::Optional<::CanStandOnSnowFlagComponent const> canStandOnSnow,
48 ::Optional<::HasLightweightFamilyFlagComponent const> hasLightweightFamily,
49 ::ActorDataFlagComponent const& synchedActorData,
50 ::AABBShapeComponent const& aabbShape,
51 ::StateVectorComponent& stateVector,
52 ::EntityModifier<::AutoClimbTravelFlagComponent> climbModifier,
53 ::IConstBlockSource const& region
54);
55
56MCAPI void tickAutoClimbingMobInLava(
57 ::StrictEntityContext const& entity,
58 ::NavigationComponent const& navigation,
59 ::Optional<::CanStandOnSnowFlagComponent const> canStandOnSnow,
60 ::Optional<::HasLightweightFamilyFlagComponent const> hasLightweightFamily,
61 ::ActorDataFlagComponent const& synchedActorData,
62 ::AABBShapeComponent const& aabbShape,
63 ::StateVectorComponent& stateVector,
64 ::EntityModifier<::AutoClimbTravelFlagComponent> climbModifier,
65 ::IConstBlockSource const& region
66);
67// NOLINTEND
68
69} // namespace MobMovementClimb
Definition BlockType.h:84
Definition IConstBlockSource.h:24
Definition NavigationComponent.h:22
Definition StrictEntityContext.h:14
Definition AABBShapeComponent.h:9
Definition ActorDataFlagComponent.h:10
Definition AutoClimbTravelFlagComponent.h:5
Definition CanStandOnSnowFlagComponent.h:5
Definition HasLightweightFamilyFlagComponent.h:5
Definition StateVectorComponent.h:8
Definition TickingSystemWithInfo.h:13