LeviLamina
Loading...
Searching...
No Matches
VanillaTreeFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonParseState.h"
7#include "mc/util/json_util/JsonSchemaObjectNode.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9#include "mc/world/level/levelgen/feature/ITreeFeature.h"
10#include "mc/world/level/levelgen/feature/feature_loading/ConcreteFeatureHolder.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
17namespace FeatureLoading { struct FeatureRootParseContext; }
18namespace JsonUtil { class EmptyClass; }
19// clang-format on
20
22 // size:ok
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~VanillaTreeFeature() /*override*/ = default;
27
28 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
29 // NOLINTEND
30
31public:
32 // static functions
33 // NOLINTBEGIN
34 MCAPI static void _buildSchema(
38 );
39
40 MCAPI static void _buildVanillaCanopyVariants(
45 canopyAccessor
46 );
47
48 MCAPI static void _buildVanillaTrunkVariants(
53 trunkAccessor
54 );
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BlockPos.h:19
Definition ITreeCanopyWrapper.h:10
Definition ITreeFeature.h:17
Definition ITreeTrunkWrapper.h:10
Definition EmptyClass.h:7
Definition JsonParseState.h:8
Definition JsonSchemaObjectNode.h:8
Definition VanillaTreeFeature.h:21
static MCAPI void ** $vftable()
Definition ConcreteFeatureHolder.h:8
Definition FeatureRootParseContext.h:15
Definition IFeature.h:26
Definition context.h:5