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