LeviLamina
Loading...
Searching...
No Matches
SeagrassFeature.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 Random;
14// clang-format on
15
16class SeagrassFeature : public ::Feature {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int const> mIterations;
21 ::ll::TypedStorage<4, 4, float const> mTallSeagrassChance;
22 ::ll::TypedStorage<8, 8, ::Block const&> mSeagrassBlock;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SeagrassFeature& operator=(SeagrassFeature const&);
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 4
35 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
36
37 // vIndex: 0
38 virtual ~SeagrassFeature() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void
45 _tryPlaceSeagrass(::BlockSource& region, ::BlockPos const& pos, ::Random& random, bool isColdEnoughForIce) const;
46
47 MCAPI void _tryPlaceTallSeagrass(::BlockSource& region, ::BlockPos const& pos, bool isColdEnoughForIce) const;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition Feature.h:18
Definition Random.h:10
Definition SeagrassFeature.h:16
static MCAPI void ** $vftable()