Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LavaSlime.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/monster/Slime.h"
7
8// auto generated forward declare list
9// clang-format off
11class EntityContext;
14// clang-format on
15
16class LavaSlime : public ::Slime {
17public:
18 // prevent constructor by default
19 LavaSlime();
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
25
26 virtual bool isDarkEnoughToSpawn() const /*override*/;
27
28 virtual int getArmorValue() const /*override*/;
29
30 virtual float getBrightness(float a, ::IConstBlockSource const& region) const /*override*/;
31
32 virtual bool isOnFire() const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI LavaSlime(
39 ::ActorDefinitionGroup* definitions,
40 ::ActorDefinitionIdentifier const& definitionName,
41 ::EntityContext& entityContext
42 );
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI void* $ctor(
49 ::ActorDefinitionGroup* definitions,
50 ::ActorDefinitionIdentifier const& definitionName,
51 ::EntityContext& entityContext
52 );
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCNAPI bool $checkSpawnRules(bool fromSpawner);
59
60 MCNAPI bool $isDarkEnoughToSpawn() const;
61
62 MCNAPI int $getArmorValue() const;
63
64 MCNAPI float $getBrightness(float a, ::IConstBlockSource const& region) const;
65
66 MCNAPI bool $isOnFire() const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition ActorDefinitionGroup.h:26
Definition EntityContext.h:15
Definition IConstBlockSource.h:25
MCAPI bool $isOnFire() const
static MCAPI void ** $vftable()
MCAPI bool $checkSpawnRules(bool fromSpawner)
MCAPI int $getArmorValue() const
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI LavaSlime(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI float $getBrightness(float a, ::IConstBlockSource const &region) const
MCAPI bool $isDarkEnoughToSpawn() const
Definition ActorDefinitionIdentifier.h:15