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

Public Member Functions

virtual bool test (::Block const &block, ::IRandom &) const
virtual bool test (::BlockPos const &worldPos, ::BlockPos const &, ::IRandom &) 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 bool _finalize (::BlockSource &region, ::IRandom &random, ::std::function< void(::BlockPos &)> applyToBlocks)
MCAPI void $dtor ()
MCAPI bool $test (::Block const &block, ::IRandom &) const
MCAPI bool $test (::BlockPos const &worldPos, ::BlockPos const &, ::IRandom &) const
MCAPI bool $finalize (::BlockSource &region, ::IRandom &random)
MCAPI::StructurePoolBlockPredicateType $getType () const
MCAPI void $appendMetadataKey (::Util::XXHash &hash) const
virtual::std::string validate () const
MCAPI::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, ::std::mutex > mCandidatePositionsLock

Member Function Documentation

◆ test() [1/2]

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

◆ test() [2/2]

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

◆ $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,
::IRandom &  ) 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 & ,
::IRandom &  ) 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()

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.

◆ $validate()

MCAPI::std::string IStructurePoolBlockPredicate::$validate ( ) const
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: