LeviLamina
Loading...
Searching...
No Matches
WitherSkull.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorInitializationMethod.h"
7#include "mc/world/actor/projectile/Fireball.h"
8
9// auto generated forward declare list
10// clang-format off
13class ActorHurtResult;
14class Block;
15class EntityContext;
18// clang-format on
19
20class WitherSkull : public ::Fireball {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, int> mLifetime;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 WitherSkull();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void
35 initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
36
37 virtual bool shouldBurn() /*override*/;
38
39 virtual bool isOnFire() const /*override*/;
40
41 virtual bool canDestroyBlock(::Block const& block) const /*override*/;
42
43 virtual ::ActorHurtResult
44 _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
45
46 virtual float getInertia() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI WitherSkull(
53 ::ActorDefinitionGroup* definitions,
54 ::ActorDefinitionIdentifier const& definitionName,
55 ::EntityContext& entityContext
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(
63 ::ActorDefinitionGroup* definitions,
64 ::ActorDefinitionIdentifier const& definitionName,
65 ::EntityContext& entityContext
66 );
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
73
74 MCFOLD bool $shouldBurn();
75
76 MCFOLD bool $isOnFire() const;
77
78 MCAPI bool $canDestroyBlock(::Block const& block) const;
79
80 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
81
82 MCAPI float $getInertia();
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:37
Definition ActorHurtResult.h:5
Definition Block.h:69
Definition EntityContext.h:17
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:14