Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Dimension.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/Brightness.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/game_refs/EnableGetWeakRef.h"
9#include "mc/deps/game_refs/OwnerPtr.h"
10#include "mc/deps/game_refs/WeakRef.h"
11#include "mc/legacy/ActorUniqueID.h"
12#include "mc/platform/brstd/function_ref.h"
13#include "mc/world/level/BlockChangedEventTarget.h"
14#include "mc/world/level/ChunkPos.h"
15#include "mc/world/level/LevelListener.h"
16#include "mc/world/level/SubChunkPos.h"
17#include "mc/world/level/block/BrightnessPair.h"
18#include "mc/world/level/chunk/ChunkKey.h"
19#include "mc/world/level/chunk/LevelChunkGarbageCollector.h"
20#include "mc/world/level/dimension/ActorReplication.h"
21#include "mc/world/level/dimension/DimensionHeightRange.h"
22#include "mc/world/level/dimension/DimensionIdType.h"
23#include "mc/world/level/dimension/DimensionType.h"
24#include "mc/world/level/dimension/DirectionalLightSource.h"
25#include "mc/world/level/dimension/IDimension.h"
26#include "mc/world/level/dimension/LimboEntitiesVersion.h"
27#include "mc/world/level/levelgen/ChunkGenSessionContext.h"
28#include "mc/world/level/levelgen/v1/FeatureTerrainAdjustments.h"
29#include "mc/world/level/levelgen/v2/providers/IntProvider.h"
30#include "mc/world/level/saveddata/SavedData.h"
31#include "mc/world/level/storage/StorageVersion.h"
32
33// auto generated forward declare list
34// clang-format off
35class Actor;
36class BiomeRegistry;
37class Block;
39class BlockPos;
40class BlockSource;
43class ChunkSource;
44class CircuitSystem;
45class CompoundTag;
46class DelayActionList;
48class EntityContext;
50class ILevel;
52class LevelChunk;
55class Packet;
56class Player;
59class Seasons;
61class TaskGroup;
62class TickingAreaList;
63class Vec3;
64class VillageManager;
65class WeakEntityRef;
66class Weather;
67class WorldGenerator;
71struct BiomeIdType;
75namespace Poi { class Manager; }
76namespace br::worldgen { class StructureSetRegistry; }
77namespace mce { class Color; }
79// clang-format on
80
81class Dimension : public ::IDimension,
82 public ::LevelListener,
83 public ::SavedData,
85 public ::EnableGetWeakRef<::Dimension>,
86 public ::std::enable_shared_from_this<::Dimension> {
87public:
88 // Dimension inner types declare
89 // clang-format off
92 // clang-format on
93
94 // Dimension inner types define
96 public:
97 // member variables
98 // NOLINTBEGIN
99 ::ll::TypedStorage<4, 4, float> mMinFlashDuration;
100 ::ll::TypedStorage<4, 4, float> mMaxFlashDuration;
101 ::ll::TypedStorage<4, 4, float> mMinFlashCooldown;
102 ::ll::TypedStorage<4, 4, float> mMaxFlashCooldown;
103 // NOLINTEND
104 };
105
107 public:
108 // member variables
109 // NOLINTBEGIN
110 ::ll::TypedStorage<4, 4, float> mAngle;
111 ::ll::TypedStorage<4, 4, float> mPerpendicularAngle;
112 ::ll::TypedStorage<4, 4, float> mIntensityMultiplier;
113 ::ll::TypedStorage<4, 4, ::DirectionalLightSource> mLightSource;
114 ::ll::TypedStorage<1, 1, bool> mDisableLightSource;
115 // NOLINTEND
116 };
117
118 using ActorTagList = ::std::vector<::std::unique_ptr<::CompoundTag>>;
119
120 using ChunkPosToActorListMap = ::std::unordered_map<::ChunkPos, ::std::vector<::std::unique_ptr<::CompoundTag>>>;
121
122 using DirectionalLightControls = ::std::variant<::Dimension::ChaoticDirectionalLightControls>;
123
124public:
125 // member variables
126 // NOLINTBEGIN
127 ::ll::TypedStorage<8, 24, ::std::vector<::ActorChunkTransferEntry>> mActorChunkTransferQueue;
128 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkKey, ::std::vector<::ActorUnloadedChunkTransferEntry>>>
129 mActorUnloadedChunkTransferQueue;
130 ::ll::TypedStorage<8, 8, ::ILevel&> mLevel;
131 ::ll::TypedStorage<2, 4, ::DimensionHeightRange> mHeightRange;
132 ::ll::TypedStorage<2, 2, short> mSeaLevel;
133 ::ll::TypedStorage<1, 1, uchar> mMonsterSpawnBlockLightLimit;
134 ::ll::TypedStorage<8, 32, ::IntProvider> mMonsterSpawnLightTest;
135 ::ll::TypedStorage<8, 16, ::OwnerPtr<::BlockSource>> mBlockSource;
136 ::ll::TypedStorage<1, 1, bool> mHasWeather;
137 ::ll::TypedStorage<4, 28, float[7]> mMobsPerChunkSurface;
138 ::ll::TypedStorage<4, 28, float[7]> mMobsPerChunkUnderground;
139 ::ll::TypedStorage<1, 2, ::BrightnessPair> mDefaultBrightness;
140 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DimensionBrightnessRamp>> mDimensionBrightnessRamp;
141 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LevelChunkMetaData>> mTargetMetaData;
142 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::RuntimeLightingManager>> mRuntimeLightingManager;
143 ::ll::TypedStorage<8, 32, ::std::string> mName;
144 ::ll::TypedStorage<8, 32, ::std::string> mTypeId;
145 ::ll::TypedStorage<4, 4, ::DimensionType> mId;
146 ::ll::TypedStorage<2, 2, ::DimensionIdType const> mRegistryId;
147 ::ll::TypedStorage<1, 1, bool> mUltraWarm;
148 ::ll::TypedStorage<1, 1, bool> mHasCeiling;
149 ::ll::TypedStorage<1, 1, bool> mHasSkylight;
150 ::ll::TypedStorage<1, 1, ::Brightness> mSkyDarken;
151 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockEventDispatcher>> mDispatcher;
152 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
153 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mChunkGenTaskGroup;
154 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PostprocessingManager>> mPostProcessingManager;
155 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubChunkInterlocker>> mSubChunkInterlocker;
156 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ChunkSource>> mChunkSource;
157 ::ll::TypedStorage<8, 8, ::WorldGenerator*> mWorldGenerator;
158 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Weather>> mWeather;
159 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Seasons>> mSeasons;
160 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameEventDispatcher>> mGameEventDispatcher;
161 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CircuitSystem>> mCircuitSystem;
162 ::ll::TypedStorage<4, 4, int const> CIRCUIT_TICK_RATE;
163 ::ll::TypedStorage<4, 4, int> mCircuitSystemTickRate;
164 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ActorUniqueID, ::WeakEntityRef>> mActorIDEntityIDMap;
165 ::ll::TypedStorage<8, 24, ::std::vector<::WeakEntityRef>> mDisplayEntities;
166 ::ll::TypedStorage<8, 72, ::FeatureTerrainAdjustments> mFeatureTerrainAdjustments;
167 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkPos, ::std::vector<::std::unique_ptr<::CompoundTag>>>>
168 mLimboEntities;
169 ::ll::TypedStorage<8, 16, ::std::set<::ActorUniqueID>> mEntitiesToMoveChunks;
170 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TickingAreaList>> mTickingAreaList;
171 ::ll::TypedStorage<8, 120, ::LevelChunkGarbageCollector> mLevelChunkGarbageCollector;
172 ::ll::TypedStorage<8, 16, ::std::set<::ActorUniqueID>> mWitherIDs;
173 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelChunkBuilderData>> mLevelChunkBuilderData;
174 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastPruneTime;
175 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastStructurePruneTime;
176 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ChunkBuildOrderPolicyBase>> mChunkBuildOrderPolicy;
177 ::ll::TypedStorage<8, 40, ::ChunkGenSessionContext> mChunkGenSessionContext;
178 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VillageManager>> mVillageManager;
179 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Poi::Manager>> mPoiManager;
180 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkIdentifierWithSubId>> mTemporaryPlayerIds;
181 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ChunkLoadActionList>> mChunkLoadActionList;
182 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DelayActionList>> mDelayActionList;
183 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SubChunkPos, ::UpdateSubChunkBlocksChangedInfo>>
184 mBlocksChangedBySubChunkMap;
185 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IClientDimensionExtensions>> mClientExtensions;
186 ::ll::TypedStorage<8, 112, ::ActorReplication> mActorReplication;
187 ::ll::TypedStorage<8, 24, ::std::vector<::WeakEntityRef>> mPlayersToReplicate;
188 ::ll::TypedStorage<1, 1, bool> mRunChunkGenWatchDog;
189 // NOLINTEND
190
191public:
192 [[nodiscard]] ushort getHeightInSubchunks() const {
193 // e.g. overworld: (320 - -64) / 16 == 24
194 return static_cast<ushort>((mHeightRange->mMax - mHeightRange->mMin) / 16);
195 }
196
197public:
198 // prevent constructor by default
199 Dimension& operator=(Dimension const&);
200 Dimension(Dimension const&);
201 Dimension();
202
203public:
204 // virtual functions
205 // NOLINTBEGIN
206 virtual ~Dimension() /*override*/;
207
208 virtual void init(::br::worldgen::StructureSetRegistry const& structureSetRegistry);
209
210 virtual void tick();
211
212 virtual void tickRedstone();
213
214 virtual ::std::unique_ptr<::WorldGenerator>
215 createGenerator(::br::worldgen::StructureSetRegistry const& structureSetRegistry) = 0;
216
217 virtual void upgradeLevelChunk(::ChunkSource& source, ::LevelChunk& lc, ::LevelChunk& generatedChunk) = 0;
218
219 virtual void fixWallChunk(::ChunkSource& source, ::LevelChunk& lc) = 0;
220
221 virtual void initializeWithLevelStorageManagerConnector(
222 ::ILevelStorageManagerConnector& levelStorageManagerConnector
223 ) /*override*/;
224
225 virtual bool levelChunkNeedsUpgrade(::LevelChunk const& lc) const = 0;
226
227 virtual bool isNaturalDimension() const /*override*/;
228
229 virtual bool shouldRenderClouds() const /*override*/;
230
231 virtual bool isValidSpawn(int x, int z) const;
232
233 virtual ::mce::Color getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const;
234
235 virtual short getCloudHeight() const;
236
237 virtual ::BiomeIdType getDefaultBiomeId() const;
238
239 virtual bool mayRespawnViaBed() const;
240
241 virtual ::BlockPos getSpawnPos() const;
242
243 virtual int getSpawnYPosition() const;
244
245 virtual bool showSky() const;
246
247 virtual float getTimeOfDay(int time, float a) const;
248
249 virtual void setDimensionDirectionalLightControls(
250 ::std::variant<::Dimension::ChaoticDirectionalLightControls> const& directionalLightControls
251 );
252
253 virtual ::Dimension::DirectionalLightState getDimensionDirectionalLightSourceState(float a) const;
254
255 virtual ::DimensionType getDimensionId() const /*override*/;
256
257 virtual void forEachPlayer(::brstd::function_ref<bool(::Player&)> callback) const /*override*/;
258
259 virtual ::BiomeRegistry& getBiomeRegistry() /*override*/;
260
261 virtual ::BiomeRegistry const& getBiomeRegistry() const /*override*/;
262
263 virtual ::BlockSource& getBlockSourceFromMainChunkSource() const /*override*/;
264
265 virtual ::Actor* fetchEntity(::ActorUniqueID actorID, bool getRemoved) const /*override*/;
266
267 virtual void onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
268
269 virtual void deserialize(::CompoundTag const& tag) /*override*/;
270
271 virtual void serialize(::CompoundTag& tag) const /*override*/;
272
273 virtual void sendBroadcast(::Packet const& packet, ::Player* except);
274
275 virtual bool is2DPositionRelevantForPlayer(::BlockPos const& position, ::Player& player) const;
276
277 virtual void buildPlayersForPositionPacket(
278 ::BlockPos const& position,
279 ::Player const* except,
280 ::std::vector<::NetworkIdentifierWithSubId>& result
281 ) const /*override*/;
282
283 virtual void
284 sendPacketForPosition(::BlockPos const& position, ::Packet const& packet, ::Player const* except) /*override*/;
285
286 virtual void sendPacketForEntity(::Actor const& actor, ::Packet const& packet, ::Player const* except) /*override*/;
287
288 virtual bool isActorRelevantForPlayer(::Player& player, ::Actor const& actor) const;
289
290 virtual void onBlockEvent(::BlockSource& source, int x, int y, int z, int b0, int b1) /*override*/;
291
292 virtual void onBlockChanged(
293 ::BlockSource& source,
294 ::BlockPos const& pos,
295 uint layer,
296 ::Block const& block,
297 ::Block const& oldBlock,
298 int updateFlags,
299 ::ActorBlockSyncMessage const* syncMsg,
300 ::BlockChangedEventTarget eventTarget,
301 ::Actor* blockChangeSource
302 ) /*override*/;
303
304 virtual void onLevelDestruction(::std::string const&) /*override*/;
305
306 virtual ::DimensionBrightnessRamp const& getBrightnessRamp() const;
307
308 virtual ::std::vector<::std::string> const getStructuresFromChunkRegistry(::Vec3 const& location) const;
309
310 virtual ::std::optional<::std::string> const getStructureFromStructureRegistry(::Vec3 const& location) const;
311
312 virtual void startLeaveGame();
313
314 virtual void flushLevelChunkGarbageCollector() /*override*/;
315
316 virtual void updatePoiBlockStateChange(::BlockPos pos, ::Block const& removed, ::Block const& placed) const
317 /*override*/;
318
319 virtual ::std::unique_ptr<::ChunkBuildOrderPolicyBase> _createChunkBuildOrderPolicy();
320
321 virtual void _upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers) = 0;
322
323 virtual ::std::unique_ptr<::ChunkSource> _wrapStorageForVersionCompatibility(
324 ::std::unique_ptr<::ChunkSource> storageSource,
325 ::StorageVersion levelVersion
326 ) = 0;
327 // NOLINTEND
328
329public:
330 // member functions
331 // NOLINTBEGIN
332 MCAPI explicit Dimension(::DimensionArguments&& args);
333
335 ::ChunkPos const& fromChunkPos,
336 ::ChunkPos const& toChunkPos,
337 ::DimensionType dimId,
338 ::std::string& actorStorageKey,
339 ::std::unique_ptr<::CompoundTag> entityTag
340 );
341
343
345
346 MCNAPI void addWither(::ActorUniqueID const& id);
347
348 MCNAPI ::Player* fetchNearestInteractablePlayer(::Vec3 const& searchPos, float maxDist) const;
349
350 MCNAPI ::Player* findPlayer(::brstd::function_ref<bool(::Player const&)> pred) const;
351
352 MCNAPI void flagEntityforChunkMove(::Actor& e);
353
354 MCNAPI void flushRunTimeLighting();
355
356#ifdef LL_PLAT_C
357 MCNAPI float getSkyDarken(float a) const;
358
359 MCNAPI float getSunAngle(float a) const;
360
361 MCAPI float getTimeOfDay(float a) const;
362
363 MCNAPI void registerDisplayEntity(::WeakRef<::EntityContext> entityRef);
364#endif
365
366 MCNAPI void removeActorByID(::ActorUniqueID const& id);
367
368 MCNAPI void
369 transferEntity(::ChunkPos const& fromChunkPos, ::Vec3 const& spawnPos, ::std::unique_ptr<::CompoundTag> entityTag);
370
371 MCNAPI void tryLoadLimboEntities(::ChunkPos const& loadPos);
372
374 // NOLINTEND
375
376public:
377 // static variables
378 // NOLINTBEGIN
379 MCNAPI static ::std::add_lvalue_reference_t<float const[]> MOON_BRIGHTNESS_PER_PHASE();
380 // NOLINTEND
381
382public:
383 // constructor thunks
384 // NOLINTBEGIN
385 MCAPI void* $ctor(::DimensionArguments&& args);
386 // NOLINTEND
387
388public:
389 // destructor thunk
390 // NOLINTBEGIN
391 MCAPI void $dtor();
392 // NOLINTEND
393
394public:
395 // virtual function thunks
396 // NOLINTBEGIN
397 MCAPI void $init(::br::worldgen::StructureSetRegistry const& structureSetRegistry);
398
399 MCAPI void $tick();
400
401 MCAPI void $tickRedstone();
402
403 MCAPI void
404 $initializeWithLevelStorageManagerConnector(::ILevelStorageManagerConnector& levelStorageManagerConnector);
405
406 MCFOLD bool $isNaturalDimension() const;
407
408 MCFOLD bool $shouldRenderClouds() const;
409
410 MCFOLD bool $isValidSpawn(int x, int z) const;
411
412 MCAPI ::mce::Color $getBrightnessDependentFogColor(::mce::Color const& baseColor, float brightness) const;
413
414 MCNAPI short $getCloudHeight() const;
415
416#ifdef LL_PLAT_S
417 MCAPI ::BiomeIdType $getDefaultBiomeId() const;
418#else // LL_PLAT_C
419 MCFOLD ::BiomeIdType $getDefaultBiomeId() const;
420#endif
421
422 MCFOLD bool $mayRespawnViaBed() const;
423
424 MCFOLD ::BlockPos $getSpawnPos() const;
425
426 MCFOLD int $getSpawnYPosition() const;
427
428 MCFOLD bool $showSky() const;
429
430 MCAPI float $getTimeOfDay(int time, float a) const;
431
432 MCFOLD void $setDimensionDirectionalLightControls(
433 ::std::variant<::Dimension::ChaoticDirectionalLightControls> const& directionalLightControls
434 );
435
436 MCAPI ::Dimension::DirectionalLightState $getDimensionDirectionalLightSourceState(float a) const;
437
438 MCAPI ::DimensionType $getDimensionId() const;
439
440 MCAPI void $forEachPlayer(::brstd::function_ref<bool(::Player&)> callback) const;
441
442 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
443
444 MCFOLD ::BiomeRegistry const& $getBiomeRegistry() const;
445
446 MCAPI ::BlockSource& $getBlockSourceFromMainChunkSource() const;
447
448 MCAPI ::Actor* $fetchEntity(::ActorUniqueID actorID, bool getRemoved) const;
449
450 MCAPI void $onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc);
451
452 MCAPI void $deserialize(::CompoundTag const& tag);
453
454 MCAPI void $serialize(::CompoundTag& tag) const;
455
456 MCAPI void $sendBroadcast(::Packet const& packet, ::Player* except);
457
458 MCAPI bool $is2DPositionRelevantForPlayer(::BlockPos const& position, ::Player& player) const;
459
460 MCAPI void $buildPlayersForPositionPacket(
461 ::BlockPos const& position,
462 ::Player const* except,
463 ::std::vector<::NetworkIdentifierWithSubId>& result
464 ) const;
465
466 MCAPI void $sendPacketForPosition(::BlockPos const& position, ::Packet const& packet, ::Player const* except);
467
468 MCAPI void $sendPacketForEntity(::Actor const& actor, ::Packet const& packet, ::Player const* except);
469
470 MCAPI bool $isActorRelevantForPlayer(::Player& player, ::Actor const& actor) const;
471
472 MCAPI void $onBlockEvent(::BlockSource& source, int x, int y, int z, int b0, int b1);
473
474 MCAPI void $onBlockChanged(
475 ::BlockSource& source,
476 ::BlockPos const& pos,
477 uint layer,
478 ::Block const& block,
479 ::Block const& oldBlock,
480 int updateFlags,
481 ::ActorBlockSyncMessage const* syncMsg,
482 ::BlockChangedEventTarget eventTarget,
483 ::Actor* blockChangeSource
484 );
485
486 MCAPI void $onLevelDestruction(::std::string const&);
487
488 MCFOLD ::DimensionBrightnessRamp const& $getBrightnessRamp() const;
489
490 MCAPI ::std::vector<::std::string> const $getStructuresFromChunkRegistry(::Vec3 const& location) const;
491
492 MCAPI ::std::optional<::std::string> const $getStructureFromStructureRegistry(::Vec3 const& location) const;
493
494 MCAPI void $startLeaveGame();
495
496 MCAPI void $flushLevelChunkGarbageCollector();
497
498 MCAPI void $updatePoiBlockStateChange(::BlockPos pos, ::Block const& removed, ::Block const& placed) const;
499
500 MCAPI ::std::unique_ptr<::ChunkBuildOrderPolicyBase> $_createChunkBuildOrderPolicy();
501
502
503 // NOLINTEND
504};
Definition Actor.h:116
Definition EnableNonOwnerReferences.h:7
Definition BiomeRegistry.h:37
Definition BlockEventDispatcher.h:19
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition ChunkBuildOrderPolicyBase.h:11
Definition ChunkLoadActionList.h:25
Definition ChunkPos.h:13
Definition ChunkSource.h:37
Definition CircuitSystem.h:15
Definition CompoundTag.h:18
Definition DelayActionList.h:20
Definition DimensionBrightnessRamp.h:5
Definition Dimension.h:86
MCAPI::Player * findPlayer(::brstd::function_ref< bool(::Player const &)> pred) const
MCAPI void transferEntity(::ChunkPos const &fromChunkPos, ::Vec3 const &spawnPos, ::std::unique_ptr<::CompoundTag > entityTag)
MCAPI void flushRunTimeLighting()
MCAPI void removeActorByID(::ActorUniqueID const &id)
MCAPI void addWither(::ActorUniqueID const &id)
MCAPI void flagEntityforChunkMove(::Actor &e)
MCAPI void _completeEntityTransfer(::OwnerPtr<::EntityContext > entity)
MCAPI void _addActorUnloadedChunkTransferToQueue(::ChunkPos const &fromChunkPos, ::ChunkPos const &toChunkPos, ::DimensionType dimId, ::std::string &actorStorageKey, ::std::unique_ptr<::CompoundTag > entityTag)
static MCAPI ::std::add_lvalue_reference_t< float const[]> MOON_BRIGHTNESS_PER_PHASE()
MCAPI void _tickEntityChunkMoves()
MCAPI short $getCloudHeight() const
MCAPI void unregisterDisplayEntity(::WeakRef<::EntityContext > entityRef)
MCAPI::Player * fetchNearestInteractablePlayer(::Vec3 const &searchPos, float maxDist) const
MCAPI void tryLoadLimboEntities(::ChunkPos const &loadPos)
Definition EnableGetWeakRef.h:6
Definition EntityContext.h:15
Definition GameEventDispatcher.h:14
Definition IClientDimensionExtensions.h:5
Definition IDimension.h:24
Definition ILevelStorageManagerConnector.h:13
Definition ILevel.h:223
Definition LevelChunkBuilderData.h:16
Definition LevelChunkMetaData.h:8
Definition LevelChunk.h:76
Definition LevelListener.h:28
Definition OwnerPtr.h:7
Definition Packet.h:29
Definition Player.h:131
Definition Manager.h:13
Definition PostprocessingManager.h:15
Definition RuntimeLightingManager.h:17
Definition SavedData.h:10
MCAPI void $dtor()
Definition Seasons.h:12
Definition SubChunkInterlocker.h:14
Definition TaskGroup.h:85
Definition TickingAreaList.h:15
Definition Vec3.h:10
Definition VillageManager.h:28
Definition WeakEntityRef.h:14
Definition WeakRef.h:8
Definition Weather.h:19
Definition WorldGenerator.h:35
Definition StructureSetRegistry.h:12
Definition function_ref.h:60
Definition Color.h:13
STL namespace.
Definition ActorBlockSyncMessage.h:8
Definition ActorChunkTransferEntry.h:8
Definition ActorUniqueID.h:5
Definition ActorUnloadedChunkTransferEntry.h:13
Definition BiomeIdType.h:8
Definition DimensionArguments.h:10
Definition DimensionType.h:5
Definition Dimension.h:106
Definition NetworkIdentifierWithSubId.h:10
Definition UpdateSubChunkBlocksChangedInfo.h:13
Definition serialize.h:11