38 [[nodiscard]]
bool operator>(
BlockTick const& other)
const {
return mData > other.mData; }
51 :
public ::MovePriorityQueue<::BlockTickingQueue::BlockTick, ::std::greater<::BlockTickingQueue::BlockTick>> {
55 MCAPI
void _pruneQueueForMemory();
72 ::ll::TypedStorage<8, 8, ::LevelChunk*> mOwningChunk;
73 ::ll::TypedStorage<8, 8, ::Tick> mCurrentTick;
74 ::ll::TypedStorage<8, 24, ::BlockTickingQueue::TickDataSet> mNextTickQueue;
75 ::ll::TypedStorage<8, 24, ::BlockTickingQueue::TickDataSet> mActiveTickQueue;
76 ::ll::TypedStorage<8, 24, ::BlockTickingQueue::TickDataSet> mDeferredTicks;
77 ::ll::TypedStorage<1, 1, ::TickingQueueType> mQueueType;
78 ::ll::TypedStorage<1, 1, bool> mInstaTick;
86 MCAPI
void _addToNextTickQueue(
::BlockPos const& pos,
::Block const& block,
int tickDelay,
int priorityOffset);
95 MCAPI
void addTickToLevelChunk(
103 MCAPI
void eliminateDuplicatesOf(
::BlockLegacy const& block);
105 MCAPI
void finishInstaticking();
109 MCAPI ::std::unordered_multimap<::BlockPos, ::TickDelayBlock>
114 MCAPI
void remove(::std::function<
bool(
::TickNextTickData const&)>
const& removeCondition);
118 MCAPI
bool tickPendingTicks(
::BlockSource& region,
::Tick const& until,
int max,
bool instaTick_);