Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ListBlockVolume Class Reference
Inheritance diagram for ListBlockVolume:

Public Member Functions

virtual::BlockPos getMin () const
virtual::BlockPos getMax () const
virtual::BoundingBox getBoundingBox () const
virtual::glm::ivec3 getSpan () const
virtual int getCapacity () const
virtual bool isInside (::BlockPos const &pos) const
virtual void translate (::BlockPos const &delta)
virtual void forEach (::brstd::function_ref< bool(::BlockPos const &)> callback) const
virtual ::std::set<::ChunkPos > getChunks () const
virtual ::std::unordered_set<::BlockPos > getFlattenedBlockPositions () const
virtual ::std::unique_ptr<::BaseBlockLocationIterator > getIterator () const
MCAPI ListBlockVolume (::std::vector<::BlockPos > const &blockPositions)
MCAPI ListBlockVolume (::std::vector<::Vec3 > const &blockPositions)
MCAPI void erase (::std::vector<::Vec3 > const &blockPositions)
MCAPI void insert (::std::vector<::Vec3 > const &blockPositions)
MCAPI void * $ctor (::std::vector<::BlockPos > const &blockPositions)
MCAPI void * $ctor (::std::vector<::Vec3 > const &blockPositions)
MCAPI::BlockPos $getMin () const
MCAPI::BlockPos $getMax () const
MCAPI::BoundingBox $getBoundingBox () const
MCAPI::glm::ivec3 $getSpan () const
MCAPI int $getCapacity () const
MCAPI bool $isInside (::BlockPos const &pos) const
MCAPI void $translate (::BlockPos const &delta)
MCAPI void $forEach (::brstd::function_ref< bool(::BlockPos const &)> callback) const
MCAPI ::std::set<::ChunkPos > $getChunks () const
MCAPI ::std::unordered_set<::BlockPos > $getFlattenedBlockPositions () const
MCAPI ::std::unique_ptr<::BaseBlockLocationIterator > $getIterator () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_set<::BlockPos > > mBlockPositions
::ll::TypedStorage< 4, 12, ::BlockPos > mMin
::ll::TypedStorage< 4, 12, ::BlockPos > mMax
::ll::TypedStorage< 8, 8, uint64 > mChangeCount

Constructor & Destructor Documentation

◆ ListBlockVolume() [1/2]

MCAPI ListBlockVolume::ListBlockVolume ( ::std::vector<::BlockPos > const & blockPositions)
explicit
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.

◆ ListBlockVolume() [2/2]

MCAPI ListBlockVolume::ListBlockVolume ( ::std::vector<::Vec3 > const & blockPositions)
explicit
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

◆ getMin()

virtual::BlockPos ListBlockVolume::getMin ( ) const
virtual

Implements BlockVolumeBase.

◆ getMax()

virtual::BlockPos ListBlockVolume::getMax ( ) const
virtual

Implements BlockVolumeBase.

◆ getBoundingBox()

virtual::BoundingBox ListBlockVolume::getBoundingBox ( ) const
virtual

Implements BlockVolumeBase.

◆ getSpan()

virtual::glm::ivec3 ListBlockVolume::getSpan ( ) const
virtual

Implements BlockVolumeBase.

◆ getCapacity()

virtual int ListBlockVolume::getCapacity ( ) const
virtual

Implements BlockVolumeBase.

◆ isInside()

virtual bool ListBlockVolume::isInside ( ::BlockPos const & pos) const
virtual

Implements BlockVolumeBase.

◆ translate()

virtual void ListBlockVolume::translate ( ::BlockPos const & delta)
virtual

Implements BlockVolumeBase.

◆ forEach()

virtual void ListBlockVolume::forEach ( ::brstd::function_ref< bool(::BlockPos const &)> callback) const
virtual

Implements BlockVolumeBase.

◆ getChunks()

virtual ::std::set<::ChunkPos > ListBlockVolume::getChunks ( ) const
virtual

Implements BlockVolumeBase.

◆ getFlattenedBlockPositions()

virtual ::std::unordered_set<::BlockPos > ListBlockVolume::getFlattenedBlockPositions ( ) const
virtual

Implements BlockVolumeBase.

◆ getIterator()

virtual ::std::unique_ptr<::BaseBlockLocationIterator > ListBlockVolume::getIterator ( ) const
virtual

Implements BlockVolumeBase.

◆ erase()

MCAPI void ListBlockVolume::erase ( ::std::vector<::Vec3 > const & blockPositions)
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.

◆ insert()

MCAPI void ListBlockVolume::insert ( ::std::vector<::Vec3 > const & blockPositions)
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.

◆ $ctor() [1/2]

MCAPI void * ListBlockVolume::$ctor ( ::std::vector<::BlockPos > const & blockPositions)
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.

◆ $ctor() [2/2]

MCAPI void * ListBlockVolume::$ctor ( ::std::vector<::Vec3 > const & blockPositions)
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.

◆ $getMin()

MCAPI::BlockPos ListBlockVolume::$getMin ( ) 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.

◆ $getMax()

MCAPI::BlockPos ListBlockVolume::$getMax ( ) 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.

◆ $getBoundingBox()

MCAPI::BoundingBox ListBlockVolume::$getBoundingBox ( ) 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.

◆ $getSpan()

MCAPI::glm::ivec3 ListBlockVolume::$getSpan ( ) 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.

◆ $getCapacity()

MCAPI int ListBlockVolume::$getCapacity ( ) 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.

◆ $isInside()

MCAPI bool ListBlockVolume::$isInside ( ::BlockPos const & pos) 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.

◆ $translate()

MCAPI void ListBlockVolume::$translate ( ::BlockPos const & delta)
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.

◆ $forEach()

MCAPI void ListBlockVolume::$forEach ( ::brstd::function_ref< bool(::BlockPos const &)> callback) 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.

◆ $getChunks()

MCAPI ::std::set<::ChunkPos > ListBlockVolume::$getChunks ( ) 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.

◆ $getFlattenedBlockPositions()

MCAPI ::std::unordered_set<::BlockPos > ListBlockVolume::$getFlattenedBlockPositions ( ) 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.

◆ $getIterator()

MCAPI ::std::unique_ptr<::BaseBlockLocationIterator > ListBlockVolume::$getIterator ( ) 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.

◆ $vftable()

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