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 LevelChunk;
16class Vec3;
17class WorldGenerator;
19namespace br::worldgen { class StructureSetRegistry; }
20namespace mce { class Color; }
21// clang-format on
22
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~OverworldDimension() /*override*/ = default;
33
34 // vIndex: 9
35 virtual ::Vec3 translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const /*override*/;
36
37 // vIndex: 17
38 virtual ::std::unique_ptr<::WorldGenerator>
39 createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry) /*override*/;
40
41 // vIndex: 20
42 virtual bool levelChunkNeedsUpgrade(::LevelChunk const& lc) const /*override*/;
43
44 // vIndex: 18
45 virtual void upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk) /*override*/;
46
47 // vIndex: 19
48 virtual void fixWallChunk(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
49
50 // vIndex: 23
51 virtual short getCloudHeight() const /*override*/;
52
53 // vIndex: 22
54 virtual ::mce::Color getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const
55 /*override*/;
56
57 // vIndex: 41
58 virtual void _upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers) /*override*/;
59
60 // vIndex: 42
61 virtual ::std::unique_ptr<::ChunkSource> _wrapStorageForVersionCompatibility(
62 ::std::unique_ptr<::ChunkSource> storageSource,
63 ::StorageVersion levelVersion
64 ) /*override*/;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(::DerivedDimensionArguments&& args);
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::Vec3 $translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const;
83
84 MCAPI ::std::unique_ptr<::WorldGenerator>
85 $createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry);
86
87 MCFOLD bool $levelChunkNeedsUpgrade(::LevelChunk const& lc) const;
88
89 MCAPI void $upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk);
90
91 MCFOLD void $fixWallChunk(::ChunkSource& source, ::LevelChunk& lc);
92
93 MCAPI short $getCloudHeight() const;
94
95 MCAPI ::mce::Color $getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const;
96
97 MCFOLD void $_upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers);
98
99 MCAPI ::std::unique_ptr<::ChunkSource>
100 $_wrapStorageForVersionCompatibility(::std::unique_ptr<::ChunkSource> storageSource, ::StorageVersion levelVersion);
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
107
108 MCNAPI static void** $vftableForIDimension();
109
110 MCNAPI static void** $vftableForLevelListener();
111
112 MCNAPI static void** $vftableForSavedData();
113 // NOLINTEND
114};
Definition AutomaticID.h:6
Definition ChunkSource.h:36
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition LevelChunk.h:78
Definition OverworldDimension.h:23
static MCAPI void ** $vftableForLevelListener()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForIDimension()
static MCAPI void ** $vftableForSavedData()
Definition Vec3.h:10
Definition WorldGenerator.h:31
Definition StructureSetRegistry.h:12
Definition Color.h:13
Definition DerivedDimensionArguments.h:14