LeviLamina
Loading...
Searching...
No Matches
AzaleaBlock.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/item/FertilizerType.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;
19class Random;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 5
27 virtual ::AABB getCollisionShape(
28 ::Block const& block,
29 ::IConstBlockSource const& region,
30 ::BlockPos const& pos,
32 ) const /*override*/;
33
34 // vIndex: 73
35 virtual bool
36 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
37 /*override*/;
38
39 // vIndex: 75
40 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
41 /*override*/;
42
43 // vIndex: 23
44 virtual bool canProvideMultifaceSupport(::Block const& block, uchar face) const /*override*/;
45
46 // vIndex: 30
47 virtual bool isLavaBlocking() const /*override*/;
48
49 // vIndex: 80
50 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
51
52 // vIndex: 0
53 virtual ~AzaleaBlock() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI bool _growTree(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD ::AABB $getCollisionShape(
66 ::Block const& block,
67 ::IConstBlockSource const& region,
68 ::BlockPos const& pos,
70 ) const;
71
72 MCAPI bool
73 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
74
75 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
76
77 MCFOLD bool $canProvideMultifaceSupport(::Block const& block, uchar face) const;
78
79 MCFOLD bool $isLavaBlocking() const;
80
81 MCAPI bool $mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const;
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition AABB.h:18
Definition Actor.h:103
Definition AzaleaBlock.h:22
static MCAPI void ** $vftable()
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition FoliageBlock.h:23
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition Random.h:11
Definition optional_ref.h:10