Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DesertPyramidPiece Class Reference
Inheritance diagram for DesertPyramidPiece:

Public Member Functions

virtual bool postProcess (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
virtual::StructurePieceType getType () const
MCAPI bool $postProcess (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI::StructurePieceType $getType () const
MCAPI bool updateAverageGroundHeight (::BlockSource &region, ::BoundingBox const &chunkBB, int offset)
MCAPI void * $ctor (int west, int floor, int north, int width, int height, int depth)
virtual void moveBoundingBox (int dx, int dy, int dz)
virtual void addChildren (::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
virtual void postProcessMobsAt (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
virtual bool isInInvalidLocation (::BlockSource &region, ::BoundingBox const &chunkBB)
virtual int getWorldX (int x, int z)
virtual int getWorldZ (int x, int z)
virtual void placeBlock (::BlockSource &region, ::Block const &block, int x, int y, int z, ::BoundingBox const &chunkBB)
virtual bool canBeReplaced (::BlockSource &region, int const x, int const y, int const z, ::BoundingBox const &chunkBB)
virtual void generateBox (::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, ::Block const &edgeBlock, ::Block const &fillBlock, bool skipAir)
MCAPI void generateBox (::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, bool skipAir, ::Random &random, ::BlockSelector const &selector)
virtual void addHardcodedSpawnAreas (::LevelChunk &chunk) const
MCAPI void generateMaybeBox (::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, float probability, int x0, int y0, int z0, int x1, int y1, int z1, ::Block const &edgeBlock, ::Block const &fillBlock, bool skipAir, bool excludeSky)
MCAPI void generateUpperHalfSphere (::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, ::Block const &fillBlock, bool skipAir)
MCAPI::Block const & getBlock (::BlockSource &region, int x, int y, int z, ::BoundingBox const &chunkBB)
MCAPI ushort getOrientationData (::Block const *block, ushort data)
MCAPI bool isReplaceableBlock (::Block const &block)
MCAPI void maybeGenerateBlockIfNotFloating (::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, float probability, int x, int y, int z, ::Block const &block)
MCAPI void $dtor ()
MCAPI void $moveBoundingBox (int dx, int dy, int dz)
MCFOLD void $addChildren (::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
MCFOLD void $postProcessMobsAt (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI bool $isInInvalidLocation (::BlockSource &region, ::BoundingBox const &chunkBB)
MCAPI int $getWorldX (int x, int z)
MCAPI int $getWorldZ (int x, int z)
MCAPI void $placeBlock (::BlockSource &region, ::Block const &block, int x, int y, int z, ::BoundingBox const &chunkBB)
MCFOLD bool $canBeReplaced (::BlockSource &region, int const x, int const y, int const z, ::BoundingBox const &chunkBB)
MCAPI void $generateBox (::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, ::Block const &edgeBlock, ::Block const &fillBlock, bool skipAir)
MCFOLD void $addHardcodedSpawnAreas (::LevelChunk &chunk) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mWidth
::ll::TypedStorage< 4, 4, int > mHeight
::ll::TypedStorage< 4, 4, int > mDepth
::ll::TypedStorage< 4, 4, int > mHeightPosition
::ll::TypedStorage< 8, 160, ::ScatteredFeaturePiece::LocalRegistry > mLocalRegistry
::ll::TypedStorage< 4, 24, ::BoundingBox > mBoundingBox
::ll::TypedStorage< 4, 4, int > mOrientation
::ll::TypedStorage< 4, 4, int > mGenDepth
::ll::TypedStorage< 8, 16, ::std::shared_ptr< bool > > mTerrainAdjustmentToken

Member Function Documentation

◆ postProcess()

virtual bool DesertPyramidPiece::postProcess ( ::BlockSource & region,
::Random & random,
::BoundingBox const & chunkBB )
virtual

Implements StructurePiece.

◆ $postProcess()

MCAPI bool DesertPyramidPiece::$postProcess ( ::BlockSource & region,
::Random & random,
::BoundingBox const & chunkBB )
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.

◆ $getType()

MCAPI::StructurePieceType DesertPyramidPiece::$getType ( ) const
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.

◆ updateAverageGroundHeight()

MCAPI bool ScatteredFeaturePiece::updateAverageGroundHeight ( ::BlockSource & region,
::BoundingBox const & chunkBB,
int offset )
inherited
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.

◆ $ctor()

MCAPI void * ScatteredFeaturePiece::$ctor ( int west,
int floor,
int north,
int width,
int height,
int depth )
inherited
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.

◆ generateBox()

MCAPI void StructurePiece::generateBox ( ::BlockSource & region,
::BoundingBox const & chunkBB,
int x0,
int y0,
int z0,
int x1,
int y1,
int z1,
bool skipAir,
::Random & random,
::BlockSelector const & selector )
inherited
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.

◆ generateMaybeBox()

MCAPI void StructurePiece::generateMaybeBox ( ::BlockSource & region,
::BoundingBox const & chunkBB,
::Random & random,
float probability,
int x0,
int y0,
int z0,
int x1,
int y1,
int z1,
::Block const & edgeBlock,
::Block const & fillBlock,
bool skipAir,
bool excludeSky )
inherited
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.

◆ generateUpperHalfSphere()

MCAPI void StructurePiece::generateUpperHalfSphere ( ::BlockSource & region,
::BoundingBox const & chunkBB,
int x0,
int y0,
int z0,
int x1,
int y1,
int z1,
::Block const & fillBlock,
bool skipAir )
inherited
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.

◆ getBlock()

MCAPI::Block const & StructurePiece::getBlock ( ::BlockSource & region,
int x,
int y,
int z,
::BoundingBox const & chunkBB )
inherited
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.

◆ getOrientationData()

MCAPI ushort StructurePiece::getOrientationData ( ::Block const * block,
ushort data )
inherited
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.

◆ isReplaceableBlock()

MCAPI bool StructurePiece::isReplaceableBlock ( ::Block const & block)
inherited
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.

◆ maybeGenerateBlockIfNotFloating()

MCAPI void StructurePiece::maybeGenerateBlockIfNotFloating ( ::BlockSource & region,
::BoundingBox const & chunkBB,
::Random & random,
float probability,
int x,
int y,
int z,
::Block const & block )
inherited
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.

◆ $moveBoundingBox()

MCAPI void StructurePiece::$moveBoundingBox ( int dx,
int dy,
int dz )
inherited
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.

◆ $vftable()

MCAPI void ** StructurePiece::$vftable ( )
staticinherited
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: