Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructureFeatureRegistry Class Reference

Public Types

using StructureFeatureContainer = ::std::vector<::std::unique_ptr<::StructureFeature>>

Public Member Functions

MCAPI bool findNearestStructureFeature (::Dimension &dimension, ::IPreliminarySurfaceProvider &surfaceProvider, ::HashedString feature, ::BlockPos const &origin, ::BlockPos &pos, ::BiomeSource const &biomeSource, bool mustBeInNewChunks, ::std::optional<::HashedString > biomeTag, int searchRadiusCells)
MCAPI::HashedString findStructureFeatureTypeAt (::BlockPos const &pos)
MCAPI::StructureFeature * getStructureFeatureOfType (::HashedString type) const
MCAPI bool isStructureFeatureTypeAt (::BlockPos const &pos, ::HashedString type) const
MCAPI void waitForBlueprints () const
MCAPI ~StructureFeatureRegistry ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 48, ::br::worldgen::ChunkGeneratorStructureState > mGeneratorState
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::StructureFeature > > > mStructureFeatures
::ll::TypedStorage< 8, 136, ::br::worldgen::StructureCache > mStructureCache

Constructor & Destructor Documentation

◆ ~StructureFeatureRegistry()

MCAPI StructureFeatureRegistry::~StructureFeatureRegistry ( )
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.

Member Function Documentation

◆ findNearestStructureFeature()

MCAPI bool StructureFeatureRegistry::findNearestStructureFeature ( ::Dimension & dimension,
::IPreliminarySurfaceProvider & surfaceProvider,
::HashedString feature,
::BlockPos const & origin,
::BlockPos & pos,
::BiomeSource const & biomeSource,
bool mustBeInNewChunks,
::std::optional<::HashedString > biomeTag,
int searchRadiusCells )
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.

◆ findStructureFeatureTypeAt()

MCAPI::HashedString StructureFeatureRegistry::findStructureFeatureTypeAt ( ::BlockPos const & pos)
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.

◆ isStructureFeatureTypeAt()

MCAPI bool StructureFeatureRegistry::isStructureFeatureTypeAt ( ::BlockPos const & pos,
::HashedString type ) 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.

◆ waitForBlueprints()

MCAPI void StructureFeatureRegistry::waitForBlueprints ( ) 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.

◆ $dtor()

MCAPI void StructureFeatureRegistry::$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.

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