LeviLamina
Loading...
Searching...
No Matches
SnapToSurfaceFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/IFeature.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
IBlockWorldGenAPI
;
12
// clang-format on
13
14
class
SnapToSurfaceFeature
:
public
::IFeature
{
15
public
:
16
// SnapToSurfaceFeature inner types define
17
enum class
Surface :
int
{
18
Ceiling = 0,
19
Floor = 1,
20
RandomHorizontal = 2,
21
};
22
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::UntypedStorage<8, 24>
mUnkcc3148;
27
::ll::UntypedStorage<4, 4>
mUnkd9cc9e;
28
::ll::UntypedStorage<4, 4>
mUnk32934f;
29
::ll::UntypedStorage<8, 24>
mUnkee9932;
30
::ll::UntypedStorage<1, 1>
mUnk9d4a1e;
31
::ll::UntypedStorage<1, 1>
mUnk936b03;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
SnapToSurfaceFeature
& operator=(
SnapToSurfaceFeature
const
&);
37
SnapToSurfaceFeature
(
SnapToSurfaceFeature
const
&);
38
SnapToSurfaceFeature
();
39
40
public
:
41
// virtual functions
42
// NOLINTBEGIN
43
// vIndex: 0
44
virtual
~SnapToSurfaceFeature
()
/*override*/
=
default
;
45
46
// vIndex: 1
47
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
48
// NOLINTEND
49
50
public
:
51
// member functions
52
// NOLINTBEGIN
53
MCAPI ::std::optional<::BlockPos>
54
_findSnapPos(
::IBlockWorldGenAPI
& target,
::BlockPos
const
& pos, ::SnapToSurfaceFeature::Surface targetSurface)
55
const
;
56
// NOLINTEND
57
58
public
:
59
// destructor thunk
60
// NOLINTBEGIN
61
62
// NOLINTEND
63
64
public
:
65
// virtual function thunks
66
// NOLINTBEGIN
67
MCAPI ::std::optional<::BlockPos> $place(
::IFeature::PlacementContext
const
&
context
)
const
;
68
// NOLINTEND
69
70
public
:
71
// vftables
72
// NOLINTBEGIN
73
MCAPI
static
void
** $vftable();
74
// NOLINTEND
75
};
BlockPos
Definition
BlockPos.h:18
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IFeature
Definition
IFeature.h:13
SnapToSurfaceFeature
Definition
SnapToSurfaceFeature.h:14
IFeature::PlacementContext
Definition
IFeature.h:21
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
levelgen
feature
SnapToSurfaceFeature.h
Generated on Sat Apr 26 2025 05:56:26 for LeviLamina by
1.12.0