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
MCNAPI ::std::optional<::BlockPos>
_findSnapPos
(
54
::IBlockWorldGenAPI
& target,
55
::BlockPos
const
& pos,
56
::SnapToSurfaceFeature::Surface targetSurface
57
)
const
;
58
// NOLINTEND
59
60
public
:
61
// virtual function thunks
62
// NOLINTBEGIN
63
MCNAPI ::std::optional<::BlockPos>
$place
(
::IFeature::PlacementContext
const
&
context
)
const
;
64
// NOLINTEND
65
66
public
:
67
// vftables
68
// NOLINTBEGIN
69
MCNAPI
static
void
**
$vftable
();
70
// NOLINTEND
71
};
BlockPos
Definition
BlockPos.h:18
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IFeature
Definition
IFeature.h:13
SnapToSurfaceFeature
Definition
SnapToSurfaceFeature.h:14
SnapToSurfaceFeature::_findSnapPos
MCAPI ::std::optional<::BlockPos > _findSnapPos(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::SnapToSurfaceFeature::Surface targetSurface) const
SnapToSurfaceFeature::$place
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
SnapToSurfaceFeature::$vftable
static MCAPI void ** $vftable()
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 Fri Jun 13 2025 05:05:19 for LeviLamina by
1.12.0