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 MCNAPI static void _buildSchema(
40 );
41
42 MCNAPI static void _buildVanillaCanopyVariants(
47 canopyAccessor
48 );
49
50 MCNAPI static void _buildVanillaTrunkVariants(
55 trunkAccessor
56 );
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI ::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:18
Definition ITreeCanopyWrapper.h:5
Definition ITreeFeature.h:13
Definition ITreeTrunkWrapper.h:5
Definition JsonParseState.h:8
Definition JsonSchemaObjectNode.h:8
Definition VanillaTreeFeature.h:21
static MCAPI void ** $vftable()
static MCAPI void _buildVanillaTrunkVariants(::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext >, ::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > > &schemaNode, ::std::function<::ITreeTrunkWrapper &(::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > *)> trunkAccessor)
static MCAPI void _buildSchema(::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext >, ::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > > &schemaNode)
static MCAPI void _buildVanillaCanopyVariants(::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext >, ::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > > &schemaNode, ::std::function<::ITreeCanopyWrapper &(::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > *)> canopyAccessor)
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
Definition ConcreteFeatureHolder.h:8
Definition IFeature.h:21
Definition context.h:5