3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/platform/threading/Mutex.h"
7#include "mc/world/level/levelgen/structure/structurepools/IStructurePoolBlockPredicate.h"
8#include "mc/world/level/levelgen/structure/structurepools/StructurePoolBlockPredicateType.h"
18namespace Bedrock::Threading {
class Mutex; }
19namespace Util {
class XXHash; }
26 ::ll::TypedStorage<4, 4, uint const> mMaximumAmount;
27 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::HashedString>
const> mBlockMappings;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mCandidatePositions;
29 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mCandidatePositionsLock;
49 virtual ::StructurePoolBlockPredicateType getType()
const ;
68 ::std::map<::HashedString, ::HashedString>
const& blockMappings,
78 MCNAPI
void*
$ctor(::std::map<::HashedString, ::HashedString>
const& blockMappings, uint maximumAmount);
96 MCNAPI ::StructurePoolBlockPredicateType
$getType()
const;
Definition BlockSource.h:67
Definition HashedString.h:5
Definition IStructurePoolBlockPredicate.h:18
Definition Randomize.h:13
Definition StructurePoolBlockPredicateCappedRandomBlockReplacement.h:22
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
MCAPI bool $finalize(::BlockSource ®ion, ::IRandom &random)
MCAPI bool _finalize(::BlockSource ®ion, ::IRandom &random, ::std::function< void(::BlockPos &)> applyToBlocks)
MCAPI StructurePoolBlockPredicateCappedRandomBlockReplacement(::std::map<::HashedString, ::HashedString > const &blockMappings, uint maximumAmount)
MCAPI bool $test(::Block const &block, ::Randomize &) const
MCAPI void * $ctor(::std::map<::HashedString, ::HashedString > const &blockMappings, uint maximumAmount)
static MCAPI void ** $vftable()
MCAPI::StructurePoolBlockPredicateType $getType() const
MCAPI bool $test(::BlockPos const &worldPos, ::BlockPos const &, ::Randomize &) const