LeviLamina
Loading...
Searching...
No Matches
BlockVolume Class Reference

Classes

struct  BlockVolumeIter

Public Member Functions

MCAPI BlockVolume (::buffer_span_mut<::Block const * > buffer, int width, int height, int depth, ::Block const &initBlock, int dimensionBottom)
MCAPI::BlockVolume::BlockVolumeIter begin () const
MCAPI ::std::unique_ptr<::std::vector< short > > computeHeightMap () const
MCAPI::BlockVolume::BlockVolumeIter end () const
MCAPI short findHighestNonAirBlock () const
MCAPI short getAboveTopSolidBlock (::BlockPos const &start, bool dimensionShowsSky, bool includeWater, bool includeLeaves) const
MCAPI::Pos getDimensions () const
MCAPI uint getIndexBounds () const
MCFOLD uint index (::BlockPos const &pos) const
MCFOLD uint index (::Pos const &pos) const
MCFOLD uint indexNoBoundsCheck (::BlockPos const &pos) const
MCFOLD uint indexNoBoundsCheck (::Pos const &pos) const
MCFOLD bool isInBounds (::BlockPos const &pos) const
MCFOLD bool isInBounds (::Pos const &pos) const
MCAPI void * $ctor (::buffer_span_mut<::Block const * > buffer, int width, int height, int depth, ::Block const &initBlock, int dimensionBottom)

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

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