LeviLamina
Loading...
Searching...
No Matches
WaterlilyBlock.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 Block;
13class BlockPos;
14class BlockSource;
17// clang-format on
18
19class WaterlilyBlock : public ::FoliageBlock {
20public:
21 // prevent constructor by default
22 WaterlilyBlock();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
28
29 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
30
31 virtual ::AABB getCollisionShape(
32 ::Block const& block,
33 ::IConstBlockSource const& region,
34 ::BlockPos const& pos,
36 ) const /*override*/;
37
38 virtual bool isLavaBlocking() const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI WaterlilyBlock(::std::string const& nameId, int id);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::std::string const& nameId, int id);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
57
58 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
59
60 MCFOLD ::AABB $getCollisionShape(
61 ::Block const& block,
62 ::IConstBlockSource const& region,
63 ::BlockPos const& pos,
65 ) const;
66
67 MCFOLD bool $isLavaBlocking() const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition AABB.h:18
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition optional_ref.h:10