LeviLamina
Loading...
Searching...
No Matches
MineshaftCorridor Class Reference
+ Inheritance diagram for MineshaftCorridor:

Public Member Functions

MineshaftCorridoroperator= (MineshaftCorridor const &)
 
 MineshaftCorridor (MineshaftCorridor const &)
 
virtual::StructurePieceType getType () const
 
virtual void addChildren (::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
 
virtual bool postProcess (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
 
virtual void postProcessMobsAt (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
 
MCAPI void _fillPillarDownOrChainUp (::BlockSource &region, int x, int y, int z, ::BoundingBox const &chunkBB)
 
MCAPI void _placeCobWeb (::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, float p, int x0, int y1, int z)
 
MCAPI void _placeDoubleLowerOrUpperSupport (::BlockSource &region, ::BoundingBox const &chunkBB, int x, int y, int z)
 
MCAPI void _placeSupport (::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z, int y1, int x1, ::Random &random)
 
MCAPI::StructurePieceType $getType () const
 
MCAPI void $addChildren (::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
 
MCAPI bool $postProcess (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
 
MCAPI void $postProcessMobsAt (::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
 
virtual bool isInInvalidLocation (::BlockSource &region, ::BoundingBox const &chunkBB)
 
virtual bool canBeReplaced (::BlockSource &region, int const x, int const y, int const z, ::BoundingBox const &chunkBB)
 
MCAPI ::std::unique_ptr<::StructurePiececreateRandomShaftPiece (::MineshaftData &metadata, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction, int genDepth)
 
MCAPI::StructurePiece * generateAndAddPiece (::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction, int depth)
 
MCAPI void setPlanksBlock (::BlockSource &region, ::Block const &planksBlock, int x, int y, int z)
 
MCAPI void $dtor ()
 
MCAPI bool $isInInvalidLocation (::BlockSource &region, ::BoundingBox const &chunkBB)
 
MCAPI bool $canBeReplaced (::BlockSource &region, int const x, int const y, int const z, ::BoundingBox const &chunkBB)
 
virtual void moveBoundingBox (int dx, int dy, int dz)
 
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 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 addTerrainAdjustmentToken (::std::shared_ptr< bool > token)
 
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::Block const & getBlock (::BlockSource &region, int x, int y, int z, ::BoundingBox const &chunkBB)
 
MCAPI ushort getOrientationData (::Block const *block, ushort data)
 
MCAPI int getWorldY (int y)
 
MCAPI bool isAboveGround (int x0, int y1, int z, ::BlockSource &region)
 
MCAPI void $moveBoundingBox (int dx, int dy, int dz)
 
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)
 
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 ::BoundingBox findCorridorSize (::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnk191025
 
::ll::UntypedStorage< 1, 1 > mUnk3560e1
 
::ll::UntypedStorage< 1, 1 > mUnkce0fd5
 
::ll::UntypedStorage< 4, 4 > mUnkd87313
 
::ll::UntypedStorage< 8, 32 > mUnk1ccc77
 
::ll::TypedStorage< 4, 24, ::BoundingBoxmBoundingBox
 
::ll::TypedStorage< 4, 4, int > mOrientation
 
::ll::TypedStorage< 4, 4, int > mGenDepth
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr< bool > > mTerrainAdjustmentToken
 

Member Function Documentation

◆ addChildren()

virtual void MineshaftCorridor::addChildren ( ::StructurePiece & startPiece,
::std::vector<::std::unique_ptr<::StructurePiece > > & pieces,
::Random & random )
virtual

Reimplemented from StructurePiece.

◆ postProcess()

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

Implements StructurePiece.

◆ postProcessMobsAt()

virtual void MineshaftCorridor::postProcessMobsAt ( ::BlockSource & region,
::Random & random,
::BoundingBox const & chunkBB )
virtual

Reimplemented from StructurePiece.

◆ _fillPillarDownOrChainUp()

MCAPI void MineshaftCorridor::_fillPillarDownOrChainUp ( ::BlockSource & region,
int x,
int y,
int z,
::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.

◆ _placeCobWeb()

MCAPI void MineshaftCorridor::_placeCobWeb ( ::BlockSource & region,
::BoundingBox const & chunkBB,
::Random & random,
float p,
int x0,
int y1,
int z )
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.

◆ _placeDoubleLowerOrUpperSupport()

MCAPI void MineshaftCorridor::_placeDoubleLowerOrUpperSupport ( ::BlockSource & region,
::BoundingBox const & chunkBB,
int x,
int y,
int z )
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.

◆ _placeSupport()

MCAPI void MineshaftCorridor::_placeSupport ( ::BlockSource & region,
::BoundingBox const & chunkBB,
int x0,
int y0,
int z,
int y1,
int x1,
::Random & random )
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.

◆ findCorridorSize()

static MCAPI ::BoundingBox MineshaftCorridor::findCorridorSize ( ::std::vector<::std::unique_ptr<::StructurePiece > > & pieces,
::Random & random,
int footX,
int footY,
int footZ,
int direction )
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.

◆ $getType()

MCAPI::StructurePieceType MineshaftCorridor::$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.

◆ $addChildren()

MCAPI void MineshaftCorridor::$addChildren ( ::StructurePiece & startPiece,
::std::vector<::std::unique_ptr<::StructurePiece > > & pieces,
::Random & random )
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.

◆ $postProcess()

MCAPI bool MineshaftCorridor::$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.

◆ $postProcessMobsAt()

MCAPI void MineshaftCorridor::$postProcessMobsAt ( ::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.

◆ $vftable()

static MCAPI void ** MineshaftCorridor::$vftable ( )
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.

◆ isInInvalidLocation()

virtual bool MineshaftPiece::isInInvalidLocation ( ::BlockSource & region,
::BoundingBox const & chunkBB )
virtualinherited

Reimplemented from StructurePiece.

◆ canBeReplaced()

virtual bool MineshaftPiece::canBeReplaced ( ::BlockSource & region,
int const x,
int const y,
int const z,
::BoundingBox const & chunkBB )
virtualinherited

Reimplemented from StructurePiece.

◆ createRandomShaftPiece()

MCAPI ::std::unique_ptr<::StructurePiece > MineshaftPiece::createRandomShaftPiece ( ::MineshaftData & metadata,
::std::vector<::std::unique_ptr<::StructurePiece > > & pieces,
::Random & random,
int footX,
int footY,
int footZ,
int direction,
int genDepth )
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.

◆ generateAndAddPiece()

MCAPI::StructurePiece * MineshaftPiece::generateAndAddPiece ( ::StructurePiece & startPiece,
::std::vector<::std::unique_ptr<::StructurePiece > > & pieces,
::Random & random,
int footX,
int footY,
int footZ,
int direction,
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.

◆ setPlanksBlock()

MCAPI void MineshaftPiece::setPlanksBlock ( ::BlockSource & region,
::Block const & planksBlock,
int x,
int y,
int z )
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.

◆ $dtor()

MCAPI void MineshaftPiece::$dtor ( )
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.

◆ $isInInvalidLocation()

MCAPI bool MineshaftPiece::$isInInvalidLocation ( ::BlockSource & region,
::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.

◆ $canBeReplaced()

MCAPI bool MineshaftPiece::$canBeReplaced ( ::BlockSource & region,
int const x,
int const y,
int const 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.

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