LeviLamina
Loading...
Searching...
No Matches
SandBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/FertilizerType.h"
7#include "mc/world/level/block/FallingBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockActor;
14class BlockPos;
15class BlockSource;
16class ItemInstance;
17namespace mce { class Color; }
18// clang-format on
19
20class SandBlock : public ::FallingBlock {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 90
25 virtual ::ItemInstance asItemInstance(::Block const& block, ::BlockActor const*) const /*override*/;
26
27 // vIndex: 150
28 virtual ::mce::Color getDustColor(::Block const& block) const /*override*/;
29
30 // vIndex: 151
31 virtual ::std::string getDustParticleName(::Block const& block) const /*override*/;
32
33 // vIndex: 74
34 virtual bool
35 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
36 /*override*/;
37
38 // vIndex: 75
39 virtual bool mayConsumeFertilizer(::BlockSource& region) const /*override*/;
40
41 // vIndex: 76
42 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
43 /*override*/;
44
45 // vIndex: 46
46 virtual bool canBeOriginalSurface() const /*override*/;
47
48 // vIndex: 0
49 virtual ~SandBlock() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCFOLD ::ItemInstance $asItemInstance(::Block const& block, ::BlockActor const*) const;
62
63 MCAPI ::mce::Color $getDustColor(::Block const& block) const;
64
65 MCAPI ::std::string $getDustParticleName(::Block const& block) const;
66
67 MCFOLD bool
68 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
69
70 MCFOLD bool $mayConsumeFertilizer(::BlockSource& region) const;
71
72 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
73
74 MCFOLD bool $canBeOriginalSurface() const;
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCAPI static void** $vftable();
81 // NOLINTEND
82};
Definition Actor.h:104
Definition BlockActor.h:32
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition FallingBlock.h:20
Definition ItemInstance.h:16
Definition SandBlock.h:20