LeviLamina
Loading...
Searching...
No Matches
RectLayoutFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/game_refs/WeakRef.h"
7
#include "mc/world/level/levelgen/feature/IFeature.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
// clang-format on
13
14
class
RectLayoutFeature
:
public
::IFeature
{
15
public
:
16
// RectLayoutFeature inner types declare
17
// clang-format off
18
struct
FeatureArea
;
19
// clang-format on
20
21
// RectLayoutFeature inner types define
22
struct
FeatureArea
{
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureRef;
27
::ll::TypedStorage<4, 4, int> mX;
28
::ll::TypedStorage<4, 4, int> mY;
29
::ll::TypedStorage<4, 4, int> mWidth;
30
::ll::TypedStorage<4, 4, int> mHeight;
31
// NOLINTEND
32
};
33
34
public
:
35
// member variables
36
// NOLINTBEGIN
37
::ll::TypedStorage<8, 24, ::std::vector<::RectLayoutFeature::FeatureArea>> mFeatureAreaCollection;
38
::ll::TypedStorage<4, 4, float> mPercentageEmptySpace;
39
// NOLINTEND
40
41
public
:
42
// virtual functions
43
// NOLINTBEGIN
44
// vIndex: 1
45
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
46
47
// vIndex: 0
48
virtual
~RectLayoutFeature
()
/*override*/
=
default
;
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCAPI ::std::optional<::BlockPos> $place(
::IFeature::PlacementContext
const
&
context
)
const
;
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCNAPI
static
void
**
$vftable
();
61
// NOLINTEND
62
};
BlockPos
Definition
BlockPos.h:17
IFeature
Definition
IFeature.h:18
RectLayoutFeature
Definition
RectLayoutFeature.h:14
RectLayoutFeature::$vftable
static MCAPI void ** $vftable()
IFeature::PlacementContext
Definition
IFeature.h:26
RectLayoutFeature::FeatureArea
Definition
RectLayoutFeature.h:22
context
Definition
context.h:5
src-server
mc
world
level
levelgen
feature
RectLayoutFeature.h
Generated on Sun Oct 12 2025 06:32:31 for LeviLamina by
1.12.0