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

Classes

class  BlockTick
struct  HashBlockTick
class  TickDataSet

Public Member Functions

MCAPI void _acquireAllTicks (::BlockTickingQueue &otherChunkQueue)
MCAPI void _eliminateTicksForZeroAndAbove (::BlockTickingQueue::TickDataSet &queue)
MCAPI void _saveQueue (::ListTag &list, ::BlockTickingQueue::TickDataSet const &queue) const
MCAPI void add (::BlockSource &region, ::BlockPos const &pos, ::Block const &block, int tickDelay, int priorityOffset)
MCAPI void addTickToLevelChunk (::LevelChunk &lc, ::BlockPos const &pos, ::Block const &block, int tickDelay, int priorityOffset)
MCAPI void eliminateDuplicatesOf (::BlockType const &block)
MCAPI void finishInstaticking ()
MCAPI bool getNextUpdateForPos (::BlockPos const &pos, ::Tick &tick) const
MCAPI ::std::unordered_multimap<::BlockPos, ::TickDelayBlock > getTickDelaysInArea (::BoundingBox const &boundingBox) const
MCAPI void load (::CompoundTag const &tag, ::BlockPalette const &palette)
MCAPI void remove (::brstd::function_ref< bool(::TickNextTickData const &)> removeCondition)
MCAPI void remove (::BlockPos const &pos, ::Block const &block)
MCAPI void save (::CompoundTag &tag) const
MCAPI bool tickPendingTicks (::BlockSource &region, ::Tick const &until, int max, bool instaTick_)
MCAPI ~BlockTickingQueue ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 8, ::LevelChunk * > mOwningChunk
::ll::TypedStorage< 8, 8, ::Tick > mCurrentTick
::ll::TypedStorage< 8, 24, ::BlockTickingQueue::TickDataSet > mNextTickQueue
::ll::TypedStorage< 8, 24, ::BlockTickingQueue::TickDataSet > mActiveTickQueue
::ll::TypedStorage< 8, 24, ::BlockTickingQueue::TickDataSet > mDeferredTicks
::ll::TypedStorage< 1, 1, ::TickingQueueType > mQueueType
::ll::TypedStorage< 1, 1, bool > mInstaTick

Constructor & Destructor Documentation

◆ ~BlockTickingQueue()

MCAPI BlockTickingQueue::~BlockTickingQueue ( )
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

◆ _acquireAllTicks()

MCAPI void BlockTickingQueue::_acquireAllTicks ( ::BlockTickingQueue & otherChunkQueue)
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.

◆ _eliminateTicksForZeroAndAbove()

MCAPI void BlockTickingQueue::_eliminateTicksForZeroAndAbove ( ::BlockTickingQueue::TickDataSet & queue)
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.

◆ _saveQueue()

MCAPI void BlockTickingQueue::_saveQueue ( ::ListTag & list,
::BlockTickingQueue::TickDataSet const & queue ) 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.

◆ eliminateDuplicatesOf()

MCAPI void BlockTickingQueue::eliminateDuplicatesOf ( ::BlockType const & block)
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.

◆ finishInstaticking()

MCAPI void BlockTickingQueue::finishInstaticking ( )
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.

◆ getTickDelaysInArea()

MCAPI ::std::unordered_multimap<::BlockPos, ::TickDelayBlock > BlockTickingQueue::getTickDelaysInArea ( ::BoundingBox const & boundingBox) 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.

◆ load()

MCAPI void BlockTickingQueue::load ( ::CompoundTag const & tag,
::BlockPalette const & palette )
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.

◆ remove() [1/2]

MCAPI void BlockTickingQueue::remove ( ::brstd::function_ref< bool(::TickNextTickData const &)> removeCondition)
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.

◆ remove() [2/2]

MCAPI void BlockTickingQueue::remove ( ::BlockPos const & pos,
::Block const & block )
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.

◆ save()

MCAPI void BlockTickingQueue::save ( ::CompoundTag & tag) 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.

◆ $dtor()

MCAPI void BlockTickingQueue::$dtor ( )
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: