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 // vIndex: 0
27 virtual ~VanillaTreeFeature() /*override*/ = default;
28
29 // vIndex: 1
30 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
31 // NOLINTEND
32
33public:
34 // static functions
35 // NOLINTBEGIN
36 MCAPI static void _buildSchema(
40 );
41
42 MCAPI static void _buildVanillaCanopyVariants(
47 canopyAccessor
48 );
49
50 MCAPI static void _buildVanillaTrunkVariants(
55 trunkAccessor
56 );
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BlockPos.h:17
Definition ITreeCanopyWrapper.h:10
Definition ITreeFeature.h:17
Definition ITreeTrunkWrapper.h:10
Definition JsonParseState.h:8
Definition JsonSchemaObjectNode.h:8
Definition VanillaTreeFeature.h:21
static MCAPI void ** $vftable()
Definition ConcreteFeatureHolder.h:8
Definition IFeature.h:26
Definition context.h:5