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