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

Public Member Functions

 StructurePoolBlockPredicateBlockMatchRandom (::Block const &block, float const probability)
StructurePoolBlockPredicateBlockMatchRandom & operator= (StructurePoolBlockPredicateBlockMatchRandom const &)
 StructurePoolBlockPredicateBlockMatchRandom (StructurePoolBlockPredicateBlockMatchRandom const &)
virtual bool test (::Block const &block, ::IRandom &random) const
virtual bool test (::BlockPos const &worldPos, ::BlockPos const &refPos, ::IRandom &random) const
virtual::StructurePoolBlockPredicateType getType () const
virtual void appendMetadataKey (::Util::XXHash &hash) const
MCAPI bool $test (::Block const &block, ::IRandom &random) const
MCAPI bool $test (::BlockPos const &worldPos, ::BlockPos const &refPos, ::IRandom &random) const
MCAPI::StructurePoolBlockPredicateType $getType () const
MCAPI void $appendMetadataKey (::Util::XXHash &hash) const
virtual bool finalize (::BlockSource &region, ::IRandom &random)
virtual::std::string validate () const
MCAPI bool $finalize (::BlockSource &region, ::IRandom &random)
MCAPI::std::string $validate () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Block const & > mBlock
::ll::TypedStorage< 4, 4, float const > mProbability

Member Function Documentation

◆ test() [1/2]

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

◆ test() [2/2]

virtual bool StructurePoolBlockPredicateBlockMatchRandom::test ( ::BlockPos const & worldPos,
::BlockPos const & refPos,
::IRandom & random ) const
virtual

◆ getType()

virtual::StructurePoolBlockPredicateType StructurePoolBlockPredicateBlockMatchRandom::getType ( ) const
virtual

◆ appendMetadataKey()

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

◆ $test() [1/2]

MCAPI bool StructurePoolBlockPredicateBlockMatchRandom::$test ( ::Block const & block,
::IRandom & random ) 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 StructurePoolBlockPredicateBlockMatchRandom::$test ( ::BlockPos const & worldPos,
::BlockPos const & refPos,
::IRandom & random ) 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.

◆ $getType()

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

◆ $finalize()

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

◆ $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: