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