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)
 
MCAPI::HashedString findStructureFeatureTypeAt (::BlockPos const &pos)
 
MCAPI::StructureFeature * getStructureFeatureOfType (::HashedString type) const
 
MCAPI bool isStructureFeatureTypeAt (::BlockPos const &pos, ::HashedString type) const
 

Public Attributes

::ll::TypedStorage< 8, 48, ::br::worldgen::ChunkGeneratorStructureStatemGeneratorState
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::StructureFeature > > > mStructureFeatures
 
::ll::TypedStorage< 8, 136, ::br::worldgen::StructureCachemStructureCache
 

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 )
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.

◆ getStructureFeatureOfType()

MCAPI::StructureFeature * StructureFeatureRegistry::getStructureFeatureOfType ( ::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.

◆ 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.

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