LeviLamina
Loading...
Searching...
No Matches
SpringFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/Feature.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class BlockSource;
13class BlockType;
14class Random;
15// clang-format on
16
17class SpringFeature : public ::Feature {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 SpringFeature& operator=(SpringFeature const&);
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 4
34 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
35
36 // vIndex: 0
37 virtual ~SpringFeature() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI bool isValidSpringBorderBlock(::BlockType const& block, ::BlockSource& region) const;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition BlockType.h:84
Definition Block.h:37
Definition Feature.h:18
Definition Random.h:10
Definition SpringFeature.h:17
static MCAPI void ** $vftable()