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
14
class
BlockPos
;
15
class
ITreeCanopyWrapper
;
16
class
ITreeRootWrapper
;
17
class
ITreeTrunkWrapper
;
18
namespace
FeatureLoading {
struct
FeatureRootParseContext
; }
19
namespace
JsonUtil {
class
EmptyClass
; }
20
// clang-format on
21
22
class
VanillaTreeFeature
:
public
::ITreeFeature
{
23
// size:ok
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
~VanillaTreeFeature
()
/*override*/
=
default
;
28
29
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// static functions
34
// NOLINTBEGIN
35
MCAPI
static
void
_buildSchema(
36
::JsonUtil::JsonSchemaObjectNode
<
37
::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext>
,
38
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
>& schemaNode
39
);
40
41
MCAPI
static
void
_buildVanillaCanopyVariants(
42
::JsonUtil::JsonSchemaObjectNode
<
43
::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext>
,
44
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
>& schemaNode,
45
::std::function<
::ITreeCanopyWrapper
&(
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
*)>
46
canopyAccessor
47
);
48
49
MCAPI
static
void
_buildVanillaRootVariants(
50
::JsonUtil::JsonSchemaObjectNode
<
51
::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext>
,
52
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
>& schemaNode,
53
::std::function<
::ITreeRootWrapper
&(
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
*)>
54
rootAccessor
55
);
56
57
MCAPI
static
void
_buildVanillaTrunkVariants(
58
::JsonUtil::JsonSchemaObjectNode
<
59
::JsonUtil::JsonParseState<::JsonUtil::EmptyClass, ::FeatureLoading::FeatureRootParseContext>
,
60
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
>& schemaNode,
61
::std::function<
::ITreeTrunkWrapper
&(
::FeatureLoading::ConcreteFeatureHolder<::VanillaTreeFeature>
*)>
62
trunkAccessor
63
);
64
// NOLINTEND
65
66
public
:
67
// virtual function thunks
68
// NOLINTBEGIN
69
MCAPI ::std::optional<::BlockPos> $place(
::IFeature::PlacementContext
const
&
context
)
const
;
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCNAPI
static
void
**
$vftable
();
78
// NOLINTEND
79
};
BlockPos
Definition
BlockPos.h:21
ITreeCanopyWrapper
Definition
ITreeCanopyWrapper.h:10
ITreeFeature
Definition
ITreeFeature.h:17
ITreeRootWrapper
Definition
ITreeRootWrapper.h:10
ITreeTrunkWrapper
Definition
ITreeTrunkWrapper.h:10
JsonUtil::EmptyClass
Definition
EmptyClass.h:7
JsonUtil::JsonParseState
Definition
JsonParseState.h:8
JsonUtil::JsonSchemaObjectNode
Definition
JsonSchemaObjectNode.h:8
VanillaTreeFeature
Definition
VanillaTreeFeature.h:22
VanillaTreeFeature::$vftable
static MCAPI void ** $vftable()
FeatureLoading::ConcreteFeatureHolder
Definition
ConcreteFeatureHolder.h:8
FeatureLoading::FeatureRootParseContext
Definition
FeatureRootParseContext.h:15
IFeature::PlacementContext
Definition
IFeature.h:27
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
VanillaTreeFeature.h
Generated on
for LeviLamina by
1.16.1