Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
br::worldgen::ChunkGeneratorStructureState Struct Reference

Public Member Functions

MCAPI ::std::optional<::BlockPos > findNearestStructureFeature (::Dimension &dimension, ::HashedString feature, ::BlockPos const &origin, ::BiomeSource const &biomeSource, bool mustBeInNewChunks, int searchRadiusCells) const
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::br::worldgen::ChunkGeneratorStructureState createFlat (int64 levelSeed, ::BiomeSource const &biomeSource, ::std::vector<::std::shared_ptr<::br::worldgen::StructureSet const > > structureOverrides)
static MCAPI ::br::worldgen::ChunkGeneratorStructureState createNormal (int64 levelSeed, ::BiomeSource const &biomeSource, ::br::worldgen::StructureSetRegistry const &allStructures)

Public Attributes

::ll::TypedStorage< 8, 8, int64 > mLevelSeed
::ll::TypedStorage< 8, 8, int64 > mRingsSeed
::ll::TypedStorage< 8, 8, uint64 > mMaxStructureCount
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureSet const > > > mPossibleStructures

Member Function Documentation

◆ findNearestStructureFeature()

MCAPI ::std::optional<::BlockPos > br::worldgen::ChunkGeneratorStructureState::findNearestStructureFeature ( ::Dimension & dimension,
::HashedString feature,
::BlockPos const & origin,
::BiomeSource const & biomeSource,
bool mustBeInNewChunks,
int searchRadiusCells ) 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 struct was generated from the following file: