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;
19// clang-format on
20
21class AzaleaBlock : public ::FoliageBlock {
22public:
23 // prevent constructor by default
24 AzaleaBlock();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::AABB getCollisionShape(
30 ::Block const& block,
31 ::IConstBlockSource const& region,
32 ::BlockPos const& pos,
34 ) const /*override*/;
35
36 virtual bool
37 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
38 /*override*/;
39
40 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
41 /*override*/;
42
43 virtual bool canProvideMultifaceSupport(::Block const& block, uchar face) const /*override*/;
44
45 virtual bool isLavaBlocking() const /*override*/;
46
47 virtual bool mayPlaceOn(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI AzaleaBlock(::std::string const& nameId, int id);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::std::string const& nameId, int id);
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
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCAPI static void** $vftable();
90 // NOLINTEND
91};
Definition AABB.h:18
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition FoliageBlock.h:21
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition optional_ref.h:10