Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI static void _buildVanillaCanopyVariants(
39 canopyAccessor
40 );
41
42 MCNAPI static void _buildVanillaTrunkVariants(
47 trunkAccessor
48 );
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
55
56
57 // NOLINTEND
58};
Definition BlockPos.h:14
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 _buildVanillaTrunkVariants(::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext >, ::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > > &schemaNode, ::std::function<::ITreeTrunkWrapper &(::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature > *)> trunkAccessor)
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 FeatureRootParseContext.h:15
Definition IFeature.h:26
Definition context.h:5