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

Classes

class  Neighbors
struct  SpawningArea
struct  Telemetry

Public Types

enum class  DeserializeEntityResult : int { FailedToLoadActor = 0 , FailedToAddToLevel = 1 , Succeeded = 2 }
enum class  Finalization : int { NeedsInstaticking = 0 , NeedsPopulation = 1 , Done = 2 }
using BBorder = bool
using BiomeSmallVector = ::Bedrock::small_vector<::gsl::not_null<::Biome const*>, 4>
using BlockActorVector = ::std::vector<::std::shared_ptr<::BlockActor>>
using MoveLock = ::std::lock_guard<::SpinLockImpl>
using MoveLockMutex = ::SpinLockImpl

Public Member Functions

::BlockTickingQueue const & getTickQueue () const
::BlockTickingQueue & getTickQueue ()
LLAPI void serializeBiomes (::IDataOutput &stream) const
LLAPI void deserializeBorderBlocks (::IDataInput &stream)
LevelChunk & operator= (LevelChunk const &)
 LevelChunk (LevelChunk const &)
MCAPI LevelChunk (::Dimension &dimension, ::ChunkPos const &cp, bool readOnly, ::SubChunkInitMode initBlocks, bool initializeMetaData, ::LevelChunkBlockActorStorage::TrackingMode blockActorTrackingMode)
MCAPI void _addEntityToVolumes (::gsl::not_null<::Actor * > actor)
MCAPI void _deserializeBlockEntities (::IDataInput &stream, ::LevelChunkBlockActorStorage &blockEntityMap)
MCAPI bool _deserializeSubChunk (short index, ::StringByteInput &stream)
MCAPI void _fixupCorruptedBlockActors (::LevelChunkBlockActorStorage &deserialized, ::buffer_span_mut<::SubChunk > subchunks) const
MCAPI void _lightingCallbacks (::ChunkBlockPos const &pos, ::Block const &old, ::Block const &current, ::BlockSource *currentSource)
MCAPI void _placeBlockEntity (::std::shared_ptr<::BlockActor > te)
MCAPI bool _recalcHeight (::ChunkBlockPos const &start, ::BlockSource *source)
MCAPI void _set2DBiomesFrom3D (::IDataInput &stream)
MCAPI void _setAllBiomesFrom2D (::std::array<::BiomeIdType, 256 > &legacyBiomes)
MCAPI void _setBiome (::Biome const &biome, ::ChunkBlockPos const &pos, bool fillYDimension)
MCAPI void addEntity (::WeakEntityRef entityRef)
MCAPI void addHardcodedSpawningArea (::BoundingBox const &spawnerAABB, ::HardcodedSpawnAreaType type)
MCAPI bool applySeasonsPostProcess (::BlockSource &region)
MCAPI void changeState (::ChunkState from, ::ChunkState to)
MCAPI bool checkSeasonsPostProcessDirty () const
MCAPI void deserializeBlockEntities (::IDataInput &stream)
MCAPI bool deserializeKey (::std::string_view key, ::std::string_view value)
MCAPI void deserializeMetaDataHash (::IDataInput &stream)
MCAPI void deserializeSubChunk (uchar idx, ::IDataInput &stream, ::std::optional< schar > absoluteIndex, ::std::optional<::DeserializationChanges * > deserializationChanges)
MCAPI void fetchBlocks (::BlockPos const &volumeOrigin, ::BlockVolume &volume) const
MCAPI void finalizeDeserialization ()
MCAPI void finalizePostProcessing ()
MCAPI void finalizeSubChunkDeserialization (::LevelChunkBlockActorStorage &blockActorMap, ::buffer_span_mut<::SubChunk > subchunks)
MCAPI bool generateOriginalLighting (::ChunkViewSource &neighborhood, bool enforceBorderCheck, ::brstd::function_ref< void()> prepareNeighborhood)
MCAPI::ChunkLocalHeight getAboveTopSolidBlock (::ChunkBlockPos const &start, bool iteratePastInitialBlocking, bool includeWater, bool includeLeaves) const
MCAPI void getActors (::ActorDefinitionIdentifier const &actorDefinitionId, ::AABB const &bb, ::std::vector<::Actor * > &actors) const
MCAPI::Biome const & getBiome (::ChunkBlockPos const &pos) const
MCAPI::Block const & getBlock (::ChunkBlockPos const &pos) const
MCAPI::BlockActor * getBlockEntity (::ChunkBlockPos const &localPos)
MCAPI void getEntities (::ActorType type, ::AABB const &bb, ::std::vector<::Actor * > &es, bool ignoreTargetType) const
MCAPI void getEntities (::gsl::span<::gsl::not_null<::Actor const * > > ignoredEntities, ::AABB const &bb, ::std::vector<::Actor * > &entities, bool useHitbox, ::std::function< bool(::Actor *)> selector) const
MCAPI ::std::shared_ptr<::LevelChunkMetaData > getMetaDataCopy () const
MCAPI::Bedrock::LevelChunkTimingData getTimingDataDiagnosticOnly () const
MCAPI::BlockPos const getTopRainBlockPos (::ChunkBlockPos const &pos)
MCAPI void markForTickingThisFrame (::LevelChunkTicking::Registry &registry)
MCAPI void moveAssignFrom (::LevelChunk &&otherChunk)
MCAPI bool nonActorDataNeedsSaving (int wait, int maxWait) const
MCAPI void onDiscarded ()
MCAPI void placeCallbacks (::ChunkBlockPos const &pos, ::Block const &old, ::Block const &current, ::BlockSource *currentSource, ::std::shared_ptr<::BlockActor > blockEntity, ::BlockChangeContext const &changeSourceContext)
MCAPI void populateHeightMapDataForSubChunkPacket (short subChunkAbsoluteIndex, ::SubChunkPacketPayload::SubChunkPacketData &subChunkPacketData) const
MCAPI void pruneBiomesAboveHeightmap ()
MCAPI void recomputeHeightMap (bool resetLighting)
MCAPI void releasePreservedBlockEntities (::BlockSource &tickRegion)
MCAPI ::std::shared_ptr<::BlockActor > removeBlockEntity (::BlockPos const &blockPos)
MCAPI bool removeEntityFromChunk (::WeakEntityRef entityRef)
MCAPI bool removeEntityFromWorld (::WeakEntityRef entityRef)
MCAPI void removeHardcodedSpawningArea (::HardcodedSpawnAreaType type)
MCAPI void serializeBlockEntities (::IDataOutput &stream, ::SaveContext const &saveContext) const
MCAPI void serializeBlockEntitiesForSubChunk (::IDataOutput &stream, ::SubChunkPos const &subChunkPos, ::SaveContext const &saveContext) const
MCAPI bool serializeBorderBlocks (::IDataOutput &stream) const
MCAPI void serializeEntities (::std::string &buffer, bool markProcessedOnChunkDisard, ::std::function< void(::std::string const &)> addLiveActorCallback, ::std::function< void(::std::string const &)> addActorKeyCallback, ::std::function< void(::std::string const &)> addSerializedActor) const
MCAPI void serializeEntityRemovals (::std::function< void(::std::string const &)> callback)
MCAPI void serializeNamedTicks (::IDataOutput &stream) const
MCAPI void serializeNeighborChanges (::IDataOutput &stream) const
MCAPI void serializeRandomTicks (::IDataOutput &stream) const
MCAPI void serializeTicks (::IDataOutput &stream) const
MCAPI void setBiomeStorages (::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > biomeStorages)
MCAPI::Block const & setBlock (::ChunkBlockPos const &pos, ::Block const &block, ::BlockSource *issuingSource, ::std::shared_ptr<::BlockActor > blockEntity, ::BlockChangeContext const &changeSourceContext)
MCAPI void setBlockSimple (::ChunkBlockPos const &pos, ::Block const &block)
MCAPI void setBlockVolume (::BlockVolume const &box, uint yOffset)
MCAPI void setBorder (::ChunkBlockPos const &pos, bool val)
MCAPI::Block const & setExtraBlock (::ChunkBlockPos const &localPos, ::Block const &block, ::BlockSource *issuingSource)
MCAPI void setPendingEntities (::std::string entitiesData)
MCAPI void setPreWorldGenHeightMap (::std::unique_ptr<::std::vector< short > > heightmap)
MCAPI void tickBlockEntities (::BlockSource &tickRegion)
MCAPI void tickImpl (::BlockSource &tickRegion, ::Tick const &tick, ::std::function< void()> spawnerCallback)
MCAPI bool tryChangeState (::ChunkState from, ::ChunkState to)
MCAPI void validateAndFixBiomeStates ()
MCAPI void * $ctor (::Dimension &dimension, ::ChunkPos const &cp, bool readOnly, ::SubChunkInitMode initBlocks, bool initializeMetaData, ::LevelChunkBlockActorStorage::TrackingMode blockActorTrackingMode)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::LevelChunk, ::LevelChunkPhase1Deleter > createNew (::Dimension &dimension, ::ChunkPos cp, bool readOnly, ::SubChunkInitMode initBlocks, ::LevelChunkBlockActorStorage::TrackingMode blockActorTrackingMode)
static MCAPI ::std::unique_ptr<::LevelChunk > createNewNoCustomDeleter (::Dimension &dimension, ::ChunkPos cp, bool readOnly, ::SubChunkInitMode initBlocks)
static MCAPI ::std::pair< ushort, ::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > > deserialize3DBiomes (::IDataInput &stream, ::BiomeRegistry const &biomeRegistry, ushort dimensionHeightInSubchunks, ::Biome const *defaultBiome, bool fromNetwork)
static MCAPI ::std::optional<::BlockPos > findExposedLightningRod (::BlockPos const &pos, ::BlockSource &region)
static MCAPI ::std::tuple<::std::array<::ChunkLocalHeight, 256 >, ::std::array<::BiomeIdType, 256 >, ::std::vector<::SubChunk > > staticDeserializeLegacyTerrain (::IDataInput &stream, short minY, ushort dimensionSizeInSubchunks)

Public Attributes

::ll::TypedStorage< 8, 80, ::std::mutex > mBlockEntityAccessLock
::ll::TypedStorage< 8, 8, ::ILevel & > mLevel
::ll::TypedStorage< 8, 8, ::Dimension & > mDimension
::ll::TypedStorage< 4, 12, ::BlockPos > mMin
::ll::TypedStorage< 4, 12, ::BlockPos > mMax
::ll::TypedStorage< 8, 8, ::ChunkPos > mPosition
::ll::TypedStorage< 1, 1, bool > mLightingFixupDone
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mLightingTaskActive
::ll::TypedStorage< 1, 1, bool > mReadOnly
::ll::TypedStorage< 8, 8, ::ChunkSource * > mGenerator
::ll::TypedStorage< 4, 4, ::LevelChunkTicking::Entity > mTmpTickingEntity
::ll::TypedStorage< 1, 2, ::std::optional<::LevelChunkFormat > > mLoadedFormat
::ll::TypedStorage< 1, 1, bool > mHadSerializedEntities
::ll::TypedStorage< 8, 32, ::std::string > mSerializedEntitiesBuffer
::ll::TypedStorage< 8, 32, ::std::string > mFailedSerializedEntitiesBuffer
::ll::TypedStorage< 8, 24, ::std::vector<::ActorLink > > mUnresolvedActorLinks
::ll::TypedStorage< 1, 1, ::std::atomic<::ChunkState > > mLoadState
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mIsCurrentLoadStateIndeterminate
::ll::TypedStorage< 1, 1, ::ChunkTerrainDataState > mTerrainDataState
::ll::TypedStorage< 1, 1, ::ChunkDebugDisplaySavedState > mDebugDisplaySavedState
::ll::TypedStorage< 1, 1, ::ChunkCachedDataState > mCachedDataState
::ll::TypedStorage< 8, 24, ::SpinLockImpl > mCachedDataStateSpinLock
::ll::TypedStorage< 8, 24, ::SpinLockImpl > mClientRequestHeightmapAdjustSpinLock
::ll::TypedStorage< 8, 8, ::Tick > mLastTick
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockTickingQueue > > mTickQueue
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockTickingQueue > > mRandomTickQueue
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockNamedTickEventManager > > mBlockNamedTickEventManager
::ll::TypedStorage< 8, 128, ::NeighborChangedQueue > mNeighborChangedQueue
::ll::TypedStorage< 8, 24, ::std::vector<::SubChunk > > mSubChunks
::ll::TypedStorage< 8, 552, ::LevelChunkBiomes > mBiomes
::ll::TypedStorage< 4, 2048, ::std::array<::ColumnCachedData, 256 > > mCachedData
::ll::TypedStorage< 2, 512, ::std::array<::ChunkLocalHeight, 256 > > mHeightmap
::ll::TypedStorage< 2, 512, ::std::array<::ChunkLocalHeight, 256 > > mRenderHeightmap
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::std::vector< short > > > mPreWorldGenHeightmap
::ll::TypedStorage< 2, 2, ::ChunkLocalHeight > mNonAirMaxHeight
::ll::TypedStorage< 8, 64, ::std::unordered_map<::BiomeIdType, ::BiomeChunkState > > mBiomeStates
::ll::TypedStorage< 1, 1, bool > mHasCachedTemperatureNoise
::ll::TypedStorage< 1, 256, ::std::array< bool, 256 > > mBorderBlockMap
::ll::TypedStorage< 1, 1, bool > mIsRedstoneLoaded
::ll::TypedStorage< 1, 1, bool > mOwnedByTickingThread
::ll::TypedStorage< 1, 1, bool > mUse3DBiomeMaps
::ll::TypedStorage< 1, 1, bool > mLevelChunkHas3dBiomeTag
::ll::TypedStorage< 4, 4, int > mCurrentInstatick
::ll::TypedStorage< 4, 4, ::LevelChunk::Finalization > mFinalized
::ll::TypedStorage< 1, 4, ::LevelChunk::Telemetry > mTelemetry
::ll::TypedStorage< 8, 64, ::ChunkGenContext > mChunkGenContext
::ll::TypedStorage< 4, 64, ::DirtyTicksCounter[8]> mFullChunkDirtyTicksCounters
::ll::TypedStorage< 4, 8, ::DirtyTicksCounter > mChunkActorsDirtyTicksCounter
::ll::TypedStorage< 2, 512, ::std::array<::ChunkLocalHeight, 256 > > mRainHeights
::ll::TypedStorage< 8, 24, ::std::vector<::WeakEntityRef > > mEntities
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mRemovedActorStorageKeys
::ll::TypedStorage< 8, 184, ::LevelChunkBlockActorStorage > mBlockEntities
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::BlockActor > > > mPreservedBlockEntities
::ll::TypedStorage< 8, 8, ::Tick > mPreservedBlockEntitiesTick
::ll::TypedStorage< 8, 24, ::std::vector<::WeakRef<::EntityContext > > > mVolumes
::ll::TypedStorage< 1, 2, ::BrightnessPair > mDefaultBrightness
::ll::TypedStorage< 8, 24, ::std::vector<::LevelChunk::SpawningArea > > mSpawningAreas
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastNetworkLightingTime
::ll::TypedStorage< 8, 8, uint64 > mLoadedMetaDataHash
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::LevelChunkMetaData > > mMetaData
::ll::TypedStorage< 4, 16, float[2][2]> mChunkInterpolants
::ll::TypedStorage< 4, 8, ::std::optional< uint > > mGenerationSeed
::ll::TypedStorage< 1, 1, bool > mbChunkHasConverterTag
::ll::TypedStorage< 1, 1, ::LevelChunk::Neighbors > mSavedNeighbors
::ll::TypedStorage< 1, 1, bool > mClientNeedsToRequestSubChunks
::ll::TypedStorage< 1, 1, bool > mLevelChunkHasHadOriginalLighting
::ll::TypedStorage< 1, 1, bool > mGeneratedPreCavesAndCliffsBlending
::ll::TypedStorage< 1, 1, bool > mOnChunkLoadedCalled
::ll::TypedStorage< 1, 1, bool > mAllSerializedEntitiesLoaded
::ll::TypedStorage< 8, 32, ::std::string > mOutOfBoundsBlockEntitiesBuffer
::ll::TypedStorage< 1, 1, bool > mSaveNonActorDataIfDirty
::ll::TypedStorage< 1, 1, bool > mSaveIfNeverSaved
::ll::TypedStorage< 1, 1, bool > mHasSubChunksToPrune
::ll::TypedStorage< 1, 1, bool > mHaveSubChunksBeenPruned
::ll::TypedStorage< 1, 1, bool > mShouldShiftUpFlatWorldSubChunks
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::std::vector<::SubChunk > > > mSubChunksToPruneOutsideRange
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::Bedrock::LevelChunkTimings > > > mChunkTimings
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GameEventListenerRegistry > > mGameEventListenerRegistry
::ll::TypedStorage< 4, 4, ::std::atomic< int > > mSnowRandomValue
::ll::TypedStorage< 1, 1, bool > mIsClientGenerated
::ll::TypedStorage< 1, 1, bool > mWasClientGenerated
::ll::TypedStorage< 1, 1, bool > mIsEmptyClientChunk
::ll::TypedStorage< 1, 1, bool > mActorStorageUpdatedAfterCheckingForReplacementData
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mIsTransient
::ll::TypedStorage< 1, 1, bool > mDidSaveJigsawStructureBlueprints
::ll::TypedStorage< 8, 856, ::LevelChunkVolumeData > mLevelChunkVolumeData
::ll::TypedStorage< 8, 24, ::SpinLockImpl > mMoveLockMutex
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mIsBeingMoved
::ll::TypedStorage< 1, 1, ::std::atomic<::LevelChunkCreationMode > > mChunkCreationMode

Member Function Documentation

◆ _addEntityToVolumes()

MCAPI void LevelChunk::_addEntityToVolumes ( ::gsl::not_null<::Actor * > actor)
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.

◆ _deserializeBlockEntities()

MCAPI void LevelChunk::_deserializeBlockEntities ( ::IDataInput & stream,
::LevelChunkBlockActorStorage & blockEntityMap )
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.

◆ _deserializeSubChunk()

MCAPI bool LevelChunk::_deserializeSubChunk ( short index,
::StringByteInput & stream )
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.

◆ _fixupCorruptedBlockActors()

MCAPI void LevelChunk::_fixupCorruptedBlockActors ( ::LevelChunkBlockActorStorage & deserialized,
::buffer_span_mut<::SubChunk > subchunks ) 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.

◆ _recalcHeight()

MCAPI bool LevelChunk::_recalcHeight ( ::ChunkBlockPos const & start,
::BlockSource * source )
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.

◆ _set2DBiomesFrom3D()

MCAPI void LevelChunk::_set2DBiomesFrom3D ( ::IDataInput & stream)
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.

◆ _setAllBiomesFrom2D()

MCAPI void LevelChunk::_setAllBiomesFrom2D ( ::std::array<::BiomeIdType, 256 > & legacyBiomes)
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.

◆ addEntity()

MCAPI void LevelChunk::addEntity ( ::WeakEntityRef entityRef)
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.

◆ addHardcodedSpawningArea()

MCAPI void LevelChunk::addHardcodedSpawningArea ( ::BoundingBox const & spawnerAABB,
::HardcodedSpawnAreaType type )
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.

◆ applySeasonsPostProcess()

MCAPI bool LevelChunk::applySeasonsPostProcess ( ::BlockSource & region)
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.

◆ changeState()

MCAPI void LevelChunk::changeState ( ::ChunkState from,
::ChunkState to )
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.

◆ checkSeasonsPostProcessDirty()

MCAPI bool LevelChunk::checkSeasonsPostProcessDirty ( ) 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.

◆ deserializeBlockEntities()

MCAPI void LevelChunk::deserializeBlockEntities ( ::IDataInput & stream)
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.

◆ deserializeKey()

MCAPI bool LevelChunk::deserializeKey ( ::std::string_view key,
::std::string_view value )
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.

◆ deserializeMetaDataHash()

MCAPI void LevelChunk::deserializeMetaDataHash ( ::IDataInput & stream)
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.

◆ deserializeSubChunk()

MCAPI void LevelChunk::deserializeSubChunk ( uchar idx,
::IDataInput & stream,
::std::optional< schar > absoluteIndex,
::std::optional<::DeserializationChanges * > deserializationChanges )
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.

