LeviLamina
Loading...
Searching...
No Matches
LevelChunkVolumeData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class ChunkPos;
9class IDataInput;
11class StructureStart;
12namespace br { class LevelChunkDataRegistry; }
13namespace br::worldgen { class StructureInstance; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const>>> mStructures;
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const>>>
22 mStructureReferences;
23 ::ll::TypedStorage<8, 768, ::br::LevelChunkDataRegistry> mDataRegistry;
24 ::ll::TypedStorage<4, 12, ::BlockPos> mMin;
25 ::ll::TypedStorage<4, 12, ::BlockPos> mMax;
26 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
27 ::ll::TypedStorage<8, 8, ::StructureSpawnRegistry const&> mStructureSpawnRegistry;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void addStructure(::std::shared_ptr<::br::worldgen::StructureInstance const> instance);
34
35 MCFOLD void addStructure(::StructureStart const& start);
36
37 MCAPI void addStructureReference(::std::shared_ptr<::br::worldgen::StructureInstance const> instance);
38
39 MCFOLD void addStructureReference(::StructureStart const& start);
40
41 MCAPI void deserializeAabbVolumes(::IDataInput& stream);
42
43 MCAPI void deserializeHardcodedSpawners(::IDataInput& stream);
44
45 MCAPI ::std::vector<::BlockPos> structureSpawnPos() const;
46
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55};
Definition BlockPos.h:18
Definition ChunkPos.h:11
Definition IDataInput.h:8
Definition LevelChunkVolumeData.h:16
Definition StructureSpawnRegistry.h:14
Definition StructureStart.h:13