LeviLamina
Loading...
Searching...
No Matches
NyliumBlock.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/BlockType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15class IRandom;
16namespace BlockEvents { class BlockRandomTickEvent; }
17// clang-format on
18
19class NyliumBlock : public ::BlockType {
20public:
21 // NyliumBlock inner types declare
22 // clang-format off
25 // clang-format on
26
27 // NyliumBlock inner types define
29
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const
36 /*override*/;
37
38 virtual bool
39 onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* entity, ::FertilizerType fType) const
40 /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static bool _isGrowthBlockingHalfSlabBlock(::Block const& block);
53
54 MCAPI static bool _isGrowthBlockingStairBlock(::Block const& block);
55
56 MCAPI static ::Block const& crimsonBlockProvider(::IRandom& random);
57
58 MCAPI static ::Block const& netherSproutBlockProvider(::IRandom& random);
59
60 MCAPI static ::Block const& warpedBlockProvider(::IRandom& random);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCFOLD bool $canBeFertilized(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
67
68 MCAPI bool
69 $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor* entity, ::FertilizerType fType) const;
70
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
Definition Actor.h:113
Definition BlockRandomTickEvent.h:16
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition IRandom.h:10
Definition NyliumBlock.h:19