LeviLamina
Loading...
Searching...
No Matches
StructureHelpers.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Block
;
8
class
BlockSource
;
9
class
BoundingBox
;
10
class
Random
;
11
class
StructurePiece
;
12
// clang-format on
13
14
class
StructureHelpers
{
15
public
:
16
// static functions
17
// NOLINTBEGIN
18
MCAPI
static
bool
createChest(
19
::StructurePiece
& piece,
20
::BlockSource
& region,
21
::BoundingBox
const
& chunkBB,
22
::Random
& random,
23
int
x,
24
int
y,
25
int
z,
26
uchar direction,
27
::std::string
const
& lootTable
28
);
29
30
MCAPI
static
bool
createDispenser(
31
::StructurePiece
& piece,
32
::BlockSource
& region,
33
::BoundingBox
const
& chunkBB,
34
::Random
& random,
35
int
x,
36
int
z,
37
int
facing,
38
int
lootTable,
39
::std::string
const
& y
40
);
41
42
MCAPI
static
bool
createMinecartChest(
43
::StructurePiece
& piece,
44
::BlockSource
& region,
45
::BoundingBox
const
& chunkBB,
46
::Random
& random,
47
int
x,
48
int
z,
49
int
lootTable,
50
int
y,
51
::std::string
const
& direction
52
);
53
54
MCAPI
static
void
fillColumnDown(
55
::StructurePiece
& piece,
56
::BlockSource
& region,
57
::Block
const
& block,
58
int
x,
59
int
startY,
60
int
z,
61
::BoundingBox
const
& chunkBB
62
);
63
64
MCAPI
static
int
getTorchRotation(
int
structureOrientation, ushort torchOrientation);
65
// NOLINTEND
66
};
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:36
BoundingBox
Definition
BoundingBox.h:18
Random
Definition
Random.h:16
StructureHelpers
Definition
StructureHelpers.h:14
StructurePiece
Definition
StructurePiece.h:18
src
mc
world
level
levelgen
structure
StructureHelpers.h
Generated on Sat Apr 26 2025 05:56:27 for LeviLamina by
1.12.0