LeviLamina
Loading...
Searching...
No Matches
CoralFan.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/core/utility/optional_ref.h"
8#include "mc/world/level/block/FoliageBlock.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
17class Experiments;
20namespace BlockEvents { class BlockPlaceEvent; }
21// clang-format on
22
23class CoralFan : public ::FoliageBlock {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 CoralFan();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 48
38 virtual bool isValidAuxValue(int value) const /*override*/;
39
40 // vIndex: 5
41 virtual ::AABB getCollisionShape(
42 ::Block const&,
44 ::BlockPos const&,
46 ) const /*override*/;
47
48 // vIndex: 75
49 virtual bool mayConsumeFertilizer(::BlockSource& region) const /*override*/;
50
51 // vIndex: 30
52 virtual bool isLavaBlocking() const /*override*/;
53
54 // vIndex: 87
55 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
56 /*override*/;
57
58 // vIndex: 57
59 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
60 /*override*/;
61
62 // vIndex: 81
63 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
64
65 // vIndex: 148
66 virtual void checkAlive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
67
68 // vIndex: 131
69 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
70
71 // vIndex: 0
72 virtual ~CoralFan() /*override*/;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCAPI CoralFan(::std::string const& nameId, int id, ::HashedString const& deadVersion);
79
80 MCAPI void onPlaceBase(::BlockEvents::BlockPlaceEvent& eventData) const;
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor(::std::string const& nameId, int id, ::HashedString const& deadVersion);
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCAPI bool $isValidAuxValue(int value) const;
99
100 MCFOLD ::AABB $getCollisionShape(
101 ::Block const&,
102 ::IConstBlockSource const&,
103 ::BlockPos const&,
105 ) const;
106
107 MCFOLD bool $mayConsumeFertilizer(::BlockSource& region) const;
108
109 MCFOLD bool $isLavaBlocking() const;
110
111 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
112
113 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
114
115 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
116
117 MCAPI void $checkAlive(::BlockSource& region, ::BlockPos const& pos) const;
118
119 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCAPI static void** $vftable();
126 // NOLINTEND
127};
Definition AABB.h:18
Definition Actor.h:102
Definition BlockPlaceEvent.h:16
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition CoralFan.h:23
Definition Experiments.h:14
Definition FoliageBlock.h:23
Definition GetCollisionShapeInterface.h:13
Definition HashedString.h:5
Definition IConstBlockSource.h:24
Definition optional_ref.h:10