LeviLamina
Loading...
Searching...
No Matches
MossBlock.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/BlockLegacy.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15// clang-format on
16
17class MossBlock : public ::BlockLegacy {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mOnFertilizeFeature;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 MossBlock();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 73
32 virtual bool
33 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const
34 /*override*/;
35
36 // vIndex: 75
37 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
38 /*override*/;
39
40 // vIndex: 0
41 virtual ~MossBlock() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI MossBlock(::std::string const& nameId, int id, ::std::optional<::std::string> onFertilizeFeature);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::std::string const& nameId, int id, ::std::optional<::std::string> onFertilizeFeature);
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI bool
60 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* actor, ::FertilizerType fType) const;
61
62 MCAPI bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition Actor.h:103
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition MossBlock.h:17
static MCAPI void ** $vftable()