Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI void
45
46 MCNAPI ::std::unique_ptr<::JumpControl> $clone() const;
47
48 MCNAPI void $tick(::JumpControlComponent& parent, ::Mob& mob);
49
50 MCNAPI int $getJumpDelay(::JumpControlComponent const& parent) const;
51
52 MCNAPI float $getJumpPower(::JumpControlComponent const& parent) const;
53
54 MCNAPI ::JumpType $getJumpType(::JumpControlComponent const& parent) const;
55
56 MCNAPI void $setJumpType(::JumpControlComponent& parent, ::JumpType type);
57
58 MCNAPI 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
MCAPI void $tick(::JumpControlComponent &parent, ::Mob &mob)
MCAPI float $getJumpPower(::JumpControlComponent const &parent) const
MCAPI void $setJumpType(::JumpControlComponent &parent, ::JumpType type)
MCAPI int $getJumpDelay(::JumpControlComponent const &parent) const
MCAPI::JumpType $getJumpType(::JumpControlComponent const &parent) const
MCAPI void $resetSpeedModifier(::JumpControlComponent const &parent, ::Mob &mob)
MCAPI void $initializeInternal(::Mob &mob, ::SharedTypes::v1_26_40::JumpControlComponentDefinition const *description)
MCAPI ::std::unique_ptr<::JumpControl > $clone() const
static MCAPI void ** $vftable()
Definition Mob.h:58
Definition JumpControlComponentDefinition.h:10