Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructureHelpers Class Reference

Static Public Member Functions

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 createDispenser (::StructurePiece &piece, ::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, int x, int y, int z, int facing, ::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 getDirectionRotation (int structureOrientation, ushort inOrientation)
static MCAPI int getDoorRotation (int structureOrientation, ushort inOrientation)
static MCAPI int getFacingDirectionRotation (int structureOrientation, ushort inOrientation)
static MCAPI int getTorchRotation (int structureOrientation, ushort torchOrientation)
static MCAPI int getWeirdoDirectionRotation (int structureOrientation, ushort inOrientation)

Member Function Documentation

◆ createDispenser()

MCAPI bool StructureHelpers::createDispenser ( ::StructurePiece & piece,
::BlockSource & region,
::BoundingBox const & chunkBB,
::Random & random,
int x,
int y,
int z,
int facing,
::std::string const & lootTable )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createMinecartChest()

MCAPI bool StructureHelpers::createMinecartChest ( ::StructurePiece & piece,
::BlockSource & region,
::BoundingBox const & chunkBB,
::Random & random,
int x,
int y,
int z,
int direction,
::std::string const & lootTable )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fillColumnDown()

MCAPI void StructureHelpers::fillColumnDown ( ::StructurePiece & piece,
::BlockSource & region,
::Block const & block,
int x,
int startY,
int z,
::BoundingBox const & chunkBB )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getDirectionRotation()

MCAPI int StructureHelpers::getDirectionRotation ( int structureOrientation,
ushort inOrientation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getDoorRotation()

MCAPI int StructureHelpers::getDoorRotation ( int structureOrientation,
ushort inOrientation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getFacingDirectionRotation()

MCAPI int StructureHelpers::getFacingDirectionRotation ( int structureOrientation,
ushort inOrientation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getTorchRotation()

MCAPI int StructureHelpers::getTorchRotation ( int structureOrientation,
ushort torchOrientation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getWeirdoDirectionRotation()

MCAPI int StructureHelpers::getWeirdoDirectionRotation ( int structureOrientation,
ushort inOrientation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: