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

Public Types

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

Public Member Functions

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
virtual ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadatacreateMetadata () const
MCAPI FeaturePoolElement (::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager > structureManager, ::WeakRef<::IFeature > feature)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager > 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
MCAPI ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata$createMetadata () 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, ::br::worldgen::LiquidSettings liquidSettings) 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::SharedTypes::v1_21_80::JigsawStructureMetadata const & _getMetadata () const
MCAPI uint64 _getMetadataKey () const
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager > manager, ::std::string const &location, ::StructurePoolElementSettings settings)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager > 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<::IStructureTemplateManager > manager, ::std::string const &location, ::Projection projection, ::PostProcessSettings postProcessSettings)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager > 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
MCAPI 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, ::br::worldgen::LiquidSettings liquidSettings) 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)

Public Attributes

::ll::TypedStorage< 8, 24, ::WeakRef<::IFeature > > mFeature
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::SharedTypes::v1_21_80::JigsawStructureMetadata > > mMetadata
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmMetadataMutex
::ll::TypedStorage< 4, 4, ::brstd::once_flagmTemplateOnceFlag
::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<::IStructureTemplateManager > > 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.

◆ $vftable()

MCAPI void ** FeaturePoolElement::$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: