LeviLamina
Loading...
Searching...
No Matches
OverworldDimension.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/level/dimension/Dimension.h"
8#include "mc/world/level/dimension/LimboEntitiesVersion.h"
9#include "mc/world/level/storage/StorageVersion.h"
10
11// auto generated forward declare list
12// clang-format off
13class ChunkSource;
14class CompoundTag;
15class ILevel;
16class LevelChunk;
17class Scheduler;
18class Vec3;
19class WorldGenerator;
20namespace br::worldgen { class StructureSetRegistry; }
21namespace mce { class Color; }
22// clang-format on
23
25public:
26 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ~OverworldDimension() /*override*/ = default;
34
35 // vIndex: 9
36 virtual ::Vec3 translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const /*override*/;
37
38 // vIndex: 17
39 virtual ::std::unique_ptr<::WorldGenerator>
40 createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry) /*override*/;
41
42 // vIndex: 20
43 virtual bool levelChunkNeedsUpgrade(::LevelChunk const& lc) const /*override*/;
44
45 // vIndex: 18
46 virtual void upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk) /*override*/;
47
48 // vIndex: 19
49 virtual void fixWallChunk(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
50
51 // vIndex: 23
52 virtual short getCloudHeight() const /*override*/;
53
54 // vIndex: 22
55 virtual ::mce::Color getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const
56 /*override*/;
57
58 // vIndex: 39
59 virtual void _upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers) /*override*/;
60
61 // vIndex: 40
62 virtual ::std::unique_ptr<::ChunkSource> _wrapStorageForVersionCompatibility(
63 ::std::unique_ptr<::ChunkSource> storageSource,
64 ::StorageVersion levelVersion
65 ) /*override*/;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::ILevel& level, ::Scheduler& context);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::Vec3 $translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const;
84
85 MCAPI ::std::unique_ptr<::WorldGenerator>
86 $createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry);
87
88 MCFOLD bool $levelChunkNeedsUpgrade(::LevelChunk const& lc) const;
89
90 MCAPI void $upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk);
91
92 MCFOLD void $fixWallChunk(::ChunkSource& source, ::LevelChunk& lc);
93
94 MCAPI short $getCloudHeight() const;
95
96 MCAPI ::mce::Color $getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const;
97
98 MCFOLD void $_upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers);
99
100 MCAPI ::std::unique_ptr<::ChunkSource>
101 $_wrapStorageForVersionCompatibility(::std::unique_ptr<::ChunkSource> storageSource, ::StorageVersion levelVersion);
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
108
109 MCNAPI static void** $vftableForIDimension();
110
111 MCNAPI static void** $vftableForLevelListener();
112
113 MCNAPI static void** $vftableForSavedData();
114 // NOLINTEND
115};
Definition AutomaticID.h:6
Definition ChunkSource.h:34
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition ILevel.h:205
Definition LevelChunk.h:74
Definition OverworldDimension.h:24
static MCAPI void ** $vftableForLevelListener()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForIDimension()
static MCAPI void ** $vftableForSavedData()
Definition Scheduler.h:13
Definition Vec3.h:10
Definition WorldGenerator.h:30
Definition StructureSetRegistry.h:12
Definition Color.h:13
Definition context.h:5