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

Public Types

using StructureProcessorPtr = ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>
 
using StructureProcessorList
 

Public Member Functions

FeaturePoolElementoperator= (FeaturePoolElement const &)
 
 FeaturePoolElement (FeaturePoolElement const &)
 
virtual::BlockPos getSize (::Rotation rotation) const
 
virtual ::std::vector<::JigsawBlockInfogetJigsawMarkers (::BlockPos position, ::LegacyStructureSettings &settings, ::BlockSource *region) const
 
virtual bool place (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::BoundingBox chunkBB, ::Random &random, ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > &entitiesToPlace, ::BlockPos refPos) const
 
virtual::StructurePoolElementType type () const
 
MCAPI FeaturePoolElement (::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::WeakRef<::IFeature > feature)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::WeakRef<::IFeature > feature)
 
MCAPI ::std::vector<::JigsawBlockInfo$getJigsawMarkers (::BlockPos position, ::LegacyStructureSettings &settings, ::BlockSource *region) const
 
MCAPI bool $place (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::BoundingBox chunkBB, ::Random &random, ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > &entitiesToPlace, ::BlockPos refPos) const
 
MCFOLD::StructurePoolElementType $type () const
 
virtual ::std::vector<::JigsawBlockInfogetJigsawMarkers (::BlockPos position, ::Rotation rotation) const
 
virtual::BoundingBox getBoundingBox (::BlockPos position, ::Rotation rotation) const
 
virtual void setProjection (::Projection projection)
 
virtual::Projection getProjection () const
 
virtual::PostProcessSettings getPostProcessSettings () const
 
virtual bool place (::BlockSource &region, ::BlockPos position, ::BlockPos sectionOrigin, ::BoundingBox chunkBB, ::Rotation rotation, ::IRandom &random, ::br::worldgen::JigsawReplacement jigsaw) const
 
virtual void placeActors (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::Random &random) const
 
virtual void placeEntities (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::BoundingBox overlapBB) const
 
virtual void handleJigsawBlock (::BlockSource &region, ::JigsawBlockInfo &jigsawBlock, ::LegacyStructureSettings &settings) const
 
virtual void handleDataMarker (::BlockSource &region, ::BlockPos markerPos, ::std::string markerData, ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > &entitiesToPlace) const
 
virtual bool isValid () const
 
MCAPI ::std::unique_ptr<::SharedTypes::v1_21_50::JigsawStructureMetadata_createMetadata () const
 
MCAPI::SharedTypes::v1_21_50::JigsawStructureMetadata const & _getMetadata () const
 
MCAPI uint64 _getMetadataKey () const
 
MCAPI::StructurePoolElement::LazyTemplate const & _getTemplate () const
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::StructureManager > manager, ::std::string const &location, ::StructurePoolElementSettings settings)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::StructureManager > manager, ::std::string const &location, ::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > processors, ::Projection projection)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::StructureManager > manager, ::std::string const &location, ::Projection projection, ::PostProcessSettings postProcessSettings)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::StructureManager > manager, ::std::string const &location, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > const *blockRules, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule > > const *blockTagRules, ::std::vector<::std::unique_ptr<::StructurePoolActorRule > > const *actorRules, ::Projection projection, ::PostProcessSettings postProcessSettings)
 
MCAPI void $dtor ()
 
MCAPI::BlockPos $getSize (::Rotation rotation) const
 
MCAPI ::std::vector<::JigsawBlockInfo$getJigsawMarkers (::BlockPos position, ::Rotation rotation) const
 
MCAPI::BoundingBox $getBoundingBox (::BlockPos position, ::Rotation rotation) const
 
MCFOLD void $setProjection (::Projection projection)
 
MCAPI::Projection $getProjection () const
 
MCAPI::PostProcessSettings $getPostProcessSettings () const
 
MCAPI bool $place (::BlockSource &region, ::BlockPos position, ::BlockPos sectionOrigin, ::BoundingBox chunkBB, ::Rotation rotation, ::IRandom &random, ::br::worldgen::JigsawReplacement jigsaw) const
 
MCAPI void $placeActors (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::Random &random) const
 
MCAPI void $placeEntities (::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::BoundingBox overlapBB) const
 
MCAPI void $handleJigsawBlock (::BlockSource &region, ::JigsawBlockInfo &jigsawBlock, ::LegacyStructureSettings &settings) const
 
MCAPI void $handleDataMarker (::BlockSource &region, ::BlockPos markerPos, ::std::string markerData, ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > &entitiesToPlace) const
 
MCAPI bool $isValid () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI ::std::function<::StructurePoolElement const &(::StructureTemplateRegistrationContext, ::Projection)> single (::std::string_view location)
 
static MCAPI ::std::function<::StructurePoolElement const &(::StructureTemplateRegistrationContext, ::Projection)> single (::std::string_view location, ::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > processors)
 
static MCAPI ::std::function<::StructurePoolElement const &(::StructureTemplateRegistrationContext, ::Projection)> single (::std::string_view location, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule > > const *blockRules, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule > > const *blockTagRules, ::std::vector<::std::unique_ptr<::StructurePoolActorRule > > const *actorRules)
 

Public Attributes

::ll::UntypedStorage< 8, 24 > mUnkba215a
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::SharedTypes::v1_21_50::JigsawStructureMetadata > > mMetadata
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmMetadataMutex
 
::ll::TypedStorage< 8, 8, ::std::once_flag > mTemplateOnceFlag
 
::ll::TypedStorage< 8, 56, ::std::optional<::StructurePoolElement::LazyTemplate > > mTemplate
 
::ll::TypedStorage< 8, 8, uint64 > mMetadataKey
 
::ll::TypedStorage< 8, 32, ::std::string > mLocation
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager > > mManager
 
::ll::TypedStorage< 8, 32, ::StructurePoolElementSettingsmSettings
 
::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr< ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > > const > > > mProcessors
 
::ll::TypedStorage< 1, 1, bool > mValid
 

Member Typedef Documentation

◆ StructureProcessorList

using StructurePoolElement::StructureProcessorList
inherited
Initial value:
::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>>

Member Function Documentation

◆ place()

virtual bool FeaturePoolElement::place ( ::BlockSource & region,
::BlockPos position,
::Rotation rotation,
::BoundingBox chunkBB,
::Random & random,
::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > & entitiesToPlace,
::BlockPos refPos ) const
virtual

Reimplemented from StructurePoolElement.


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