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