Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ServerSubChunkLighter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/chunk/ISubChunkLighter.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
12class LevelChunk;
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ::std::vector<::BlockPos> relightSubChunk(
21 ::BlockSource& source,
22 ::LevelChunk const& levelChunk,
23 uint64 centerSubChunkIndex,
24 ::std::vector<::SubChunkLightUpdate> const& alteredBlockList
25 ) const /*override*/;
26
27 virtual bool isDeferredEnabled() const /*override*/;
28 // NOLINTEND
29
30public:
31 // virtual function thunks
32 // NOLINTBEGIN
33 MCNAPI ::std::vector<::BlockPos> $relightSubChunk(
34 ::BlockSource& source,
35 ::LevelChunk const& levelChunk,
36 uint64 centerSubChunkIndex,
37 ::std::vector<::SubChunkLightUpdate> const& alteredBlockList
38 ) const;
39
40 MCNAPI bool $isDeferredEnabled() const;
41
42
43 // NOLINTEND
44};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition ISubChunkLighter.h:16
Definition LevelChunk.h:76
Definition ServerSubChunkLighter.h:16
MCAPI bool $isDeferredEnabled() const
MCAPI ::std::vector<::BlockPos > $relightSubChunk(::BlockSource &source, ::LevelChunk const &levelChunk, uint64 centerSubChunkIndex, ::std::vector<::SubChunkLightUpdate > const &alteredBlockList) const
Definition SubChunkLightUpdate.h:9