◆ finalizeDeserialization()

MCAPI void LevelChunk::finalizeDeserialization ( )
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.

◆ finalizeSubChunkDeserialization()

MCAPI void LevelChunk::finalizeSubChunkDeserialization ( ::LevelChunkBlockActorStorage & blockActorMap,
::buffer_span_mut<::SubChunk > subchunks )
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.

◆ generateOriginalLighting()

MCAPI bool LevelChunk::generateOriginalLighting ( ::ChunkViewSource & neighborhood,
bool enforceBorderCheck,
::brstd::function_ref< void()> prepareNeighborhood )
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.

◆ getMetaDataCopy()

MCAPI ::std::shared_ptr<::LevelChunkMetaData > LevelChunk::getMetaDataCopy ( ) 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.

◆ getTimingDataDiagnosticOnly()

MCAPI::Bedrock::LevelChunkTimingData LevelChunk::getTimingDataDiagnosticOnly ( ) 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.

◆ getTopRainBlockPos()

MCAPI::BlockPos const LevelChunk::getTopRainBlockPos ( ::ChunkBlockPos const & pos)
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.

◆ markForTickingThisFrame()

MCAPI void LevelChunk::markForTickingThisFrame ( ::LevelChunkTicking::Registry & registry)
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.

◆ moveAssignFrom()

MCAPI void LevelChunk::moveAssignFrom ( ::LevelChunk && otherChunk)
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.

◆ nonActorDataNeedsSaving()

MCAPI bool LevelChunk::nonActorDataNeedsSaving ( int wait,
int maxWait ) 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.

◆ onDiscarded()

MCAPI void LevelChunk::onDiscarded ( )
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.

◆ placeCallbacks()

MCAPI void LevelChunk::placeCallbacks ( ::ChunkBlockPos const & pos,
::Block const & old,
::Block const & current,
::BlockSource * currentSource,
::std::shared_ptr<::BlockActor > blockEntity,
::BlockChangeContext const & changeSourceContext )
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.

◆ pruneBiomesAboveHeightmap()

MCAPI void LevelChunk::pruneBiomesAboveHeightmap ( )
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.

◆ releasePreservedBlockEntities()

MCAPI void LevelChunk::releasePreservedBlockEntities ( ::BlockSource & tickRegion)
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.

◆ removeEntityFromChunk()

MCAPI bool LevelChunk::removeEntityFromChunk ( ::WeakEntityRef entityRef)
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.

◆ removeEntityFromWorld()

MCAPI bool LevelChunk::removeEntityFromWorld ( ::WeakEntityRef entityRef)
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.

◆ removeHardcodedSpawningArea()

MCAPI void LevelChunk::removeHardcodedSpawningArea ( ::HardcodedSpawnAreaType type)
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.

◆ serializeEntities()

MCAPI void LevelChunk::serializeEntities ( ::std::string & buffer,
bool markProcessedOnChunkDisard,
::std::function< void(::std::string const &)> addLiveActorCallback,
::std::function< void(::std::string const &)> addActorKeyCallback,
::std::function< void(::std::string const &)> addSerializedActor ) 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.

◆ serializeEntityRemovals()

MCAPI void LevelChunk::serializeEntityRemovals ( ::std::function< void(::std::string const &)> callback)
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.

◆ serializeNamedTicks()

MCAPI void LevelChunk::serializeNamedTicks ( ::IDataOutput & stream) 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.

◆ serializeNeighborChanges()

MCAPI void LevelChunk::serializeNeighborChanges ( ::IDataOutput & stream) 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.

◆ serializeRandomTicks()

MCAPI void LevelChunk::serializeRandomTicks ( ::IDataOutput & stream) 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.

◆ serializeTicks()

MCAPI void LevelChunk::serializeTicks ( ::IDataOutput & stream) 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.

◆ setBiomeStorages()

MCAPI void LevelChunk::setBiomeStorages ( ::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > biomeStorages)
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.

◆ setBorder()

MCAPI void LevelChunk::setBorder ( ::ChunkBlockPos const & pos,
bool val )
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.

◆ setPendingEntities()

MCAPI void LevelChunk::setPendingEntities ( ::std::string entitiesData)
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.

◆ validateAndFixBiomeStates()

MCAPI void LevelChunk::validateAndFixBiomeStates ( )
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.

◆ createNew()

MCAPI ::std::unique_ptr<::LevelChunk, ::LevelChunkPhase1Deleter > LevelChunk::createNew ( ::Dimension & dimension,
::ChunkPos cp,
bool readOnly,
::SubChunkInitMode initBlocks,
::LevelChunkBlockActorStorage::TrackingMode blockActorTrackingMode )
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.

◆ deserialize3DBiomes()

MCAPI ::std::pair< ushort, ::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > > LevelChunk::deserialize3DBiomes ( ::IDataInput & stream,
::BiomeRegistry const & biomeRegistry,
ushort dimensionHeightInSubchunks,
::Biome const * defaultBiome,
bool fromNetwork )
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.

◆ findExposedLightningRod()

MCAPI ::std::optional<::BlockPos > LevelChunk::findExposedLightningRod ( ::BlockPos const & pos,
::BlockSource & region )
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.

◆ staticDeserializeLegacyTerrain()

MCAPI ::std::tuple<::std::array<::ChunkLocalHeight, 256 >, ::std::array<::BiomeIdType, 256 >, ::std::vector<::SubChunk > > LevelChunk::staticDeserializeLegacyTerrain ( ::IDataInput & stream,
short minY,
ushort dimensionSizeInSubchunks )
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: