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;
19namespace BlockEvents { class BlockPlaceEvent; }
20// clang-format on
21
22class CoralFan : public ::FoliageBlock {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 CoralFan();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool isValidAuxValue(int auxValue) const /*override*/;
37
38 virtual ::AABB getCollisionShape(
39 ::Block const&,
41 ::BlockPos const&,
43 ) const /*override*/;
44
45 virtual bool mayConsumeFertilizer(::BlockSource& region) const /*override*/;
46
47 virtual bool isLavaBlocking() const /*override*/;
48
49 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
50 /*override*/;
51
52 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
53 /*override*/;
54
55 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
56
57 virtual void checkAlive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
58
59 virtual ~CoralFan() /*override*/;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI CoralFan(::std::string const& nameId, int id, ::HashedString const& deadVersion);
66
67 MCAPI void onPlaceBase(::BlockEvents::BlockPlaceEvent& eventData) const;
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::std::string const& nameId, int id, ::HashedString const& deadVersion);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCFOLD bool $isValidAuxValue(int auxValue) const;
86
87 MCFOLD ::AABB $getCollisionShape(
88 ::Block const&,
90 ::BlockPos const&,
92 ) const;
93
94 MCFOLD bool $mayConsumeFertilizer(::BlockSource& region) const;
95
96 MCFOLD bool $isLavaBlocking() const;
97
98 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
99
100 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
101
102 MCFOLD bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
103
104 MCAPI void $checkAlive(::BlockSource& region, ::BlockPos const& pos) const;
105
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftable();
113 // NOLINTEND
114};
Definition AABB.h:18
Definition Actor.h:113
Definition BlockPlaceEvent.h:16
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition FoliageBlock.h:21
Definition GetCollisionShapeInterface.h:13
Definition HashedString.h:5
Definition IConstBlockSource.h:25
Definition optional_ref.h:10