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
7class Block;
8class BlockSource;
9class BoundingBox;
10class Random;
11class StructurePiece;
12// clang-format on
13
15public:
16 // static functions
17 // NOLINTBEGIN
18 MCNAPI 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 MCNAPI static bool createDispenser(
31 ::StructurePiece& piece,
32 ::BlockSource& region,
33 ::BoundingBox const& chunkBB,
34 ::Random& random,
35 int x,
36 int y,
37 int z,
38 int facing,
39 ::std::string const& lootTable
40 );
41
42 MCNAPI static bool createMinecartChest(
43 ::StructurePiece& piece,
44 ::BlockSource& region,
45 ::BoundingBox const& chunkBB,
46 ::Random& random,
47 int x,
48 int y,
49 int z,
50 int direction,
51 ::std::string const& lootTable
52 );
53
54 MCNAPI 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 MCNAPI static int getTorchRotation(int structureOrientation, ushort torchOrientation);
65 // NOLINTEND
66};
Definition BlockSource.h:67
Definition Block.h:38
Definition BoundingBox.h:13
Definition Random.h:11
Definition StructureHelpers.h:14
static MCAPI bool createChest(::StructurePiece &piece, ::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, int x, int y, int z, uchar direction, ::std::string const &lootTable)
static MCAPI bool createMinecartChest(::StructurePiece &piece, ::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, int x, int y, int z, int direction, ::std::string const &lootTable)
static MCAPI void fillColumnDown(::StructurePiece &piece, ::BlockSource &region, ::Block const &block, int x, int startY, int z, ::BoundingBox const &chunkBB)
static MCAPI int getTorchRotation(int structureOrientation, ushort torchOrientation)
static MCAPI bool createDispenser(::StructurePiece &piece, ::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, int x, int y, int z, int facing, ::std::string const &lootTable)
Definition StructurePiece.h:18