Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HugeMushroomFeature.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
17public:
18 // HugeMushroomFeature inner types define
19 enum class MushroomVariant : int {
20 Brown = 0,
21 Red = 1,
22 Count = 2,
23 RandomVariant = 3,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::HugeMushroomFeature::MushroomVariant> mForcedType;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static bool _canSurvive(::Block const& belowBlock);
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCNAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition Feature.h:18
Definition HugeMushroomFeature.h:16
MCAPI bool $place(::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
static MCAPI void ** $vftable()
Definition Random.h:10