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