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