LeviLamina
Loading...
Searching...
No Matches
Feature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/legacy/ActorUniqueID.h"
7
#include "mc/world/level/levelgen/feature/IFeature.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Block
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
Random
;
15
class
WorldChangeTransaction
;
16
// clang-format on
17
18
class
Feature
:
public
::IFeature
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 8, ::ActorUniqueID> mPlacerID;
23
::ll::TypedStorage<8, 8, ::WorldChangeTransaction*> mTransaction;
24
// NOLINTEND
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
// vIndex: 0
30
virtual
~Feature
()
/*override*/
;
31
32
// vIndex: 4
33
virtual
bool
place(
::BlockSource
&,
::BlockPos
const
&,
::Random
&)
const
= 0;
34
35
// vIndex: 1
36
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
37
// NOLINTEND
38
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCNAPI
bool
_placeBlock
(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& block)
const
;
43
// NOLINTEND
44
45
public
:
46
// destructor thunk
47
// NOLINTBEGIN
48
MCNAPI
void
$dtor
();
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCNAPI ::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:18
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:38
Feature
Definition
Feature.h:18
Feature::$dtor
MCAPI void $dtor()
Feature::_placeBlock
MCAPI bool _placeBlock(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block) const
Feature::$place
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
Feature::$vftable
static MCAPI void ** $vftable()
IFeature
Definition
IFeature.h:13
Random
Definition
Random.h:11
WorldChangeTransaction
Definition
WorldChangeTransaction.h:12
IFeature::PlacementContext
Definition
IFeature.h:21
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
Feature.h
Generated on Fri Jun 13 2025 05:05:18 for LeviLamina by
1.12.0