LeviLamina
Loading...
Searching...
No Matches
NetherDimension.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 HashedString;
16class ILevel;
17class LevelChunk;
18class Scheduler;
19class Vec3;
20class WorldGenerator;
21namespace br::worldgen { class StructureSetRegistry; }
22// clang-format on
23
25public:
26 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ~NetherDimension() /*override*/ = default;
34
35 // vIndex: 14
36 virtual void init(::br::worldgen::StructureSetRegistry const& structureSetRegistry) /*override*/;
37
38 // vIndex: 24
39 virtual ::HashedString getDefaultBiome() const /*override*/;
40
41 // vIndex: 1
42 virtual bool isNaturalDimension() const /*override*/;
43
44 // vIndex: 21
45 virtual bool isValidSpawn(int x, int z) const /*override*/;
46
47 // vIndex: 28
48 virtual bool showSky() const /*override*/;
49
50 // vIndex: 29
51 virtual float getTimeOfDay(int time, float a) const /*override*/;
52
53 // vIndex: 25
54 virtual bool mayRespawnViaBed() const /*override*/;
55
56 // vIndex: 9
57 virtual ::Vec3 translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const /*override*/;
58
59 // vIndex: 17
60 virtual ::std::unique_ptr<::WorldGenerator>
61 createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry) /*override*/;
62
63 // vIndex: 20
64 virtual bool levelChunkNeedsUpgrade(::LevelChunk const& lc) const /*override*/;
65
66 // vIndex: 18
67 virtual void upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk) /*override*/;
68
69 // vIndex: 19
70 virtual void fixWallChunk(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
71
72 // vIndex: 39
73 virtual void _upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers) /*override*/;
74
75 // vIndex: 40
76 virtual ::std::unique_ptr<::ChunkSource> _wrapStorageForVersionCompatibility(
77 ::std::unique_ptr<::ChunkSource> storageSource,
78 ::StorageVersion levelVersion
79 ) /*override*/;
80 // NOLINTEND
81
82public:
83 // member functions
84 // NOLINTBEGIN
85 MCNAPI NetherDimension(::ILevel& level, ::Scheduler& callbackContext);
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCNAPI void* $ctor(::ILevel& level, ::Scheduler& callbackContext);
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCNAPI void $init(::br::worldgen::StructureSetRegistry const& structureSetRegistry);
98
99 MCNAPI ::HashedString $getDefaultBiome() const;
100
101 MCNAPI bool $isNaturalDimension() const;
102
103 MCNAPI bool $isValidSpawn(int x, int z) const;
104
105 MCNAPI bool $showSky() const;
106
107 MCNAPI float $getTimeOfDay(int time, float a) const;
108
109 MCNAPI bool $mayRespawnViaBed() const;
110
111 MCNAPI ::Vec3 $translatePosAcrossDimension(::Vec3 const& originalPos, ::DimensionType fromId) const;
112
113 MCNAPI ::std::unique_ptr<::WorldGenerator>
115
116 MCNAPI bool $levelChunkNeedsUpgrade(::LevelChunk const& lc) const;
117
118 MCNAPI void $upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk);
119
120 MCNAPI void $fixWallChunk(::ChunkSource& source, ::LevelChunk& lc);
121
122 MCNAPI void $_upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers);
123
124 MCNAPI ::std::unique_ptr<::ChunkSource>
125 $_wrapStorageForVersionCompatibility(::std::unique_ptr<::ChunkSource> storageSource, ::StorageVersion levelVersion);
126 // NOLINTEND
127
128public:
129 // vftables
130 // NOLINTBEGIN
132
133 MCNAPI static void** $vftableForIDimension();
134
135 MCNAPI static void** $vftableForSavedData();
136
137 MCNAPI static void** $vftableForLevelListener();
138 // NOLINTEND
139};
Definition AutomaticID.h:6
Definition ChunkSource.h:34
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition HashedString.h:5
Definition ILevel.h:205
Definition LevelChunk.h:74
Definition NetherDimension.h:24
MCAPI ::std::unique_ptr<::WorldGenerator > $createGenerator(::br::worldgen::StructureSetRegistry const &structureSetRegistry)
MCAPI void * $ctor(::ILevel &level, ::Scheduler &callbackContext)
MCAPI void $init(::br::worldgen::StructureSetRegistry const &structureSetRegistry)
MCAPI bool $showSky() const
MCAPI bool $levelChunkNeedsUpgrade(::LevelChunk const &lc) const
static MCAPI void ** $vftableForEnableNonOwnerReferences()
MCAPI NetherDimension(::ILevel &level, ::Scheduler &callbackContext)
MCAPI void $fixWallChunk(::ChunkSource &source, ::LevelChunk &lc)
MCAPI ::std::unique_ptr<::ChunkSource > $_wrapStorageForVersionCompatibility(::std::unique_ptr<::ChunkSource > storageSource, ::StorageVersion levelVersion)
MCAPI void $_upgradeOldLimboEntity(::CompoundTag &tag, ::LimboEntitiesVersion vers)
static MCAPI void ** $vftableForIDimension()
MCAPI bool $mayRespawnViaBed() const
static MCAPI void ** $vftableForLevelListener()
MCAPI float $getTimeOfDay(int time, float a) const
MCAPI void $upgradeLevelChunk(::ChunkSource &source, ::LevelChunk &lc, ::LevelChunk &generatedChunk)
MCAPI::HashedString $getDefaultBiome() const
static MCAPI void ** $vftableForSavedData()
MCAPI::Vec3 $translatePosAcrossDimension(::Vec3 const &originalPos, ::DimensionType fromId) const
MCAPI bool $isValidSpawn(int x, int z) const
MCAPI bool $isNaturalDimension() const
Definition Scheduler.h:13
Definition Vec3.h:10
Definition WorldGenerator.h:30
Definition StructureSetRegistry.h:12