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

Classes

struct  BlockVolumeIter

Public Member Functions

MCAPI ::std::unique_ptr<::std::vector< short > > computeHeightMap () const
MCAPI short findHighestNonAirBlock () const
MCAPI short getAboveTopSolidBlock (::BlockPos const &start, bool dimensionShowsSky, bool includeWater, bool includeLeaves) const

Public Attributes

::ll::TypedStorage< 8, 16, ::buffer_span_mut<::Block const * > > mBlocks
::ll::TypedStorage< 4, 4, uint > mWidth
::ll::TypedStorage< 4, 4, uint > mHeight
::ll::TypedStorage< 4, 4, uint > mDepth
::ll::TypedStorage< 4, 4, int > mDimensionBottom
::ll::TypedStorage< 8, 8, ::Block const * > mInitBlock

Member Function Documentation

◆ findHighestNonAirBlock()

MCAPI short BlockVolume::findHighestNonAirBlock ( ) 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.

◆ getAboveTopSolidBlock()

MCAPI short BlockVolume::getAboveTopSolidBlock ( ::BlockPos const & start,
bool dimensionShowsSky,
bool includeWater,
bool includeLeaves ) 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: