Skip to content
LeviMC
English
AutoLightDark
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 // virtual functions
22 // NOLINTBEGIN
23 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
24
25 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
26
27 virtual ::AABB getCollisionShape(
28 ::Block const& block,
29 ::IConstBlockSource const& region,
30 ::BlockPos const& pos,
32 ) const /*override*/;
33
34 virtual bool isLavaBlocking() const /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCNAPI bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
41
42 MCNAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
43
44 MCNAPI ::AABB $getCollisionShape(
45 ::Block const& block,
46 ::IConstBlockSource const& region,
47 ::BlockPos const& pos,
49 ) const;
50
51 MCNAPI bool $isLavaBlocking() const;
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition AABB.h:18
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition WaterlilyBlock.h:19
MCAPI::AABB $getCollisionShape(::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const > entity) const
static MCAPI void ** $vftable()
MCAPI bool $isLavaBlocking() const
MCAPI bool $canSurvive(::BlockSource &region, ::BlockPos const &pos) const
MCAPI bool $mayPlaceOn(::BlockSource &region, ::BlockPos const &pos) const
Definition optional_ref.h:10