LeviLamina
Loading...
Searching...
No Matches
JumpControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/control/Control.h"
7#include "mc/world/actor/ai/control/JumpType.h"
8
9// auto generated forward declare list
10// clang-format off
12class Mob;
13namespace SharedTypes::v1_26_40 { struct JumpControlComponentDefinition; }
14// clang-format on
15
16class JumpControl : public ::Control {
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ~JumpControl() /*override*/ = default;
21
22 virtual void
23 initializeInternal(::Mob& mob, ::SharedTypes::v1_26_40::JumpControlComponentDefinition const* description);
24
25 virtual ::std::unique_ptr<::JumpControl> clone() const;
26
27 virtual void tick(::JumpControlComponent& parent, ::Mob& mob);
28
29 virtual int getJumpDelay(::JumpControlComponent const& parent) const;
30
31 virtual float getJumpPower(::JumpControlComponent const& parent) const;
32
33 virtual ::JumpType getJumpType(::JumpControlComponent const& parent) const;
34
35 virtual void setJumpType(::JumpControlComponent& parent, ::JumpType type);
36
37 virtual void resetSpeedModifier(::JumpControlComponent const& parent, ::Mob& mob);
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCFOLD void
44 $initializeInternal(::Mob& mob, ::SharedTypes::v1_26_40::JumpControlComponentDefinition const* description);
45
46 MCAPI ::std::unique_ptr<::JumpControl> $clone() const;
47
48 MCAPI void $tick(::JumpControlComponent& parent, ::Mob& mob);
49
50 MCFOLD int $getJumpDelay(::JumpControlComponent const& parent) const;
51
52 MCAPI float $getJumpPower(::JumpControlComponent const& parent) const;
53
54 MCFOLD ::JumpType $getJumpType(::JumpControlComponent const& parent) const;
55
56 MCFOLD void $setJumpType(::JumpControlComponent& parent, ::JumpType type);
57
58 MCFOLD void $resetSpeedModifier(::JumpControlComponent const& parent, ::Mob& mob);
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition Control.h:5
Definition JumpControlComponent.h:16
Definition JumpControl.h:16
static MCAPI void ** $vftable()
Definition Mob.h:56
Definition JumpControlComponentDefinition.h:10