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

Public Member Functions

virtual bool test (::Block const &block, ::Randomize &) const
 
virtual bool test (::BlockPos const &worldPos, ::BlockPos const &, ::Randomize &) const
 
virtual bool finalize (::BlockSource &region, ::IRandom &random)
 
virtual::StructurePoolBlockPredicateType getType () const
 
virtual void appendMetadataKey (::Util::XXHash &hash) const
 
virtual bool operator== (::StructurePoolBlockPredicateCappedRandomBlockReplacement const &other) const
 
virtual bool operator!= (::StructurePoolBlockPredicateCappedRandomBlockReplacement const &other) const
 
MCAPI StructurePoolBlockPredicateCappedRandomBlockReplacement (::std::map<::HashedString, ::HashedString > const &blockMappings, uint maximumAmount)
 
MCAPI bool _finalize (::BlockSource &region, ::IRandom &random, ::std::function< void(::BlockPos &)> applyToBlocks)
 
MCAPI void * $ctor (::std::map<::HashedString, ::HashedString > const &blockMappings, uint maximumAmount)
 
MCAPI void $dtor ()
 
MCAPI bool $test (::Block const &block, ::Randomize &) const
 
MCAPI bool $test (::BlockPos const &worldPos, ::BlockPos const &, ::Randomize &) const
 
MCAPI bool $finalize (::BlockSource &region, ::IRandom &random)
 
MCAPI::StructurePoolBlockPredicateType $getType () const
 
MCAPI void $appendMetadataKey (::Util::XXHash &hash) const
 
virtual::std::string validate () const
 
MCFOLD::std::string $validate () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 4, 4, uint const > mMaximumAmount
 
::ll::TypedStorage< 8, 16, ::std::map<::HashedString, ::HashedString > const > mBlockMappings
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockPos > > mCandidatePositions
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmCandidatePositionsLock
 

Constructor & Destructor Documentation

◆ StructurePoolBlockPredicateCappedRandomBlockReplacement()

MCAPI StructurePoolBlockPredicateCappedRandomBlockReplacement::StructurePoolBlockPredicateCappedRandomBlockReplacement ( ::std::map<::HashedString, ::HashedString > const & blockMappings,
uint maximumAmount )
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.

Member Function Documentation

◆ test() [1/2]

virtual bool StructurePoolBlockPredicateCappedRandomBlockReplacement::test ( ::Block const & block,
::Randomize &  ) const
virtual

◆ test() [2/2]

virtual bool StructurePoolBlockPredicateCappedRandomBlockReplacement::test ( ::BlockPos const & worldPos,
::BlockPos const & ,
::Randomize &  ) const
virtual

◆ finalize()

virtual bool StructurePoolBlockPredicateCappedRandomBlockReplacement::finalize ( ::BlockSource & region,
::IRandom & random )
virtual

Reimplemented from IStructurePoolBlockPredicate.

◆ getType()

virtual::StructurePoolBlockPredicateType StructurePoolBlockPredicateCappedRandomBlockReplacement::getType ( ) const
virtual

◆ appendMetadataKey()

virtual void StructurePoolBlockPredicateCappedRandomBlockReplacement::appendMetadataKey ( ::Util::XXHash & hash) const
virtual

◆ _finalize()

MCAPI bool StructurePoolBlockPredicateCappedRandomBlockReplacement::_finalize ( ::BlockSource & region,
::IRandom & random,
::std::function< void(::BlockPos &)> applyToBlocks )
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 * StructurePoolBlockPredicateCappedRandomBlockReplacement::$ctor ( ::std::map<::HashedString, ::HashedString > const & blockMappings,
uint maximumAmount )
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 StructurePoolBlockPredicateCappedRandomBlockReplacement::$dtor ( )
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.

◆ $test() [1/2]

MCAPI bool StructurePoolBlockPredicateCappedRandomBlockReplacement::$test ( ::Block const & block,
::Randomize &  ) 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.

◆ $test() [2/2]

MCAPI bool StructurePoolBlockPredicateCappedRandomBlockReplacement::$test ( ::BlockPos const & worldPos,
::BlockPos const & ,
::Randomize &  ) 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.

◆ $finalize()

MCAPI bool StructurePoolBlockPredicateCappedRandomBlockReplacement::$finalize ( ::BlockSource & region,
::IRandom & 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.

◆ $getType()

MCAPI::StructurePoolBlockPredicateType StructurePoolBlockPredicateCappedRandomBlockReplacement::$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.

◆ $appendMetadataKey()

MCAPI void StructurePoolBlockPredicateCappedRandomBlockReplacement::$appendMetadataKey ( ::Util::XXHash & hash) 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.

◆ $vftable()

static MCAPI void ** StructurePoolBlockPredicateCappedRandomBlockReplacement::$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.

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