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 // prevent constructor by default
34 NyliumBlock();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual bool canBeFertilized(::BlockSource& aboveBlock, ::BlockPos const&, ::Block const&) const /*override*/;
40
41 virtual bool onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor*, ::FertilizerType) const
42 /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI NyliumBlock(::std::string const& nameId, int id);
49
50 MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent& eventData) const;
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static bool _isGrowthBlockingHalfSlabBlock(::Block const& block);
57
58 MCAPI static bool _isGrowthBlockingStairBlock(::Block const& block);
59
60 MCAPI static ::Block const& crimsonBlockProvider(::IRandom& random);
61
62 MCAPI static ::Block const& netherSproutBlockProvider(::IRandom&);
63
64 MCAPI static ::Block const& warpedBlockProvider(::IRandom& random);
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(::std::string const& nameId, int id);
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCFOLD bool $canBeFertilized(::BlockSource& aboveBlock, ::BlockPos const&, ::Block const&) const;
77
78 MCAPI bool $onFertilized(::BlockSource& region, ::BlockPos const& pos, ::Actor*, ::FertilizerType) const;
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition Actor.h:125
Definition BlockRandomTickEvent.h:17
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition IRandom.h:10