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