18class CachedChunkBlockSource {
22 ::ll::TypedStorage<8, 8, ::BlockSource&> mBlockSource;
23 ::ll::TypedStorage<2, 2, short> mMinHeight;
24 ::ll::TypedStorage<8, 8, ::ChunkPos> mPreviousChunkPos;
25 ::ll::TypedStorage<2, 2, short> mPreviousSubChunkHeight;
26 ::ll::TypedStorage<8, 8, ::LevelChunk const*> mPreviousLevelChunk;
27 ::ll::TypedStorage<8, 8, ::SubChunk const*> mPreviousSubChunk;
32 CachedChunkBlockSource& operator=(CachedChunkBlockSource
const&);
33 CachedChunkBlockSource(CachedChunkBlockSource
const&);
34 CachedChunkBlockSource();
39 MCAPI ushort _updateCacheAndGetIndex(
::BlockPos const& position);
41 MCAPI ::Block
const& getBlock(
::BlockPos const& position);
43 MCAPI ::Block
const& getLiquidBlock(
::BlockPos const& position);
45 MCAPI ::Material
const& getMaterial(
::BlockPos const& pos);