LeviLamina
Loading...
Searching...
No Matches
Level.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/comprehensive/ParticleType.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/deps/core/utility/UniqueOwnerPointer.h"
11#include "mc/deps/core/utility/pub_sub/Subscription.h"
12#include "mc/deps/game_refs/OwnerPtr.h"
13#include "mc/deps/game_refs/StackRefResult.h"
14#include "mc/deps/game_refs/WeakRef.h"
15#include "mc/deps/shared_types/legacy/Difficulty.h"
16#include "mc/deps/shared_types/legacy/LevelEvent.h"
17#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
18#include "mc/network/GamePublishSetting.h"
19#include "mc/platform/Result.h"
20#include "mc/server/commands/CurrentCmdVersion.h"
21#include "mc/util/Factory.h"
22#include "mc/util/IDType.h"
23#include "mc/util/OwnerPtrFactory.h"
24#include "mc/util/TagRegistry.h"
25#include "mc/world/actor/ActorEvent.h"
26#include "mc/world/item/registry/ItemRegistryRef.h"
27#include "mc/world/level/ActorValidationError.h"
28#include "mc/world/level/BlockSource.h"
29#include "mc/world/level/BlockSourceListener.h"
30#include "mc/world/level/CommandOriginSystem.h"
31#include "mc/world/level/GameType.h"
32#include "mc/world/level/ILevel.h"
33#include "mc/world/level/IWorldRegistriesProvider.h"
34#include "mc/world/level/pathfinder/CanJumpIntoNode.h"
35#include "mc/world/level/pathfinder/NodeType.h"
36#include "mc/world/level/storage/StorageVersion.h"
37
38// auto generated forward declare list
39// clang-format off
40class Abilities;
41class Actor;
49class ActorFactory;
50class ActorFetcher;
53class ActorManager;
54class ActorRuntimeID;
59class BehaviorFactory;
61class BiomeManager;
62class BiomeRegistry;
63class Block;
68class BlockPalette;
69class BlockPos;
70class BlockReducer;
71class BlockType;
74class CameraPresets;
77class ChunkPos;
78class ChunkSource;
81class ChunkViewSource;
84class Command;
85class CommandOrigin;
86class CompoundTag;
89class Dimension;
94class EntityContext;
95class EntityRegistry;
96class EntitySystems;
99class Experiments;
100class Explosion;
101class FeatureRegistry;
103class GameRules;
105class HashedString;
106class HitResult;
107class HitResultWrapper;
113class ILevelRandom;
115class IRandom;
116class ISubChunkLighter;
121class LayeredAbilities;
123class LevelChunk;
129class LevelData;
132class LevelListener;
133class LevelSeed64;
134class LevelSettings;
136class LevelStorage;
140class LootTables;
141class MapItemSavedData;
142class Mob;
146class NetEventCallback;
150class PacketSender;
151class ParticleProvider;
152class Path;
153class PauseManager;
156class PhotoManager;
157class PhotoStorage;
158class Player;
163class PlayerListEntry;
172class PortalForcer;
175class Random;
176class Recipes;
178class SavedDataStorage;
179class Scheduler;
180class Scoreboard;
190class Spawner;
191class StartGamePacket;
193class StructureManager;
195class SubChunkPacket;
197class TagCacheManager;
198class TaskGroup;
199class TempEPtrManager;
201class TickingAreaList;
203class TradeTables;
206class UniqueIDManager;
209class Vec3;
211class WeakEntityRef;
212class WeatherManager;
214class _TickPtr;
216struct ActorUniqueID;
217struct AdventureSettings;
219struct Bounds;
223struct DimensionType;
224struct LevelArguments;
225struct LevelTagIDType;
226struct LevelTagSetIDType;
227struct PlaySoundOptions;
229struct PlayerSleepStatus;
232struct Tick;
233namespace PlayerCapabilities { struct ISharedController; }
234namespace PositionTrackingDB { class PositionTrackingDBClient; }
235namespace PositionTrackingDB { class PositionTrackingDBServer; }
236namespace SharedTypes::v1_26_50 { struct CameraPreset; }
237namespace VoxelShapes { class VoxelShapeRegistry; }
238namespace cereal { struct ReflectionCtx; }
239namespace cg { class ImageBuffer; }
240namespace mce { class Color; }
241namespace mce { class UUID; }
244class CameraRegistry;
245class Particle;
246class SubChunkManager;
249struct ScreenshotOptions;
250// clang-format on
251
252class ServerLevel;
253
254class Level : public ::ILevel, public ::BlockSourceListener, public ::IWorldRegistriesProvider {
255public:
256 [[nodiscard]] ServerLevel& asServer() { return *reinterpret_cast<ServerLevel*>(this); }
257
258public:
259 // Level inner types define
260 using RegionSet = ::std::unordered_set<::BlockSource*>;
261
262public:
263 // member variables
264 // NOLINTBEGIN
265 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender> const> mPacketSender;
266 ::ll::TypedStorage<
267 8,
268 16,
269 ::gsl::not_null<
271 mTagRegistry;
272 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
273 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
275 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData> const> mLevelData;
276 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
277 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
278 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
282 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
283 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
284 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
290 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
291 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
292 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
293 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
294 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
295 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
296 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
297 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
298 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
299 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
300 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>> const> mContainerRegistry;
301 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
302 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
303 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
304 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
305 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
306 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
307 ::ll::TypedStorage<1, 1, bool> mIsExporting;
308 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
309 ::ll::TypedStorage<1, 1, bool> mSimPaused;
310 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
311 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
312 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
313 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
314 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
315 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
316 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
317 ::ll::TypedStorage<1, 1, bool> mTearingDown;
318 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
319 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
320 mEventCoordinatorManager;
321 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
322 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
323 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
324 mLevelChunkPerformanceTelemetry;
325 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
326 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
327 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
328 mJigsawStructureRegistry;
329 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
330 mStructureSpawnRegistry;
331 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::DimensionFactoryAndManager>>>
332 mDimensionFactoryAndManager;
333 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
334 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
335 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
336 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
337 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
338 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
339 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
340 mLightTextureImageBuilderFactory;
341 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
342 mEducationSettingsManager;
343 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
344 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
345 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
346 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
347 mPositionTrackerDBClient;
348 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
349 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
350 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
351 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
352 mActorGarbageCollector;
353 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
354 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
355 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
356 mAutonomousActorManager;
357 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
358 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
359 mGameplayUserManager;
360 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
361 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
362 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
363 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
364 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
365 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
366 mActorRuntimeIDManager;
367 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
368 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
369 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
370 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
371 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
372 mServerParticleManager;
373 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
374 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
375 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
376 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
377 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
378 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
379 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
380 mChunkTickRangeManager;
381 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
382 mChunkViewTrackerManager;
383 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster> const> mActorEventBroadcaster;
384 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
385 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
386 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
387 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
388 mPlayerDimensionTransferManager;
389 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>> const>
390 mLevelCrashDumpManager;
391 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
392 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
393 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
395 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
396 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
397 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
398 mChunkTickOffsetManager;
399 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
400 mPlayerMovementSettingsManager;
401 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
402 mPlayerAbilitiesManager;
403 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
404 mPlayerPermissionsManager;
405 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
406 mPlayerPermissionsSynchroniser;
407 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
408 mLevelChunkEventManager;
409 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
410 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
411 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
412 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
413 mActorDimensionTransferManager;
414 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
415 mLevelBlockDestroyer;
416 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
417 mTickDeltaTimeManager;
418 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
419 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
420 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
421 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
422 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
423 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::DensityFunctionRegistry>>> mDensityFunctionRegistry;
424 // NOLINTEND
425
426public:
427 // prevent constructor by default
428 Level& operator=(Level const&);
429 Level(Level const&);
430 Level();
431
432public:
433 // virtual functions
434 // NOLINTBEGIN
435 virtual ~Level() /*override*/;
436
437 virtual bool initialize(
438 ::std::string const& levelName,
439 ::LevelSettings const& levelSettings,
440 ::Experiments const& experiments,
441 ::std::string const* levelId,
442 ::std::optional<::std::reference_wrapper<
443 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
444 biomeIdToResolvedData
445 ) /*override*/;
446
447 virtual void startLeaveGame() /*override*/;
448
449 virtual bool isLeaveGameDone() /*override*/;
450
451 virtual bool isDimensionTypeActive(::DimensionType dimensionType) const /*override*/;
452
453 virtual ::WeakRef<::Dimension> getOrCreateDimension(::DimensionType dimensionType) /*override*/;
454
455 virtual ::WeakRef<::Dimension> getDimension(::DimensionType id) const /*override*/;
456
457 virtual ::PlayerSpawnDimensionResolution resolvePlayerSpawnDimension(::CompoundTag const* playerTag) const
458 /*override*/;
459
460 virtual void forEachDimension(::std::function<bool(::Dimension&)> callback) /*override*/;
461
462 virtual void forEachDimension(::std::function<bool(::Dimension const&)> callback) const /*override*/;
463
464 virtual uint getChunkTickRange() const /*override*/;
465
466 virtual ::ChunkTickRangeManager const& getChunkTickRangeManager() const /*override*/;
467
468 virtual ::PortalForcer& getPortalForcer() /*override*/;
469
470 virtual void requestPlayerChangeDimension(::Player& player, ::ChangeDimensionRequest&& changeRequest) /*override*/;
471
472 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
473 getPlayerDimensionTransferManager() /*override*/;
474
475 virtual void entityChangeDimension(
476 ::Actor& entity,
477 ::ActorDimensionTransferRequest const& actorDimensionTransferRequest
478 ) /*override*/;
479
480 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
481 getActorDimensionTransferManager() /*override*/;
482
483 virtual ::Spawner& getSpawner() const /*override*/;
484
485 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
486 getBossEventSubscriptionManager() /*override*/;
487
488 virtual ::ProjectileFactory& getProjectileFactory() const /*override*/;
489
490 virtual ::ActorDefinitionGroup* getEntityDefinitions() const /*override*/;
491
492 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup() const /*override*/;
493
494 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup() const
495 /*override*/;
496
497 virtual ::BlockDefinitionGroup* getBlockDefinitions() const /*override*/;
498
499 virtual ::PropertyGroupManager& getActorPropertyGroup() const /*override*/;
500
501 virtual ::CameraPresets const& getCameraPresets() const /*override*/;
502
503 virtual ::CameraPresets& getCameraPresets() /*override*/;
504
505 virtual ::SharedTypes::v1_26_50::CameraPreset const* getCameraPreset(int presetIndex) const /*override*/;
506
507 virtual bool getDisablePlayerInteractions() const /*override*/;
508
509 virtual void setDisablePlayerInteractions(bool const disable) /*override*/;
510
511 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup() const /*override*/;
512
513 virtual ::BehaviorFactory& getBehaviorFactory() const /*override*/;
514
515 virtual ::SharedTypes::Legacy::Difficulty getDifficulty() const /*override*/;
516
517 virtual ::DimensionConversionData getDimensionConversionData() const /*override*/;
518
519 virtual float getSpecialMultiplier(::DimensionType dimensionType) const /*override*/;
520
521 virtual bool hasCommandsEnabled() const /*override*/;
522
523 virtual bool useMsaGamertagsOnly() const /*override*/;
524
525 virtual void setMsaGamertagsOnly(bool msaGamertagsOnly) /*override*/;
526
527 virtual ::Actor* addEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
528
529 virtual ::Actor* putEntity(
530 ::BlockSource& region,
532 ::ActorRuntimeID runtimeId,
534 ) /*override*/;
535
536 virtual ::Actor*
537 putEntity(::BlockSource& region, ::ActorUniqueID id, ::OwnerPtr<::EntityContext> entity) /*override*/;
538
539 virtual ::Actor* addGlobalEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
540
541 virtual ::Actor* addAutonomousEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
542
543 virtual void addUser(::OwnerPtr<::EntityContext> userEntity) /*override*/;
544
545#ifdef LL_PLAT_S
546 virtual ::Actor* addDisplayEntity(::BlockSource&, ::OwnerPtr<::EntityContext>) /*override*/;
547#else // LL_PLAT_C
548 virtual ::Actor* addDisplayEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
549#endif
550
551#ifdef LL_PLAT_S
552 virtual void removeDisplayEntity(::WeakEntityRef) /*override*/;
553#else // LL_PLAT_C
554 virtual void removeDisplayEntity(::WeakEntityRef entity) /*override*/;
555#endif
556
557 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() /*override*/;
558
559 virtual void suspendPlayer(::Player& player) /*override*/;
560
561 virtual void resumePlayer(::Player& player) /*override*/;
562
563 virtual bool isPlayerSuspended(::Player& player) const /*override*/;
564
565 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() /*override*/;
566
567 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager() const /*override*/;
568
569 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() /*override*/;
570
571 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(::WeakEntityRef entityRef) /*override*/;
572
573 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(::WeakEntityRef entityRef) /*override*/;
574
575 virtual ::OwnerPtr<::EntityContext> takeEntity(::WeakEntityRef entityRef, ::LevelChunk& lc) /*override*/;
576
577 virtual ::StrictEntityContext fetchStrictEntity(::ActorUniqueID actorId, bool getRemoved) const /*override*/;
578
579 virtual ::Actor* fetchEntity(::ActorUniqueID actorId, bool getRemoved) const /*override*/;
580
581 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher() const /*override*/;
582
583 virtual ::Actor* getRuntimeEntity(::ActorRuntimeID actorId, bool getRemoved) const /*override*/;
584
585 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() /*override*/;
586
587 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager() const /*override*/;
588
589 virtual ::Mob* getMob(::ActorUniqueID mobId) const /*override*/;
590
591 virtual ::Player* getPlayer(::std::string const& name) const /*override*/;
592
593 virtual ::Player* getPlayer(::mce::UUID const& uuid) const /*override*/;
594
595 virtual ::Player* getPlayer(::ActorUniqueID entityID) const /*override*/;
596
597 virtual ::Player* getPlayerByXuid(::std::string const& xuid) const /*override*/;
598
599 virtual ::Player* getPlatformPlayer(::std::string const& platformOnlineId) const /*override*/;
600
601 virtual ::Player* getPlayerFromServerId(::std::string const& serverId) const /*override*/;
602
603 virtual ::Player* getRuntimePlayer(::ActorRuntimeID runtimeId) const /*override*/;
604
605 virtual int getNumRemotePlayers() const /*override*/;
606
607 virtual ::Player* getPrimaryLocalPlayer() const /*override*/;
608
609 virtual ::IMinecraftEventing& getEventing() /*override*/;
610
611 virtual ::mce::Color getPlayerColor(::Player const& player) const /*override*/;
612
613 virtual ::Tick const& getCurrentTick() const /*override*/;
614
615 virtual ::Tick const getCurrentServerTick() const /*override*/;
616
617 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager() const /*override*/;
618
619 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
620
621 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> getContainerRegistryAccess() const
622 /*override*/;
623
624 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> getContainerRegistryTracker() const
625 /*override*/;
626
627 virtual ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> getDynamicContainerSerialization() const
628 /*override*/;
629
630 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> getShapeRegistry() const /*override*/;
631
632 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> getMutableShapeRegistry() const /*override*/;
633
634 virtual ::BiomeRegistry const& getBiomeRegistry() const /*override*/;
635
636 virtual ::BiomeRegistry& getBiomeRegistry() /*override*/;
637
638 virtual ::BlockPalette const& getBlockPalette() const /*override*/;
639
640 virtual ::BlockPalette& getBlockPalette() /*override*/;
641
642 virtual ::FeatureRegistry const& getFeatureRegistry() const /*override*/;
643
644 virtual ::FeatureRegistry& getFeatureRegistry() /*override*/;
645
646 virtual ::FeatureTypeFactory const& getFeatureTypeFactory() const /*override*/;
647
648 virtual ::FeatureTypeFactory& getFeatureTypeFactory() /*override*/;
649
650 virtual ::JigsawStructureRegistry const& getJigsawStructureRegistry() const /*override*/;
651
652 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() /*override*/;
653
654 virtual ::StructureSpawnRegistry const& getStructureSpawnRegistry() const /*override*/;
655
656 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() /*override*/;
657
658 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> const getStructureManager() const /*override*/;
659
660 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() /*override*/;
661
662 virtual ::BiomeComponentFactory const& getBiomeComponentFactory() const /*override*/;
663
664 virtual ::BiomeComponentFactory& getBiomeComponentFactory() /*override*/;
665
666 virtual ::SurfaceBuilderRegistry const& getSurfaceBuilderRegistry() const /*override*/;
667
668 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() /*override*/;
669
670 virtual ::BiomeManager const& getBiomeManager() const /*override*/;
671
672 virtual ::BiomeManager& getBiomeManager() /*override*/;
673
674 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&> const& getDimensionFactory() const
675 /*override*/;
676
677 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() /*override*/;
678
679 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&> const&
680 getLightTextureImageBuilderFactory() const /*override*/;
681
682 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
683 getLightTextureImageBuilderFactory() /*override*/;
684
685 virtual ::InternalComponentRegistry& getInternalComponentRegistry() const /*override*/;
686
687 virtual ::IWorldRegistriesProvider const& getWorldRegistriesProvider() const /*override*/;
688
689 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() /*override*/;
690
691 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const> const getWorldClockRegistry() const /*override*/;
692
693 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> getWorldClockRegistry() /*override*/;
694
695 virtual void addListener(::LevelListener& listener) /*override*/;
696
697 virtual void removeListener(::LevelListener& listener) /*override*/;
698
699 virtual void tickEntities() /*override*/;
700
701 virtual void tickEntitySystems() /*override*/;
702
703 virtual void onPlayerDeath(::Player& player, ::ActorDamageSource const& source) /*override*/;
704
705 virtual void tick() /*override*/;
706
707 virtual bool explode(
708 ::BlockSource& region,
709 ::Actor* source,
710 ::Vec3 const& pos,
711 float explosionRadius,
712 bool fire,
713 bool breaksBlocks,
714 float maxResistance,
715 bool allowUnderwater
716 ) /*override*/;
717
718 virtual bool explode(::Explosion& explosion) /*override*/;
719
720 virtual void denyEffect(::BlockSource& region, ::Vec3 const& pos) /*override*/;
721
722 virtual void potionSplash(::Vec3 const& pos, ::mce::Color const& color, bool instantaneousEffect) /*override*/;
723
724 virtual bool extinguishFire(::BlockSource& region, ::BlockPos const& pos, uchar face, ::Actor* source) /*override*/;
725
726 virtual ::std::unique_ptr<::Path>
727 findPath(::Actor& from, int xBest, int yBest, int zBest, ::NavigationComponent& navigation) /*override*/;
728
729 virtual ::std::unique_ptr<::Path>
730 findPath(::Actor& from, ::Actor const& to, ::NavigationComponent& navigation) /*override*/;
731
732 virtual void setSleepStatus(::PlayerSleepStatus const& status) /*override*/;
733
734 virtual ::PlayerSleepStatus getSleepStatus() const /*override*/;
735
736 virtual void updateSleepingPlayerList() /*override*/;
737
738 virtual ::PlayerSleepManager const& getPlayerSleepManager() const = 0;
739
740 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
741
742 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() /*override*/;
743
744 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager() const
745 /*override*/;
746
747 virtual int getTime() const /*override*/;
748
749 virtual void setTime(int time) /*override*/;
750
751 virtual uint getSeed() /*override*/;
752
753 virtual ::LevelSeed64 getLevelSeed64() const /*override*/;
754
755 virtual ::BlockPos const& getSharedSpawnPos() const /*override*/;
756
757 virtual void setDefaultSpawn(::BlockPos const& spawnPos) /*override*/;
758
759 virtual ::BlockPos const& getDefaultSpawn() const /*override*/;
760
761 virtual void setDefaultGameType(::GameType gameType) /*override*/;
762
763 virtual ::GameType getDefaultGameType() const /*override*/;
764
765 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) /*override*/;
766
767 virtual void setMultiplayerGameIntent(bool multiplayerGame) /*override*/;
768
769 virtual bool getMultiplayerGameIntent() const /*override*/;
770
771 virtual void setMultiplayerGame(bool multiplayerGame) /*override*/;
772
773 virtual bool isMultiplayerGame() const /*override*/;
774
775 virtual void setLANBroadcastIntent(bool broadcast) /*override*/;
776
777 virtual bool getLANBroadcastIntent() const /*override*/;
778
779 virtual void setLANBroadcast(bool broadcast) /*override*/;
780
781 virtual bool getLANBroadcast() const /*override*/;
782
783 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode) /*override*/;
784
785 virtual ::Social::GamePublishSetting getXBLBroadcastIntent() const /*override*/;
786
787 virtual bool hasXBLBroadcastIntent() const /*override*/;
788
789 virtual void setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode) /*override*/;
790
791 virtual ::Social::GamePublishSetting getXBLBroadcastMode() const /*override*/;
792
793 virtual bool hasXBLBroadcast() const /*override*/;
794
795 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode) /*override*/;
796
797 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent() const /*override*/;
798
799 virtual bool hasPlatformBroadcastIntent() const /*override*/;
800
801 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode) /*override*/;
802
803 virtual ::Social::GamePublishSetting getPlatformBroadcastMode() const /*override*/;
804
805 virtual bool hasPlatformBroadcast() const /*override*/;
806
807 virtual void setHasLockedBehaviorPack(bool hasLocked) /*override*/;
808
809 virtual void setHasLockedResourcePack(bool hasLocked) /*override*/;
810
811 virtual void setCommandsEnabled(bool commandsEnabled) /*override*/;
812
813 virtual void setWorldTemplateOptionsUnlocked() /*override*/;
814
815 virtual bool hasLevelStorage() const /*override*/;
816
817 virtual ::LevelStorage& getLevelStorage() /*override*/;
818
819 virtual ::LevelStorage const& getLevelStorage() const /*override*/;
820
821 virtual ::LevelData& getLevelData() /*override*/;
822
823 virtual ::LevelData const& getLevelData() const /*override*/;
824
825 virtual ::PhotoStorage& getPhotoStorage() const /*override*/;
826
827 virtual void createPhotoStorage() /*override*/;
828
829 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() /*override*/;
830
831 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager() const /*override*/;
832
833 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() /*override*/;
834
835 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager() const
836 /*override*/;
837
838 virtual void save() /*override*/;
839
840 virtual void saveLevelData() /*override*/;
841
842 virtual void saveGameData() /*override*/;
843
844 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() /*override*/;
845
846 virtual ::TickingAreasManager& getTickingAreasMgr() /*override*/;
847
848 virtual void addTickingAreaList(
849 ::DimensionType dimensionId,
850 ::std::shared_ptr<::TickingAreaList> const& tickingAreas
851 ) /*override*/;
852
853 virtual void playSound(
854 ::SharedTypes::Legacy::LevelSoundEvent type,
855 ::Vec3 const& pos,
856 int data,
857 ::ActorSoundIdentifier const& actorSoundIdentifier,
858 bool isGlobal
859 ) /*override*/;
860
861 virtual void playSound(
862 ::SharedTypes::Legacy::LevelSoundEvent type,
863 ::Vec3 const& pos,
864 float const volume,
865 float const pitch
866 ) /*override*/;
867
868 virtual void playSound(::PlaySoundOptions const& options) /*override*/;
869
870 virtual void playSound(
871 ::IConstBlockSource const& region,
872 ::SharedTypes::Legacy::LevelSoundEvent type,
873 ::Vec3 const& pos,
874 int data,
875 ::ActorSoundIdentifier const& actorSoundIdentifier,
876 bool isGlobal
877 ) /*override*/;
878
879 virtual void playSound(
880 ::DimensionType dimension,
881 ::SharedTypes::Legacy::LevelSoundEvent type,
882 ::Vec3 const& pos,
883 int data,
884 ::ActorSoundIdentifier const& actorSoundIdentifier,
885 bool isGlobal
886 ) /*override*/;
887
888 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() /*override*/;
889
890 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() /*override*/;
891
892 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() /*override*/;
893
894 virtual ::ActorEventCoordinator& getActorEventCoordinator() /*override*/;
895
896 virtual ::BlockEventCoordinator& getBlockEventCoordinator() /*override*/;
897
898 virtual ::ItemEventCoordinator& getItemEventCoordinator() /*override*/;
899
900 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() /*override*/;
901
902 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() /*override*/;
903
904 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() /*override*/;
905
906 virtual ::LevelEventCoordinator& getLevelEventCoordinator() /*override*/;
907
908 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data) /*override*/;
909
910 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data) /*override*/;
911
912 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() /*override*/;
913
914 virtual void handleStopSoundEvent(::std::string const& name) /*override*/;
915
916 virtual void handleStopAllSounds() /*override*/;
917
918 virtual void handleStopMusicEvent() /*override*/;
919
920 virtual void broadcastLevelEvent(
921 ::SharedTypes::Legacy::LevelEvent type,
922 ::Vec3 const& pos,
923 int data,
924 ::UserEntityIdentifierComponent const* userIdentifier
925 ) /*override*/;
926
927 virtual void broadcastLevelEvent(
928 ::SharedTypes::Legacy::LevelEvent type,
929 ::CompoundTag const& tag,
930 ::UserEntityIdentifierComponent const* userIdentifier
931 ) /*override*/;
932
933 virtual void broadcastLocalEvent(
934 ::BlockSource& region,
935 ::SharedTypes::Legacy::LevelEvent type,
936 ::Vec3 const& pos,
937 int data
938 ) /*override*/;
939
940 virtual void broadcastLocalEvent(
941 ::BlockSource& region,
942 ::SharedTypes::Legacy::LevelEvent type,
943 ::Vec3 const& pos,
944 ::Block const& block
945 ) /*override*/;
946
947 virtual void broadcastSoundEvent(
948 ::BlockSource& region,
949 ::SharedTypes::Legacy::LevelSoundEvent type,
950 ::Vec3 const& pos,
951 ::Block const& block,
952 ::ActorSoundIdentifier const& actorSoundIdentifier,
953 bool isGlobal,
954 ::std::optional<::Vec3> const& fireAtPosition
955 ) /*override*/;
956
957 virtual void broadcastSoundEvent(
958 ::BlockSource& region,
959 ::SharedTypes::Legacy::LevelSoundEvent type,
960 ::Vec3 const& pos,
961 int data,
962 ::ActorSoundIdentifier const& actorSoundIdentifier,
963 bool isGlobal,
964 ::std::optional<::Vec3> const& fireAtPosition
965 ) /*override*/;
966
967 virtual void broadcastSoundEvent(
968 ::Dimension& dimension,
969 ::SharedTypes::Legacy::LevelSoundEvent type,
970 ::Vec3 const& pos,
971 int data,
972 ::ActorSoundIdentifier const& actorSoundIdentifier,
973 bool isGlobal,
974 ::std::optional<::Vec3> const& fireAtPosition
975 ) /*override*/;
976
977 virtual void broadcastActorEvent(
978 ::Actor& actor,
979 ::ActorEvent eventId,
980 int data,
981 ::std::optional<::Vec3> const& fireAtPosition
982 ) const /*override*/;
983
984 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster() const /*override*/;
985
986 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) /*override*/;
987
988 virtual void onChunkReload(::Bounds const& bound) /*override*/;
989
990 virtual int getActivePlayerCount() const /*override*/;
991
992 virtual int getActiveUsersCount() const /*override*/;
993
994 virtual void forEachPlayer(::std::function<bool(::Player&)> callback) /*override*/;
995
996 virtual void forEachPlayer(::std::function<bool(::Player const&)> callback) const /*override*/;
997
998 virtual void forEachUser(::std::function<bool(::EntityContext&)> callback) /*override*/;
999
1000 virtual void forEachUser(::std::function<bool(::EntityContext const&)> callback) const /*override*/;
1001
1002 virtual ::Player* findPlayer(::std::function<bool(::Player const&)> pred) const /*override*/;
1003
1004 virtual ::Player* findPlayer(::std::function<bool(::WeakEntityRef const&)> pred) const /*override*/;
1005
1006 virtual int getUserCount() const /*override*/;
1007
1008 virtual int countUsersWithMatchingNetworkId(::NetworkIdentifier const& networkId) const /*override*/;
1009
1010 virtual ::std::vector<::OwnerPtr<::EntityContext>> const& getUsers() const /*override*/;
1011
1012 virtual ::std::vector<::OwnerPtr<::EntityContext>> const& getEntities() const /*override*/;
1013
1014 virtual void onSourceCreated(::BlockSource& source) /*override*/;
1015
1016 virtual void onSourceDestroyed(::BlockSource& source) /*override*/;
1017
1018 virtual void onSubChunkLoaded(
1019 ::ChunkSource& source,
1020 ::LevelChunk& lc,
1021 short absoluteSubChunkIndex,
1022 bool subChunkVisibilityChanged
1023 ) /*override*/;
1024
1025 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() /*override*/;
1026
1027 virtual void onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
1028
1029 virtual void onChunkReloaded(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
1030
1031 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() /*override*/;
1032
1033 virtual void onChunkDiscarded(::LevelChunk& lc) /*override*/;
1034
1035 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() /*override*/;
1036
1037 virtual void queueEntityDestruction(::OwnerPtr<::EntityContext> entity) /*override*/;
1038
1039 virtual ::OwnerPtr<::EntityContext> removeEntity(::Actor& actor) /*override*/;
1040
1041 virtual ::OwnerPtr<::EntityContext> removeEntity(::WeakEntityRef entityRef) /*override*/;
1042
1043 virtual void forceRemoveEntity(::Actor& actor) /*override*/;
1044
1045 virtual void forceRemoveEntityfromWorld(::Actor& actor) /*override*/;
1046
1047 virtual void forceFlushRemovedPlayers() /*override*/;
1048
1049 virtual void loadFunctionManager() /*override*/;
1050
1051 virtual void levelCleanupQueueEntityRemoval(::OwnerPtr<::EntityContext> entity) /*override*/;
1052
1053 virtual void registerTemporaryPointer(::_TickPtr& ptr) /*override*/;
1054
1055 virtual void unregisterTemporaryPointer(::_TickPtr& ptr) /*override*/;
1056
1057 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() /*override*/;
1058
1059 virtual bool destroyBlock(
1060 ::BlockSource& region,
1061 ::BlockPos const& pos,
1062 bool dropResources,
1063 ::BlockChangeContext const& changeSourceContext
1064 ) /*override*/;
1065
1066 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() /*override*/;
1067
1068 virtual void upgradeStorageVersion(::StorageVersion v) /*override*/;
1069
1070 virtual void suspendAndSave() /*override*/;
1071
1072 virtual void
1073 sendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data) /*override*/;
1074
1075 virtual ::Particle* addParticle(
1076 ::ParticleType id,
1077 ::Vec3 const& pos,
1078 ::Vec3 const& dir,
1079 int data,
1080 ::CompoundTag const* tag,
1081 bool isGlobal
1082 ) /*override*/;
1083
1084 virtual void spawnParticleEffect(
1085 ::std::string const& effectName,
1086 ::Vec3 const& spawnLocation,
1087 ::Dimension* dimension
1088 ) /*override*/;
1089
1090 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() /*override*/;
1091
1092 virtual void addParticleEffect(
1093 ::HashedString const& effect,
1094 ::Vec3 const& emitterPosition,
1095 ::MolangVariableMap const& molangVariables
1096 ) /*override*/;
1097
1098 virtual void addTerrainParticleEffect(
1099 ::BlockPos const& pos,
1100 ::Block const& block,
1101 ::Vec3 const& emitterPosition,
1102 float intensity,
1103 float velocityScalar,
1104 float emitterRadius
1105 ) /*override*/;
1106
1107 virtual void addTerrainSlideEffect(
1108 ::BlockPos const& pos,
1109 ::Block const& block,
1110 ::Vec3 const& emitterPosition,
1111 float intensity,
1112 float velocityScalar,
1113 float emitterRadius
1114 ) /*override*/;
1115
1116 virtual void addBreakingItemParticleEffect(
1117 ::Vec3 const& pos,
1118 ::BreakingItemParticleData const& data,
1119 ::ResolvedItemIconInfo const& textureInfo
1120 ) /*override*/;
1121
1122 virtual void addBiomeTintedParticleEffect(
1123 ::HashedString const& effect,
1124 ::BlockPos const& pos,
1125 ::Block const& block,
1126 ::std::optional<::mce::Color> overrideColor
1127 ) /*override*/;
1128
1129 virtual ::ActorUniqueID getNewUniqueID() /*override*/;
1130
1131 virtual ::ActorRuntimeID getNextRuntimeID() /*override*/;
1132
1133 virtual ::std::vector<::ChunkPos> const& getTickingOffsets() const /*override*/;
1134
1135 virtual ::std::vector<::ChunkPos> const& getClientTickingOffsets() const /*override*/;
1136
1137 virtual ::std::vector<::ChunkPos>
1138 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos> const& centers) const /*override*/;
1139
1140 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager() const
1141 /*override*/;
1142
1143 virtual bool isExporting() const /*override*/;
1144
1145 virtual void setIsExporting(bool IsExporting) /*override*/;
1146
1147 virtual ::SavedDataStorage& getSavedData() /*override*/;
1148
1149 virtual ::MapItemSavedData* getMapSavedData(::ActorUniqueID const uuid) /*override*/;
1150
1151 virtual ::MapItemSavedData* getMapSavedData(::CompoundTag const& instance) /*override*/;
1152
1153 virtual ::MapItemSavedData* getMapSavedData(::CompoundTag const* instance) /*override*/;
1154
1155 virtual void requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate) /*override*/;
1156
1157 virtual ::ActorUniqueID expandMapByID(::ActorUniqueID const uuid, bool wasInit) /*override*/;
1158
1159 virtual bool copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid) /*override*/;
1160
1161 virtual ::MapItemSavedData& createMapSavedData(
1162 ::ActorUniqueID const& uuid,
1163 ::BlockPos const& origin,
1164 ::DimensionType dimension,
1165 int returnScaleLevel
1166 ) /*override*/;
1167
1168 virtual ::MapItemSavedData& createMapSavedData(
1169 ::std::vector<::ActorUniqueID> const& mapIds,
1170 ::BlockPos const& origin,
1171 ::DimensionType dimension,
1172 int returnScaleLevel
1173 ) /*override*/;
1174
1175 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder() const /*override*/;
1176
1177 virtual ::std::string getLevelId() const /*override*/;
1178
1179 virtual void setLevelId(::std::string LevelId) /*override*/;
1180
1181 virtual ::TaskGroup& getSyncTasksGroup() /*override*/;
1182
1183 virtual ::TaskGroup& getIOTasksGroup() /*override*/;
1184
1185 virtual ::ResourcePackManager* getClientResourcePackManager() const /*override*/;
1186
1187 virtual ::ResourcePackManager* getServerResourcePackManager() const /*override*/;
1188
1189 virtual ::TradeTables* getTradeTables() /*override*/;
1190
1191 virtual void decrementTagCache(
1192 ::std::string const& tag,
1194 ) /*override*/;
1195
1196 virtual void incrementTagCache(
1197 ::std::string const& tag,
1199 ) /*override*/;
1200
1201 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() /*override*/;
1202
1203 virtual bool isEdu() const /*override*/;
1204
1205 virtual ::ActorFactory& getActorFactory() /*override*/;
1206
1207 virtual ::ActorFactory const& getActorFactory() const /*override*/;
1208
1209 virtual ::ActorInfoRegistry* getActorInfoRegistry() /*override*/;
1210
1211 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() /*override*/;
1212
1213 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry() const /*override*/;
1214
1215 virtual ::EntitySystems& getEntitySystems() /*override*/;
1216
1217 virtual ::WeakRef<::EntityContext> getLevelEntity() /*override*/;
1218
1219 virtual ::WeakRef<::EntityContext const> getLevelEntity() const /*override*/;
1220
1221 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer() const
1222 /*override*/;
1223
1224 virtual void runCommand(
1225 ::HashedString const& commandStr,
1226 ::CommandOrigin& origin,
1227 ::CommandOriginSystem originSystem,
1228 ::CurrentCmdVersion const commandVersion
1229 ) /*override*/;
1230
1231 virtual void
1232 runCommand(::Command& command, ::CommandOrigin& origin, ::CommandOriginSystem originSystem) /*override*/;
1233
1234 virtual ::PlayerCapabilities::ISharedController const& getCapabilities() const /*override*/;
1235
1236 virtual ::TagRegistry<::IDType<::LevelTagIDType>, ::IDType<::LevelTagSetIDType>>& getTagRegistry() /*override*/;
1237
1238 virtual ::PlayerMovementSettings const& getPlayerMovementSettings() const /*override*/;
1239
1240 virtual void setPlayerMovementSettings(::PlayerMovementSettings const& settings) /*override*/;
1241
1242 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1243 getPlayerMovementSettingsManager() /*override*/;
1244
1245 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1246 getPlayerMovementSettingsManager() const /*override*/;
1247
1248 virtual bool canUseSkin(
1249 ::SerializedSkinRef const& skin,
1250 ::NetworkIdentifier const& networkIdentifier,
1251 ::ActorUniqueID const& playerId
1252 ) const /*override*/;
1253
1254 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper() const /*override*/;
1255
1256 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry() const /*override*/;
1257
1258 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() /*override*/;
1259
1260 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() /*override*/;
1261
1262 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient() const /*override*/;
1263
1264 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer() const /*override*/;
1265
1266 virtual void flushRunTimeLighting() /*override*/;
1267
1268 virtual ::std::weak_ptr<::ISubChunkLighter> getSubChunkLighter() const /*override*/;
1269
1270 virtual void loadBlockDefinitionGroup(::Experiments const& experiments) /*override*/;
1271
1272 virtual void initializeBlockDefinitionGroup() /*override*/;
1273
1274 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() /*override*/;
1275
1276 virtual bool isClientSideGenerationEnabled() /*override*/;
1277
1278 virtual bool blockNetworkIdsAreHashes() /*override*/;
1279
1280 virtual ::ItemRegistryRef getItemRegistry() const /*override*/;
1281
1282 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry() const /*override*/;
1283
1284 virtual ::Level* asLevel() /*override*/;
1285
1286 virtual bool use3DBiomeMaps() const /*override*/;
1287
1288 virtual void pauseAndFlushTaskGroups() /*override*/;
1289
1290 virtual ::DimensionManager& getDimensionManager() /*override*/;
1291
1292 virtual ::DimensionManager const& getDimensionManager() const /*override*/;
1293
1294 virtual ::Bedrock::NotNullNonOwnerPtr<::DimensionManager> getDimensionManagerNonOwner() /*override*/;
1295
1296 virtual ::Bedrock::NotNullNonOwnerPtr<::DimensionManager const> getDimensionManagerNonOwner() const /*override*/;
1297
1298 virtual void subChunkTickAndSendRequests() /*override*/;
1299
1300 virtual void _subTick();
1301
1302 virtual ::StackRefResult<::PauseManager> getPauseManager() /*override*/;
1303
1304 virtual ::StackRefResult<::PauseManager const> getPauseManager() const /*override*/;
1305
1306 virtual bool isClientSide() const /*override*/;
1307
1308 virtual ::SubClientId getSubClientId() const /*override*/;
1309
1310 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const& getPlayerList() const /*override*/;
1311
1312 virtual ::std::string const& getPlayerXUID(::mce::UUID const& uuid) const /*override*/;
1313
1314 virtual ::std::string const& getPlayerPlatformOnlineId(::mce::UUID const& uuid) const /*override*/;
1315
1316 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() /*override*/;
1317
1318 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager() const /*override*/;
1319
1320 virtual ::std::vector<::WeakEntityRef> const& getActiveUsers() const /*override*/;
1321
1322 virtual void notifySubChunkRequestManager(::SubChunkPacket const& packet) /*override*/;
1323
1324 virtual ::SubChunkRequestManager* getSubChunkRequestManager() /*override*/;
1325
1326 virtual ::std::vector<::Actor*> getRuntimeActorList() const /*override*/;
1327
1328 virtual ::PacketSender* getPacketSender() const /*override*/;
1329
1330 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback() const /*override*/;
1331
1332 virtual void setNetEventCallback(::Bedrock::NonOwnerPointer<::NetEventCallback> val) /*override*/;
1333
1334 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() /*override*/;
1335
1336 virtual ::IRandom& getIRandom() const /*override*/;
1337
1338 virtual ::Random& getRandom() const /*override*/;
1339
1340 virtual ::Random& getThreadRandom() const /*override*/;
1341
1342 virtual ::HitResult& getHitResult() /*override*/;
1343
1344 virtual ::HitResult& getLiquidHitResult() /*override*/;
1345
1346 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() /*override*/;
1347
1348 virtual ::std::string const& getImmersiveReaderString() const /*override*/;
1349
1350 virtual void setImmersiveReaderString(::std::string newString) /*override*/;
1351
1352 virtual ::AdventureSettings& getAdventureSettings() /*override*/;
1353
1354 virtual ::AdventureSettings const& getAdventureSettings() const /*override*/;
1355
1356 virtual ::GameRules const& getGameRules() const /*override*/;
1357
1358 virtual ::GameRules& getGameRules() /*override*/;
1359
1360 virtual bool hasStartWithMapEnabled() const /*override*/;
1361
1362 virtual bool isEditorWorld() const /*override*/;
1363
1364 virtual bool isEditorTestWorld() const /*override*/;
1365
1366 virtual bool getAllowAnonymousBlockDropsInEditorWorlds() const /*override*/;
1367
1368 virtual bool isHardcore() const /*override*/;
1369
1370 virtual ::Abilities& getDefaultAbilities() /*override*/;
1371
1372 virtual ::PermissionsHandler& getDefaultPermissions() /*override*/;
1373
1374 virtual ::PermissionsHandler const& getDefaultPermissions() const /*override*/;
1375
1376 virtual bool getTearingDown() const /*override*/;
1377
1378 virtual void takePicture(
1379 ::cg::ImageBuffer& outImage,
1380 ::Actor* camera,
1381 ::Actor* target,
1382 ::ScreenshotOptions& screenshotOptions,
1383 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
1384 ) /*override*/;
1385
1386 virtual ::LevelSoundManager& getLevelSoundManager() /*override*/;
1387
1388 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer() const /*override*/;
1389
1390 virtual void setSimPaused(bool value) /*override*/;
1391
1392 virtual bool getSimPaused() const /*override*/;
1393
1394 virtual void setFinishedInitializing() /*override*/;
1395
1396 virtual ::LootTables& getLootTables() /*override*/;
1397
1398 virtual void updateWeather(float rainLevel, int rainTime, float lightningLevel, int lightningTime) /*override*/;
1399
1400 virtual int getNetherScale() const /*override*/;
1401
1402 virtual ::Scoreboard& getScoreboard() /*override*/;
1403
1404 virtual ::Scoreboard const& getScoreboard() const /*override*/;
1405
1406 virtual ::Scoreboard* tryGetScoreboard() /*override*/;
1407
1408 virtual ::LayeredAbilities* getPlayerAbilities(::ActorUniqueID const& playerId) /*override*/;
1409
1410 virtual void setPlayerAbilities(::ActorUniqueID const& playerId, ::LayeredAbilities const& abilities) /*override*/;
1411
1412 virtual void sendAllPlayerAbilities(::Player const& playerReference) /*override*/;
1413
1414 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() /*override*/;
1415
1416 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() /*override*/;
1417
1418 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1419 getPlayerPermissionsSynchroniser() /*override*/;
1420
1421 virtual ::Recipes& getRecipes() const /*override*/;
1422
1423 virtual ::BlockReducer* getBlockReducer() const /*override*/;
1424
1425 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry() const /*override*/;
1426
1427 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() /*override*/;
1428
1429 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry() const /*override*/;
1430
1431 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() /*override*/;
1432
1433 virtual ::BlockType const& getRegisteredBorderBlock() const /*override*/;
1434
1435 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1436 getLevelChunkPerformanceTelemetry() /*override*/;
1437
1438 virtual ::cereal::ReflectionCtx& cerealContext() /*override*/;
1439
1440 virtual ::cereal::ReflectionCtx const& cerealContext() const /*override*/;
1441
1442 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() /*override*/;
1443
1444 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager() const /*override*/;
1445
1446 virtual void clearAllGenerationRequests(::NetworkIdentifier const& player, ::SubClientId clientId) /*override*/;
1447
1448 virtual void digestServerBlockProperties(::StartGamePacket const& packet) /*override*/;
1449
1450 virtual ::MolangPackSettingsCache const* getMolangPackSettingsCache() const /*override*/;
1451
1452 virtual ::PlayerDeathManager* _getPlayerDeathManager() /*override*/;
1453
1454 virtual void _initializeMapDataManager();
1455
1456 virtual ::cereal::ReflectionCtx& _cerealContext() /*override*/;
1457
1458 virtual void _onLowMemory() /*override*/;
1459 // NOLINTEND
1460
1461public:
1462 // member functions
1463 // NOLINTBEGIN
1464 MCAPI explicit Level(::LevelArguments&& args);
1465
1466 MCAPI void _onAddBreakingItemParticleEffect(
1467 ::Vec3 const& pos,
1468 ::BreakingItemParticleData const& data,
1469 ::ResolvedItemIconInfo const& textureInfo
1470 );
1471
1472 MCAPI void _onAddTerrainParticleEffect(
1473 ::BlockPos const& pos,
1474 ::Block const& block,
1475 ::Vec3 const& emitterPosition,
1476 float particleCount,
1477 float velocityScalar,
1478 float emitterRadius
1479 );
1480
1481 MCAPI void _onAddTerrainSlideEffect(
1482 ::BlockPos const& pos,
1483 ::Block const& block,
1484 ::Vec3 const& emitterPosition,
1485 float particleCount,
1486 float velocityScalar,
1487 float emitterRadius
1488 );
1489
1490 MCAPI void _onAnyGameplayUsersRemoved();
1491
1492 MCAPI void _onChunkDiscarded(::LevelChunk& levelChunk);
1493
1494 MCAPI void _onChunkLoaded(::ChunkSource& chunkSource, ::LevelChunk& levelChunk, int);
1495
1496 MCAPI void _onChunkReloaded(::ChunkSource& chunkSource, ::LevelChunk& levelChunk);
1497
1498 MCAPI void _onGameplayUserAdded(::EntityContext& entity);
1499
1500 MCAPI void _onGameplayUserRemoved(::EntityContext& entity);
1501
1502 MCAPI void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data);
1503
1504 MCAPI void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
1505
1506 MCAPI void _onPictureTaken(
1507 ::cg::ImageBuffer& outImage,
1508 ::Actor* camera,
1509 ::Actor* target,
1510 ::ScreenshotOptions& screenshotOptions,
1511 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
1512 );
1513
1514 MCAPI void _onRemoveActorEntityReferences(::Actor& actor);
1515
1516 MCAPI void _onSendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data);
1517
1518 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1519 addEntityWithError(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1520
1521 MCAPI void earlyShutdownMainthread();
1522
1523 MCAPI ::LinkedAssetValidator& getLinkedAssetValidator();
1524
1525#ifdef LL_PLAT_C
1526 MCAPI ::NpcEventCoordinator& getNpcEventCoordinator();
1527#endif
1528
1529 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1530
1531 MCAPI ::NodeType isFree(
1532 ::NavigationComponent& navigation,
1533 ::Actor& entity,
1534 ::BlockPos const& lastPathPos,
1535 ::BlockPos const& testPos,
1536 ::BlockPos const& size,
1537 ::CanJumpIntoNode jumpIntoNode
1538 );
1539
1540 MCAPI void loadShapeRegistry();
1541 // NOLINTEND
1542
1543public:
1544 // static functions
1545 // NOLINTBEGIN
1546 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1548 ::Scheduler& scheduler,
1549 ::IMinecraftEventing& eventing
1550 );
1551
1552 MCFOLD static uint createRandomSeed();
1553
1554 MCAPI static ::LevelSeed64 parseLevelSeed64(::std::string const& seedString);
1555 // NOLINTEND
1556
1557public:
1558 // constructor thunks
1559 // NOLINTBEGIN
1560 MCAPI void* $ctor(::LevelArguments&& args);
1561 // NOLINTEND
1562
1563public:
1564 // destructor thunk
1565 // NOLINTBEGIN
1566 MCAPI void $dtor();
1567 // NOLINTEND
1568
1569public:
1570 // virtual function thunks
1571 // NOLINTBEGIN
1572 MCAPI bool $initialize(
1573 ::std::string const& levelName,
1574 ::LevelSettings const& levelSettings,
1575 ::Experiments const& experiments,
1576 ::std::string const* levelId,
1577 ::std::optional<::std::reference_wrapper<
1578 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
1579 biomeIdToResolvedData
1580 );
1581
1582 MCAPI void $startLeaveGame();
1583
1584 MCAPI bool $isLeaveGameDone();
1585
1586 MCAPI bool $isDimensionTypeActive(::DimensionType dimensionType) const;
1587
1588 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(::DimensionType dimensionType);
1589
1590 MCAPI ::WeakRef<::Dimension> $getDimension(::DimensionType id) const;
1591
1592 MCAPI ::PlayerSpawnDimensionResolution $resolvePlayerSpawnDimension(::CompoundTag const* playerTag) const;
1593
1594 MCFOLD void $forEachDimension(::std::function<bool(::Dimension&)> callback);
1595
1596 MCFOLD void $forEachDimension(::std::function<bool(::Dimension const&)> callback) const;
1597
1598 MCAPI uint $getChunkTickRange() const;
1599
1600 MCAPI ::ChunkTickRangeManager const& $getChunkTickRangeManager() const;
1601
1602 MCAPI ::PortalForcer& $getPortalForcer();
1603
1604 MCAPI void $requestPlayerChangeDimension(::Player& player, ::ChangeDimensionRequest&& changeRequest);
1605
1606 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1607
1608 MCAPI void
1609 $entityChangeDimension(::Actor& entity, ::ActorDimensionTransferRequest const& actorDimensionTransferRequest);
1610
1611 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1612
1613 MCAPI ::Spawner& $getSpawner() const;
1614
1615 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1616
1617 MCAPI ::ProjectileFactory& $getProjectileFactory() const;
1618
1619 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions() const;
1620
1621 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup() const;
1622
1623 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup() const;
1624
1625#ifdef LL_PLAT_S
1626 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions() const;
1627#else // LL_PLAT_C
1628 MCFOLD ::BlockDefinitionGroup* $getBlockDefinitions() const;
1629#endif
1630
1631 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup() const;
1632
1633 MCFOLD ::CameraPresets const& $getCameraPresets() const;
1634
1635 MCFOLD ::CameraPresets& $getCameraPresets();
1636
1637 MCAPI ::SharedTypes::v1_26_50::CameraPreset const* $getCameraPreset(int presetIndex) const;
1638
1639 MCAPI bool $getDisablePlayerInteractions() const;
1640
1641 MCAPI void $setDisablePlayerInteractions(bool const disable);
1642
1643 MCAPI ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup() const;
1644
1645 MCAPI ::BehaviorFactory& $getBehaviorFactory() const;
1646
1647 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty() const;
1648
1649 MCAPI ::DimensionConversionData $getDimensionConversionData() const;
1650
1651 MCAPI float $getSpecialMultiplier(::DimensionType dimensionType) const;
1652
1653 MCAPI bool $hasCommandsEnabled() const;
1654
1655 MCAPI bool $useMsaGamertagsOnly() const;
1656
1657 MCAPI void $setMsaGamertagsOnly(bool msaGamertagsOnly);
1658
1659 MCAPI ::Actor* $addEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1660
1661 MCAPI ::Actor* $putEntity(
1662 ::BlockSource& region,
1663 ::ActorUniqueID id,
1664 ::ActorRuntimeID runtimeId,
1666 );
1667
1668 MCAPI ::Actor* $putEntity(::BlockSource& region, ::ActorUniqueID id, ::OwnerPtr<::EntityContext> entity);
1669
1670 MCAPI ::Actor* $addGlobalEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1671
1672 MCAPI ::Actor* $addAutonomousEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1673
1674 MCAPI void $addUser(::OwnerPtr<::EntityContext> userEntity);
1675
1676#ifdef LL_PLAT_S
1677 MCAPI ::Actor* $addDisplayEntity(::BlockSource&, ::OwnerPtr<::EntityContext>);
1678#else // LL_PLAT_C
1679 MCAPI ::Actor* $addDisplayEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1680#endif
1681
1682#ifdef LL_PLAT_S
1683 MCFOLD void $removeDisplayEntity(::WeakEntityRef);
1684#else // LL_PLAT_C
1685 MCFOLD void $removeDisplayEntity(::WeakEntityRef entity);
1686#endif
1687
1688 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
1689
1690 MCAPI void $suspendPlayer(::Player& player);
1691
1692 MCAPI void $resumePlayer(::Player& player);
1693
1694 MCAPI bool $isPlayerSuspended(::Player& player) const;
1695
1696 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
1697
1698 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager() const;
1699
1700 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
1701
1702 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(::WeakEntityRef entityRef);
1703
1704 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(::WeakEntityRef entityRef);
1705
1706 MCAPI ::OwnerPtr<::EntityContext> $takeEntity(::WeakEntityRef entityRef, ::LevelChunk& lc);
1707
1708 MCAPI ::StrictEntityContext $fetchStrictEntity(::ActorUniqueID actorId, bool getRemoved) const;
1709
1710 MCAPI ::Actor* $fetchEntity(::ActorUniqueID actorId, bool getRemoved) const;
1711
1712 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher() const;
1713
1714 MCAPI ::Actor* $getRuntimeEntity(::ActorRuntimeID actorId, bool getRemoved) const;
1715
1716 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
1717
1718 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager() const;
1719
1720 MCAPI ::Mob* $getMob(::ActorUniqueID mobId) const;
1721
1722 MCAPI ::Player* $getPlayer(::std::string const& name) const;
1723
1724 MCAPI ::Player* $getPlayer(::mce::UUID const& uuid) const;
1725
1726 MCAPI ::Player* $getPlayer(::ActorUniqueID entityID) const;
1727
1728 MCAPI ::Player* $getPlayerByXuid(::std::string const& xuid) const;
1729
1730 MCAPI ::Player* $getPlatformPlayer(::std::string const& platformOnlineId) const;
1731
1732 MCAPI ::Player* $getPlayerFromServerId(::std::string const& serverId) const;
1733
1734 MCAPI ::Player* $getRuntimePlayer(::ActorRuntimeID runtimeId) const;
1735
1736 MCAPI int $getNumRemotePlayers() const;
1737
1738 MCAPI ::Player* $getPrimaryLocalPlayer() const;
1739
1740 MCAPI ::IMinecraftEventing& $getEventing();
1741
1742 MCAPI ::mce::Color $getPlayerColor(::Player const& player) const;
1743
1744 MCAPI ::Tick const& $getCurrentTick() const;
1745
1746 MCAPI ::Tick const $getCurrentServerTick() const;
1747
1748 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager() const;
1749
1750 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
1751
1752 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> $getContainerRegistryAccess() const;
1753
1754 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> $getContainerRegistryTracker() const;
1755
1756 MCAPI ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> $getDynamicContainerSerialization() const;
1757
1758 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> $getShapeRegistry() const;
1759
1760 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> $getMutableShapeRegistry() const;
1761
1762 MCFOLD ::BiomeRegistry const& $getBiomeRegistry() const;
1763
1764 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
1765
1766 MCFOLD ::BlockPalette const& $getBlockPalette() const;
1767
1768 MCFOLD ::BlockPalette& $getBlockPalette();
1769
1770 MCFOLD ::FeatureRegistry const& $getFeatureRegistry() const;
1771
1772 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
1773
1774 MCFOLD ::FeatureTypeFactory const& $getFeatureTypeFactory() const;
1775
1776 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
1777
1778 MCFOLD ::JigsawStructureRegistry const& $getJigsawStructureRegistry() const;
1779
1780 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
1781
1782 MCFOLD ::StructureSpawnRegistry const& $getStructureSpawnRegistry() const;
1783
1784 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
1785
1786 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> const $getStructureManager() const;
1787
1788 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
1789
1790 MCFOLD ::BiomeComponentFactory const& $getBiomeComponentFactory() const;
1791
1792 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
1793
1794 MCFOLD ::SurfaceBuilderRegistry const& $getSurfaceBuilderRegistry() const;
1795
1796 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
1797
1798 MCAPI ::BiomeManager const& $getBiomeManager() const;
1799
1800 MCAPI ::BiomeManager& $getBiomeManager();
1801
1802 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&> const& $getDimensionFactory() const;
1803
1804 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
1805
1806 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&> const&
1807 $getLightTextureImageBuilderFactory() const;
1808
1809 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
1810
1811 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry() const;
1812
1813 MCFOLD ::IWorldRegistriesProvider const& $getWorldRegistriesProvider() const;
1814
1815 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
1816
1817 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const> const $getWorldClockRegistry() const;
1818
1819 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> $getWorldClockRegistry();
1820
1821 MCAPI void $addListener(::LevelListener& listener);
1822
1823 MCAPI void $removeListener(::LevelListener& listener);
1824
1825 MCAPI void $tickEntities();
1826
1827 MCAPI void $tickEntitySystems();
1828
1829 MCAPI void $onPlayerDeath(::Player& player, ::ActorDamageSource const& source);
1830
1831 MCAPI void $tick();
1832
1833 MCAPI bool $explode(
1834 ::BlockSource& region,
1835 ::Actor* source,
1836 ::Vec3 const& pos,
1837 float explosionRadius,
1838 bool fire,
1839 bool breaksBlocks,
1840 float maxResistance,
1841 bool allowUnderwater
1842 );
1843
1844 MCAPI bool $explode(::Explosion& explosion);
1845
1846 MCAPI void $denyEffect(::BlockSource& region, ::Vec3 const& pos);
1847
1848 MCAPI void $potionSplash(::Vec3 const& pos, ::mce::Color const& color, bool instantaneousEffect);
1849
1850 MCAPI bool $extinguishFire(::BlockSource& region, ::BlockPos const& pos, uchar face, ::Actor* source);
1851
1852 MCAPI ::std::unique_ptr<::Path>
1853 $findPath(::Actor& from, int xBest, int yBest, int zBest, ::NavigationComponent& navigation);
1854
1855 MCAPI ::std::unique_ptr<::Path> $findPath(::Actor& from, ::Actor const& to, ::NavigationComponent& navigation);
1856
1857 MCAPI void $setSleepStatus(::PlayerSleepStatus const& status);
1858
1859 MCAPI ::PlayerSleepStatus $getSleepStatus() const;
1860
1861 MCAPI void $updateSleepingPlayerList();
1862
1863 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
1864
1865 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager() const;
1866
1867 MCAPI int $getTime() const;
1868
1869 MCAPI void $setTime(int time);
1870
1871 MCAPI uint $getSeed();
1872
1873 MCAPI ::LevelSeed64 $getLevelSeed64() const;
1874
1875 MCFOLD ::BlockPos const& $getSharedSpawnPos() const;
1876
1877 MCAPI void $setDefaultSpawn(::BlockPos const& spawnPos);
1878
1879 MCFOLD ::BlockPos const& $getDefaultSpawn() const;
1880
1881 MCAPI void $setDefaultGameType(::GameType gameType);
1882
1883 MCAPI ::GameType $getDefaultGameType() const;
1884
1885 MCAPI void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
1886
1887 MCAPI void $setMultiplayerGameIntent(bool multiplayerGame);
1888
1889 MCAPI bool $getMultiplayerGameIntent() const;
1890
1891 MCAPI void $setMultiplayerGame(bool multiplayerGame);
1892
1893 MCAPI bool $isMultiplayerGame() const;
1894
1895 MCAPI void $setLANBroadcastIntent(bool broadcast);
1896
1897 MCAPI bool $getLANBroadcastIntent() const;
1898
1899 MCAPI void $setLANBroadcast(bool broadcast);
1900
1901 MCAPI bool $getLANBroadcast() const;
1902
1903 MCAPI void $setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1904
1905 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent() const;
1906
1907 MCAPI bool $hasXBLBroadcastIntent() const;
1908
1909 MCAPI void $setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode);
1910
1911 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode() const;
1912
1913 MCAPI bool $hasXBLBroadcast() const;
1914
1915 MCAPI void $setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1916
1917 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent() const;
1918
1919 MCAPI bool $hasPlatformBroadcastIntent() const;
1920
1921 MCAPI void $setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode);
1922
1923 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode() const;
1924
1925 MCAPI bool $hasPlatformBroadcast() const;
1926
1927 MCAPI void $setHasLockedBehaviorPack(bool hasLocked);
1928
1929 MCAPI void $setHasLockedResourcePack(bool hasLocked);
1930
1931 MCAPI void $setCommandsEnabled(bool commandsEnabled);
1932
1933 MCAPI void $setWorldTemplateOptionsUnlocked();
1934
1935 MCAPI bool $hasLevelStorage() const;
1936
1937 MCFOLD ::LevelStorage& $getLevelStorage();
1938
1939 MCFOLD ::LevelStorage const& $getLevelStorage() const;
1940
1941 MCFOLD ::LevelData& $getLevelData();
1942
1943 MCFOLD ::LevelData const& $getLevelData() const;
1944
1945 MCAPI ::PhotoStorage& $getPhotoStorage() const;
1946
1947 MCAPI void $createPhotoStorage();
1948
1949 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
1950
1951 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager() const;
1952
1953 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
1954
1955 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager() const;
1956
1957 MCAPI void $save();
1958
1959 MCAPI void $saveLevelData();
1960
1961 MCAPI void $saveGameData();
1962
1963 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
1964
1965 MCAPI ::TickingAreasManager& $getTickingAreasMgr();
1966
1967 MCAPI void
1968 $addTickingAreaList(::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList> const& tickingAreas);
1969
1970 MCAPI void $playSound(
1971 ::SharedTypes::Legacy::LevelSoundEvent type,
1972 ::Vec3 const& pos,
1973 int data,
1974 ::ActorSoundIdentifier const& actorSoundIdentifier,
1975 bool isGlobal
1976 );
1977
1978 MCAPI void
1979 $playSound(::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const& pos, float const volume, float const pitch);
1980
1981 MCAPI void $playSound(::PlaySoundOptions const& options);
1982
1983 MCAPI void $playSound(
1984 ::IConstBlockSource const& region,
1985 ::SharedTypes::Legacy::LevelSoundEvent type,
1986 ::Vec3 const& pos,
1987 int data,
1988 ::ActorSoundIdentifier const& actorSoundIdentifier,
1989 bool isGlobal
1990 );
1991
1992 MCAPI void $playSound(
1993 ::DimensionType dimension,
1994 ::SharedTypes::Legacy::LevelSoundEvent type,
1995 ::Vec3 const& pos,
1996 int data,
1997 ::ActorSoundIdentifier const& actorSoundIdentifier,
1998 bool isGlobal
1999 );
2000
2001 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2002
2003 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2004
2005 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2006
2007 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2008
2009 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2010
2011 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2012
2013 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2014
2015 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2016
2017 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2018
2019 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2020
2021 MCAPI void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
2022
2023 MCAPI void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data);
2024
2025 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2026
2027 MCAPI void $handleStopSoundEvent(::std::string const& name);
2028
2029 MCAPI void $handleStopAllSounds();
2030
2031 MCAPI void $handleStopMusicEvent();
2032
2033 MCAPI void $broadcastLevelEvent(
2034 ::SharedTypes::Legacy::LevelEvent type,
2035 ::Vec3 const& pos,
2036 int data,
2037 ::UserEntityIdentifierComponent const* userIdentifier
2038 );
2039
2040 MCAPI void $broadcastLevelEvent(
2041 ::SharedTypes::Legacy::LevelEvent type,
2042 ::CompoundTag const& tag,
2043 ::UserEntityIdentifierComponent const* userIdentifier
2044 );
2045
2046 MCAPI void
2047 $broadcastLocalEvent(::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
2048
2049 MCAPI void $broadcastLocalEvent(
2050 ::BlockSource& region,
2051 ::SharedTypes::Legacy::LevelEvent type,
2052 ::Vec3 const& pos,
2053 ::Block const& block
2054 );
2055
2056 MCAPI void $broadcastSoundEvent(
2057 ::BlockSource& region,
2058 ::SharedTypes::Legacy::LevelSoundEvent type,
2059 ::Vec3 const& pos,
2060 ::Block const& block,
2061 ::ActorSoundIdentifier const& actorSoundIdentifier,
2062 bool isGlobal,
2063 ::std::optional<::Vec3> const& fireAtPosition
2064 );
2065
2066 MCAPI void $broadcastSoundEvent(
2067 ::BlockSource& region,
2068 ::SharedTypes::Legacy::LevelSoundEvent type,
2069 ::Vec3 const& pos,
2070 int data,
2071 ::ActorSoundIdentifier const& actorSoundIdentifier,
2072 bool isGlobal,
2073 ::std::optional<::Vec3> const& fireAtPosition
2074 );
2075
2076 MCAPI void $broadcastSoundEvent(
2077 ::Dimension& dimension,
2078 ::SharedTypes::Legacy::LevelSoundEvent type,
2079 ::Vec3 const& pos,
2080 int data,
2081 ::ActorSoundIdentifier const& actorSoundIdentifier,
2082 bool isGlobal,
2083 ::std::optional<::Vec3> const& fireAtPosition
2084 );
2085
2086 MCAPI void $broadcastActorEvent(
2087 ::Actor& actor,
2088 ::ActorEvent eventId,
2089 int data,
2090 ::std::optional<::Vec3> const& fireAtPosition
2091 ) const;
2092
2093 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster() const;
2094
2095 MCAPI void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2096
2097 MCAPI void $onChunkReload(::Bounds const& bound);
2098
2099 MCAPI int $getActivePlayerCount() const;
2100
2101 MCAPI int $getActiveUsersCount() const;
2102
2103 MCAPI void $forEachPlayer(::std::function<bool(::Player&)> callback);
2104
2105 MCAPI void $forEachPlayer(::std::function<bool(::Player const&)> callback) const;
2106
2107 MCAPI void $forEachUser(::std::function<bool(::EntityContext&)> callback);
2108
2109 MCAPI void $forEachUser(::std::function<bool(::EntityContext const&)> callback) const;
2110
2111 MCAPI ::Player* $findPlayer(::std::function<bool(::Player const&)> pred) const;
2112
2113 MCAPI ::Player* $findPlayer(::std::function<bool(::WeakEntityRef const&)> pred) const;
2114
2115 MCAPI int $getUserCount() const;
2116
2117 MCAPI int $countUsersWithMatchingNetworkId(::NetworkIdentifier const& networkId) const;
2118
2119 MCAPI ::std::vector<::OwnerPtr<::EntityContext>> const& $getUsers() const;
2120
2121 MCAPI ::std::vector<::OwnerPtr<::EntityContext>> const& $getEntities() const;
2122
2123 MCAPI void $onSourceCreated(::BlockSource& source);
2124
2125 MCAPI void $onSourceDestroyed(::BlockSource& source);
2126
2127 MCFOLD void $onSubChunkLoaded(
2128 ::ChunkSource& source,
2129 ::LevelChunk& lc,
2130 short absoluteSubChunkIndex,
2131 bool subChunkVisibilityChanged
2132 );
2133
2134 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2135
2136 MCAPI void $onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc);
2137
2138 MCAPI void $onChunkReloaded(::ChunkSource& source, ::LevelChunk& lc);
2139
2140 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2141
2142 MCAPI void $onChunkDiscarded(::LevelChunk& lc);
2143
2144 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2145
2146 MCAPI void $queueEntityDestruction(::OwnerPtr<::EntityContext> entity);
2147
2148 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(::Actor& actor);
2149
2150 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(::WeakEntityRef entityRef);
2151
2152 MCAPI void $forceRemoveEntity(::Actor& actor);
2153
2154 MCAPI void $forceRemoveEntityfromWorld(::Actor& actor);
2155
2156 MCAPI void $forceFlushRemovedPlayers();
2157
2158 MCFOLD void $loadFunctionManager();
2159
2160 MCAPI void $levelCleanupQueueEntityRemoval(::OwnerPtr<::EntityContext> entity);
2161
2162 MCAPI void $registerTemporaryPointer(::_TickPtr& ptr);
2163
2164 MCAPI void $unregisterTemporaryPointer(::_TickPtr& ptr);
2165
2166 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2167
2168 MCAPI bool $destroyBlock(
2169 ::BlockSource& region,
2170 ::BlockPos const& pos,
2171 bool dropResources,
2172 ::BlockChangeContext const& changeSourceContext
2173 );
2174
2175 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2176
2177 MCAPI void $upgradeStorageVersion(::StorageVersion v);
2178
2179 MCAPI void $suspendAndSave();
2180
2181 MCAPI void $sendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data);
2182
2183 MCAPI ::Particle* $addParticle(
2184 ::ParticleType id,
2185 ::Vec3 const& pos,
2186 ::Vec3 const& dir,
2187 int data,
2188 ::CompoundTag const* tag,
2189 bool isGlobal
2190 );
2191
2192 MCAPI void
2193 $spawnParticleEffect(::std::string const& effectName, ::Vec3 const& spawnLocation, ::Dimension* dimension);
2194
2195 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2196
2197 MCAPI void $addParticleEffect(
2198 ::HashedString const& effect,
2199 ::Vec3 const& emitterPosition,
2200 ::MolangVariableMap const& molangVariables
2201 );
2202
2203 MCAPI void $addTerrainParticleEffect(
2204 ::BlockPos const& pos,
2205 ::Block const& block,
2206 ::Vec3 const& emitterPosition,
2207 float intensity,
2208 float velocityScalar,
2209 float emitterRadius
2210 );
2211
2212 MCAPI void $addTerrainSlideEffect(
2213 ::BlockPos const& pos,
2214 ::Block const& block,
2215 ::Vec3 const& emitterPosition,
2216 float intensity,
2217 float velocityScalar,
2218 float emitterRadius
2219 );
2220
2221 MCAPI void $addBreakingItemParticleEffect(
2222 ::Vec3 const& pos,
2223 ::BreakingItemParticleData const& data,
2224 ::ResolvedItemIconInfo const& textureInfo
2225 );
2226
2227 MCAPI void $addBiomeTintedParticleEffect(
2228 ::HashedString const& effect,
2229 ::BlockPos const& pos,
2230 ::Block const& block,
2231 ::std::optional<::mce::Color> overrideColor
2232 );
2233
2234 MCAPI ::ActorUniqueID $getNewUniqueID();
2235
2236 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2237
2238 MCAPI ::std::vector<::ChunkPos> const& $getTickingOffsets() const;
2239
2240 MCAPI ::std::vector<::ChunkPos> const& $getClientTickingOffsets() const;
2241
2242 MCAPI ::std::vector<::ChunkPos>
2243 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos> const& centers) const;
2244
2245 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager() const;
2246
2247 MCAPI bool $isExporting() const;
2248
2249 MCAPI void $setIsExporting(bool IsExporting);
2250
2251 MCAPI ::SavedDataStorage& $getSavedData();
2252
2253 MCAPI ::MapItemSavedData* $getMapSavedData(::ActorUniqueID const uuid);
2254
2255 MCAPI ::MapItemSavedData* $getMapSavedData(::CompoundTag const& instance);
2256
2257 MCAPI ::MapItemSavedData* $getMapSavedData(::CompoundTag const* instance);
2258
2259 MCAPI void $requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate);
2260
2261 MCAPI ::ActorUniqueID $expandMapByID(::ActorUniqueID const uuid, bool wasInit);
2262
2263 MCAPI bool $copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid);
2264
2265 MCAPI ::MapItemSavedData& $createMapSavedData(
2266 ::ActorUniqueID const& uuid,
2267 ::BlockPos const& origin,
2268 ::DimensionType dimension,
2269 int returnScaleLevel
2270 );
2271
2272 MCAPI ::MapItemSavedData& $createMapSavedData(
2273 ::std::vector<::ActorUniqueID> const& mapIds,
2274 ::BlockPos const& origin,
2275 ::DimensionType dimension,
2276 int returnScaleLevel
2277 );
2278
2279 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder() const;
2280
2281 MCAPI ::std::string $getLevelId() const;
2282
2283 MCAPI void $setLevelId(::std::string LevelId);
2284
2285 MCFOLD ::TaskGroup& $getSyncTasksGroup();
2286
2287 MCAPI ::TaskGroup& $getIOTasksGroup();
2288
2289 MCFOLD ::ResourcePackManager* $getClientResourcePackManager() const;
2290
2291 MCFOLD ::ResourcePackManager* $getServerResourcePackManager() const;
2292
2293 MCFOLD ::TradeTables* $getTradeTables();
2294
2295 MCFOLD void $decrementTagCache(
2296 ::std::string const& tag,
2298 );
2299
2300 MCFOLD void $incrementTagCache(
2301 ::std::string const& tag,
2303 );
2304
2305 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2306
2307 MCAPI bool $isEdu() const;
2308
2309 MCFOLD ::ActorFactory& $getActorFactory();
2310
2311 MCFOLD ::ActorFactory const& $getActorFactory() const;
2312
2313 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2314
2315 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2316
2317 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry() const;
2318
2319 MCAPI ::EntitySystems& $getEntitySystems();
2320
2321 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2322
2323 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity() const;
2324
2325 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer() const;
2326
2327 MCFOLD void $runCommand(
2328 ::HashedString const& commandStr,
2329 ::CommandOrigin& origin,
2330 ::CommandOriginSystem originSystem,
2331 ::CurrentCmdVersion const commandVersion
2332 );
2333
2334 MCFOLD void $runCommand(::Command& command, ::CommandOrigin& origin, ::CommandOriginSystem originSystem);
2335
2336 MCAPI ::PlayerCapabilities::ISharedController const& $getCapabilities() const;
2337
2338 MCFOLD ::TagRegistry<::IDType<::LevelTagIDType>, ::IDType<::LevelTagSetIDType>>& $getTagRegistry();
2339
2340 MCAPI ::PlayerMovementSettings const& $getPlayerMovementSettings() const;
2341
2342 MCAPI void $setPlayerMovementSettings(::PlayerMovementSettings const& settings);
2343
2344 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2345
2346 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2347 $getPlayerMovementSettingsManager() const;
2348
2349 MCFOLD bool $canUseSkin(
2350 ::SerializedSkinRef const& skin,
2351 ::NetworkIdentifier const& networkIdentifier,
2352 ::ActorUniqueID const& playerId
2353 ) const;
2354
2355 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper() const;
2356
2357 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry() const;
2358
2359 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2360
2361 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2362
2363 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient() const;
2364
2365 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer() const;
2366
2367 MCAPI void $flushRunTimeLighting();
2368
2369 MCFOLD ::std::weak_ptr<::ISubChunkLighter> $getSubChunkLighter() const;
2370
2371 MCAPI void $loadBlockDefinitionGroup(::Experiments const& experiments);
2372
2373 MCAPI void $initializeBlockDefinitionGroup();
2374
2375 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2376
2377 MCAPI bool $isClientSideGenerationEnabled();
2378
2379 MCAPI bool $blockNetworkIdsAreHashes();
2380
2381 MCAPI ::ItemRegistryRef $getItemRegistry() const;
2382
2383 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry() const;
2384
2385 MCFOLD ::Level* $asLevel();
2386
2387 MCAPI bool $use3DBiomeMaps() const;
2388
2389 MCAPI void $pauseAndFlushTaskGroups();
2390
2391 MCFOLD ::DimensionManager& $getDimensionManager();
2392
2393 MCFOLD ::DimensionManager const& $getDimensionManager() const;
2394
2395 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::DimensionManager> $getDimensionManagerNonOwner();
2396
2397 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::DimensionManager const> $getDimensionManagerNonOwner() const;
2398
2399 MCFOLD void $subChunkTickAndSendRequests();
2400
2401 MCAPI void $_subTick();
2402
2403 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2404
2405 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager() const;
2406
2407 MCAPI bool $isClientSide() const;
2408
2409 MCAPI ::SubClientId $getSubClientId() const;
2410
2411 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const& $getPlayerList() const;
2412
2413 MCAPI ::std::string const& $getPlayerXUID(::mce::UUID const& uuid) const;
2414
2415 MCAPI ::std::string const& $getPlayerPlatformOnlineId(::mce::UUID const& uuid) const;
2416
2417 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2418
2419 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager() const;
2420
2421 MCAPI ::std::vector<::WeakEntityRef> const& $getActiveUsers() const;
2422
2423 MCFOLD void $notifySubChunkRequestManager(::SubChunkPacket const& packet);
2424
2425 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2426
2427 MCAPI ::std::vector<::Actor*> $getRuntimeActorList() const;
2428
2429 MCAPI ::PacketSender* $getPacketSender() const;
2430
2431 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback() const;
2432
2433 MCAPI void $setNetEventCallback(::Bedrock::NonOwnerPointer<::NetEventCallback> val);
2434
2435 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2436
2437 MCAPI ::IRandom& $getIRandom() const;
2438
2439 MCAPI ::Random& $getRandom() const;
2440
2441 MCAPI ::Random& $getThreadRandom() const;
2442
2443 MCAPI ::HitResult& $getHitResult();
2444
2445 MCAPI ::HitResult& $getLiquidHitResult();
2446
2447 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2448
2449 MCAPI ::std::string const& $getImmersiveReaderString() const;
2450
2451 MCAPI void $setImmersiveReaderString(::std::string newString);
2452
2453 MCAPI ::AdventureSettings& $getAdventureSettings();
2454
2455 MCAPI ::AdventureSettings const& $getAdventureSettings() const;
2456
2457 MCAPI ::GameRules const& $getGameRules() const;
2458
2459 MCAPI ::GameRules& $getGameRules();
2460
2461 MCAPI bool $hasStartWithMapEnabled() const;
2462
2463 MCAPI bool $isEditorWorld() const;
2464
2465 MCAPI bool $isEditorTestWorld() const;
2466
2467 MCAPI bool $getAllowAnonymousBlockDropsInEditorWorlds() const;
2468
2469 MCAPI bool $isHardcore() const;
2470
2471 MCAPI ::Abilities& $getDefaultAbilities();
2472
2473 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2474
2475 MCAPI ::PermissionsHandler const& $getDefaultPermissions() const;
2476
2477 MCAPI bool $getTearingDown() const;
2478
2479 MCAPI void $takePicture(
2480 ::cg::ImageBuffer& outImage,
2481 ::Actor* camera,
2482 ::Actor* target,
2483 ::ScreenshotOptions& screenshotOptions,
2484 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
2485 );
2486
2487 MCAPI ::LevelSoundManager& $getLevelSoundManager();
2488
2489 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer() const;
2490
2491 MCAPI void $setSimPaused(bool value);
2492
2493 MCAPI bool $getSimPaused() const;
2494
2495 MCAPI void $setFinishedInitializing();
2496
2497 MCAPI ::LootTables& $getLootTables();
2498
2499 MCAPI void $updateWeather(float rainLevel, int rainTime, float lightningLevel, int lightningTime);
2500
2501 MCAPI int $getNetherScale() const;
2502
2503 MCFOLD ::Scoreboard& $getScoreboard();
2504
2505 MCFOLD ::Scoreboard const& $getScoreboard() const;
2506
2507 MCFOLD ::Scoreboard* $tryGetScoreboard();
2508
2509 MCAPI ::LayeredAbilities* $getPlayerAbilities(::ActorUniqueID const& playerId);
2510
2511 MCAPI void $setPlayerAbilities(::ActorUniqueID const& playerId, ::LayeredAbilities const& abilities);
2512
2513 MCAPI void $sendAllPlayerAbilities(::Player const& playerReference);
2514
2515 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2516
2517 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2518
2519 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2520
2521 MCAPI ::Recipes& $getRecipes() const;
2522
2523 MCAPI ::BlockReducer* $getBlockReducer() const;
2524
2525 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry() const;
2526
2527 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2528
2529 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry() const;
2530
2531 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2532
2533 MCAPI ::BlockType const& $getRegisteredBorderBlock() const;
2534
2535 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2536
2537 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2538
2539 MCFOLD ::cereal::ReflectionCtx const& $cerealContext() const;
2540
2541 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2542
2543 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager() const;
2544
2545 MCFOLD void $clearAllGenerationRequests(::NetworkIdentifier const& player, ::SubClientId clientId);
2546
2547 MCAPI void $digestServerBlockProperties(::StartGamePacket const& packet);
2548
2549 MCAPI ::MolangPackSettingsCache const* $getMolangPackSettingsCache() const;
2550
2551 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2552
2553 MCAPI void $_initializeMapDataManager();
2554
2555 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2556
2557 MCAPI void $_onLowMemory();
2558
2559
2560 // NOLINTEND
2561};
Definition Abilities.h:15
Definition ActorAnimationControllerGroup.h:20
Definition ActorAnimationGroup.h:22
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition ActorDimensionTransferManager.h:18
Definition ActorEventBroadcaster.h:5
Definition ActorEventCoordinator.h:21
Definition ActorFactory.h:33
Definition ActorFetcher.h:17
Definition ActorGarbageCollector.h:13
Definition ActorInfoRegistry.h:10
Definition ActorManager.h:30
Definition ActorRuntimeIDManager.h:19
Definition ActorRuntimeID.h:5
Definition ActorSoundIdentifier.h:17
Definition Actor.h:113
Definition ArmorTrimUnloader.h:5
Definition AutomationBehaviorTreeGroup.h:15
Definition AutonomousActorManager.h:29
Definition BaseLightTextureImageBuilder.h:5
Definition NonOwnerPointer.h:9
Definition UniqueOwnerPointer.h:11
Definition BehaviorFactory.h:13
Definition BiomeComponentFactory.h:22
Definition BiomeManager.h:27
Definition BiomeRegistry.h:37
Definition BlockActorLevelListener.h:14
Definition BlockChangeContext.h:10
Definition BlockDefinitionGroup.h:35
Definition BlockEventCoordinator.h:18
Definition BlockPalette.h:18
Definition BlockPos.h:17
Definition BlockReducer.h:14
Definition BlockSourceListener.h:18
Definition BlockSource.h:71
Definition BlockTypeRegistry.h:28
Definition BlockType.h:79
Definition Block.h:41
Definition BossEventSubscriptionManager.h:17
Definition CameraPresets.h:20
Definition CameraRegistry.h:5
Definition ChangeDimensionRequest.h:14
Definition ChunkGenerationManager.h:10
Definition ChunkPos.h:13
Definition ChunkSource.h:36
Definition ChunkTickOffsetManager.h:11
Definition ChunkTickRangeManager.h:17
Definition ChunkViewSource.h:22
Definition ChunkViewTrackerManager.h:16
Definition ClientPlayerEventCoordinator.h:8
Definition CommandOrigin.h:32
Definition Command.h:17
Definition CompoundTag.h:18
Definition ContainerRegistry.h:28
Definition DensityFunctionRegistry.h:10
Definition DimensionConversionData.h:8
Definition DimensionManager.h:29
Definition Dimension.h:86
Definition DisplayActorManager.h:21
Definition EducationSettingsManager.h:8
Definition EntityContext.h:15
Definition EntityRegistry.h:10
Definition EntitySystemsManager.h:17
Definition EntitySystems.h:25
Definition EventCoordinatorManager.h:25
Definition Experiments.h:14
Definition Explosion.h:21
Definition FeatureRegistry.h:21
Definition FeatureTypeFactory.h:20
Definition GameRules.h:21
Definition GameplayUserManager.h:25
Definition HashedString.h:5
Definition HitResultWrapper.h:17
Definition HitResult.h:18
Definition IConstBlockSource.h:25
Definition IContainerRegistryAccess.h:14
Definition IContainerRegistryTracker.h:15
Definition IDynamicContainerSerialization.h:12
Definition IEntityRegistryOwner.h:14
Definition ILevelRandom.h:11
Definition ILevel.h:221
Definition IMinecraftEventing.h:147
Definition IRandom.h:10
Definition ISubChunkLighter.h:16
Definition IUnknownBlockTypeRegistry.h:14
Definition IWorldRegistriesProvider.h:25
Definition InternalComponentRegistry.h:15
Definition ItemEventCoordinator.h:17
Definition JigsawStructureRegistry.h:22
Definition LayeredAbilities.h:20
Definition LevelBlockDestroyer.h:17
Definition LevelChunkEventManager.h:18
Definition LevelChunkMetaDataManager.h:23
Definition LevelChunkPerformanceTelemetry.h:15
Definition LevelChunkSaveManager.h:21
Definition LevelChunk.h:77
Definition LevelCrashDumpManager.h:9
Definition LevelData.h:55
Definition LevelEventCoordinator.h:26
Definition LevelEventManager.h:24
Definition LevelListener.h:28
Definition LevelSeed64.h:5
Definition LevelSettings.h:38
Definition LevelSoundManager.h:39
Definition LevelStorageManager.h:26
Definition LevelStorage.h:25
Definition LinkedAssetValidator.h:8
Definition LoadingScreenIdManager.h:5
Definition LootTables.h:11
Definition MapItemSavedData.h:32
Definition Mob.h:56
Definition MolangPackSettingsCache.h:13
Definition MolangVariableMap.h:17
Definition NavigationComponent.h:18
Definition NetEventCallback.h:265
Definition NetworkIdentifier.h:10
Definition NpcDialogueStorage.h:14
Definition NpcEventCoordinator.h:13
Definition OwnerPtr.h:7
Definition PacketSender.h:17
Definition ParticleProvider.h:25
Definition Particle.h:5
Definition Path.h:16
Definition PauseManager.h:10
Definition PermissionsHandler.h:16
Definition PhotoItemSavedDataCollection.h:14
Definition PhotoManager.h:23
Definition PhotoStorage.h:17
Definition PlayerAbilitiesManager.h:19
Definition PlayerDeathManager.h:20
Definition PlayerDimensionTransferManager.h:24
Definition PlayerEventCoordinator.h:20
Definition PlayerListEntry.h:17
Definition PlayerListManager.h:23
Definition PlayerLocationReceiver.h:14
Definition PlayerLocationSender.h:20
Definition PlayerMovementSettingsManager.h:14
Definition PlayerPermissionsManager.h:21
Definition PlayerPermissionsSynchroniser.h:15
Definition PlayerSleepManager.h:9
Definition PlayerTickManager.h:16
Definition Player.h:129
Definition PortalForcer.h:23
Definition PositionTrackingDBClient.h:19
Definition PositionTrackingDBServer.h:22
Definition ProjectileFactory.h:17
Definition PropertyGroupManager.h:15
Definition Random.h:10
Definition Recipes.h:37
Definition ResourcePackManager.h:36
Definition SavedDataStorage.h:11
Definition Scheduler.h:14
Definition Scoreboard.h:33
Definition ScriptDeferredEventCoordinator.h:18
Definition ScriptingEventCoordinator.h:14
Definition SerializedSkinRef.h:26
Definition ServerLevelEventCoordinator.h:15
Definition ServerLevel.h:57
Definition ServerNetworkEventCoordinator.h:14
Definition ServerParticleManager.h:15
Definition ServerPlayerEventCoordinator.h:8
Definition ServerPlayerSleepManager.h:22
Definition SoundPlayerInterface.h:23
Definition Spawner.h:40
Definition StartGamePacket.h:19
Definition StrictEntityContext.h:8
Definition StructureManager.h:36
Definition StructureSpawnRegistry.h:14
Definition SubChunkManager.h:5
Definition SubChunkPacket.h:19
Definition SubChunkRequestManager.h:5
Definition SurfaceBuilderRegistry.h:13
Definition TagCacheManager.h:18
Definition TagRegistry.h:9
Definition TaskGroup.h:86
Definition TempEPtrManager.h:8
Definition TickDeltaTimeManager.h:10
Definition TickingAreaList.h:15
Definition TickingAreasManager.h:28
Definition TradeTables.h:19
Definition TrimMaterialRegistry.h:8
Definition TrimPatternRegistry.h:14
Definition TrustedSkinHelper.h:5
Definition UniqueIDManager.h:8
Definition UserEntityIdentifierComponent.h:17
Definition VanillaActorEventListenerManager.h:13
Definition Vec3.h:10
Definition VolumeEntityManagerServer.h:19
Definition VoxelShapeRegistry.h:17
Definition WeakEntityRef.h:14
Definition WeatherManager.h:18
Definition WorldClockRegistry.h:23
Definition _TickPtr.h:5
Definition ImageBuffer.h:16
Definition Color.h:13
Definition UUID.h:8
Definition ActorDimensionTransferRequest.h:9
Definition ActorUniqueID.h:5
Definition AdventureSettings.h:5
Definition BiomeJsonDocumentGlueResolvedBiomeData.h:11
Definition Bounds.h:8
Definition BreakingItemParticleData.h:8
Definition DerivedDimensionArguments.h:15
Definition DimensionFactoryAndManager.h:14
Definition DimensionType.h:5
Definition IDType.h:6
Definition LevelArguments.h:40
Definition LevelTagIDType.h:5
Definition LevelTagSetIDType.h:5
Definition PlaySoundOptions.h:9
Definition ISharedController.h:12
Definition PlayerMovementSettings.h:9
Definition PlayerSleepStatus.h:5
Definition PlayerSpawnDimensionResolution.h:8
Definition ResolvedItemIconInfo.h:8
Definition ScreenshotOptions.h:5
Definition CameraPreset.h:11
Definition Tick.h:5
Definition ReflectionCtx.h:11