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

Public Types

using StructureInstanceList = ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const>>

Public Member Functions

LevelChunkVolumeData & operator= (LevelChunkVolumeData const &)
 LevelChunkVolumeData (LevelChunkVolumeData const &)
MCAPI void addStructure (::std::shared_ptr<::br::worldgen::StructureInstance const > instance)
MCAPI void addStructure (::StructureStart const &start)
MCAPI void addStructureReference (::std::shared_ptr<::br::worldgen::StructureInstance const > instance)
MCAPI void addStructureReference (::StructureStart const &start)
MCAPI ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const > > getOverlappingStructures () const
MCAPI ::std::vector<::BlockPos > structureSpawnPos () const

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const > > > mStructures
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const > > > mStructureReferences
::ll::TypedStorage< 8, 768, ::br::LevelChunkDataRegistry > mDataRegistry
::ll::TypedStorage< 4, 12, ::BlockPos > mMin
::ll::TypedStorage< 4, 12, ::BlockPos > mMax
::ll::TypedStorage< 8, 8, ::ChunkPos > mChunkPos
::ll::TypedStorage< 8, 8, ::StructureSpawnRegistry const & > mStructureSpawnRegistry

Member Function Documentation

◆ addStructure() [1/2]

MCAPI void LevelChunkVolumeData::addStructure ( ::std::shared_ptr<::br::worldgen::StructureInstance const > instance)
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.

◆ addStructure() [2/2]

MCAPI void LevelChunkVolumeData::addStructure ( ::StructureStart const & start)
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.

◆ addStructureReference() [1/2]

MCAPI void LevelChunkVolumeData::addStructureReference ( ::std::shared_ptr<::br::worldgen::StructureInstance const > instance)
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.

◆ addStructureReference() [2/2]

MCAPI void LevelChunkVolumeData::addStructureReference ( ::StructureStart const & start)
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.

◆ getOverlappingStructures()

MCAPI ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const > > LevelChunkVolumeData::getOverlappingStructures ( ) 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: