256 using RegionSet = ::std::unordered_set<::BlockSource*>;
261 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
268 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
269 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
270 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
271 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
272 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
273 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
275 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
276 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
277 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
278 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
279 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
282 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
283 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
284 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
290 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
291 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
292 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
293 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
294 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
295 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
296 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
297 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
298 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
299 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
300 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
301 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
302 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
303 ::ll::TypedStorage<1, 1, bool> mIsExporting;
304 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
305 ::ll::TypedStorage<1, 1, bool> mSimPaused;
306 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
307 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
308 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
309 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
310 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
311 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
312 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
313 ::ll::TypedStorage<1, 1, bool> mTearingDown;
314 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
315 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
316 mEventCoordinatorManager;
317 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
318 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
319 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
320 mLevelChunkPerformanceTelemetry;
321 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
322 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
323 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
324 mJigsawStructureRegistry;
325 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
326 mStructureSpawnRegistry;
327 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::DimensionFactoryAndManager>>>
328 mDimensionFactoryAndManager;
329 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
330 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
331 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
332 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
333 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
334 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
335 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
336 mLightTextureImageBuilderFactory;
337 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
338 mEducationSettingsManager;
339 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
340 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
341 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
342 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
343 mPositionTrackerDBClient;
344 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
345 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
346 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
347 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
348 mActorGarbageCollector;
349 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
350 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
351 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
352 mAutonomousActorManager;
353 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
354 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
355 mGameplayUserManager;
356 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
357 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
358 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
359 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
360 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
361 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
362 mActorRuntimeIDManager;
363 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
364 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
365 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
366 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
367 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
368 mServerParticleManager;
369 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
370 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
371 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
372 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
373 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
374 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
375 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
376 mChunkTickRangeManager;
377 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
378 mChunkViewTrackerManager;
379 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
380 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
381 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
382 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
383 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
384 mPlayerDimensionTransferManager;
385 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>>
const>
386 mLevelCrashDumpManager;
387 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
388 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
389 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
390 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
391 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
392 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
393 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
394 mChunkTickOffsetManager;
395 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
396 mPlayerMovementSettingsManager;
397 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
398 mPlayerAbilitiesManager;
399 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
400 mPlayerPermissionsManager;
401 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
402 mPlayerPermissionsSynchroniser;
403 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
404 mLevelChunkEventManager;
405 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
406 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
407 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
408 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
409 mActorDimensionTransferManager;
410 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
411 mLevelBlockDestroyer;
412 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
413 mTickDeltaTimeManager;
414 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
415 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
416 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
417 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
418 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
419 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::DensityFunctionRegistry>>> mDensityFunctionRegistry;
424 Level& operator=(Level
const&);
433 virtual bool initialize(
434 ::std::string
const& levelName,
437 ::std::string
const* levelId,
438 ::std::optional<::std::reference_wrapper<
439 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
440 biomeIdToResolvedData
443 virtual void startLeaveGame() ;
445 virtual bool isLeaveGameDone() ;
447 virtual ::WeakRef<::Dimension> getOrCreateDimension(::DimensionType dimensionType) ;
449 virtual ::WeakRef<::Dimension> getDimension(::DimensionType
id)
const ;
451 virtual ::DimensionType getLastOrDefaultSpawnDimensionId(::DimensionType lastDimensionId)
const ;
453 virtual void forEachDimension(::std::function<
bool(
::Dimension&)> callback) ;
455 virtual void forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const ;
457 virtual uint getChunkTickRange()
const ;
459 virtual ::ChunkTickRangeManager
const& getChunkTickRangeManager()
const ;
461 virtual ::PortalForcer& getPortalForcer() ;
465 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
466 getPlayerDimensionTransferManager() ;
469 entityChangeDimension(
::Actor& entity, ::DimensionType toId, ::std::optional<::Vec3> entityPos) ;
471 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
472 getActorDimensionTransferManager() ;
474 virtual ::Spawner& getSpawner()
const ;
476 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
477 getBossEventSubscriptionManager() ;
479 virtual ::ProjectileFactory& getProjectileFactory()
const ;
481 virtual ::ActorDefinitionGroup* getEntityDefinitions()
const ;
483 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup()
const ;
485 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup()
const
488 virtual ::BlockDefinitionGroup* getBlockDefinitions()
const ;
490 virtual ::PropertyGroupManager& getActorPropertyGroup()
const ;
492 virtual ::CameraPresets
const& getCameraPresets()
const ;
494 virtual ::CameraPresets& getCameraPresets() ;
496 virtual ::SharedTypes::v1_21_90::CameraPreset
const* getCameraPreset(
int presetIndex)
const ;
498 virtual bool getDisablePlayerInteractions()
const ;
500 virtual void setDisablePlayerInteractions(
bool const disable) ;
502 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup()
const ;
504 virtual ::BehaviorFactory& getBehaviorFactory()
const ;
506 virtual ::SharedTypes::Legacy::Difficulty getDifficulty()
const ;
508 virtual ::DimensionConversionData getDimensionConversionData()
const ;
510 virtual float getSpecialMultiplier(::DimensionType dimensionType)
const ;
512 virtual bool hasCommandsEnabled()
const ;
514 virtual bool useMsaGamertagsOnly()
const ;
516 virtual void setMsaGamertagsOnly(
bool msaGamertagsOnly) ;
520 virtual ::Actor* putEntity(
540 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() ;
542 virtual void suspendPlayer(
::Player& player) ;
544 virtual void resumePlayer(
::Player& player) ;
546 virtual bool isPlayerSuspended(
::Player& player)
const ;
548 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() ;
550 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager()
const ;
552 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() ;
554 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(
::WeakEntityRef entityRef) ;
556 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef) ;
560 virtual ::StrictEntityContext fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
562 virtual ::Actor* fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
564 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher()
const ;
566 virtual ::Actor* getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const ;
568 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() ;
570 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager()
const ;
574 virtual ::Player* getPlayer(::std::string
const& name)
const ;
576 virtual ::Player* getPlayer(
::mce::UUID const& uuid)
const ;
580 virtual ::Player* getPlayerByXuid(::std::string
const& xuid)
const ;
582 virtual ::Player* getPlatformPlayer(::std::string
const& platformOnlineId)
const ;
584 virtual ::Player* getPlayerFromServerId(::std::string
const& serverId)
const ;
588 virtual int getNumRemotePlayers()
const ;
590 virtual ::Player* getPrimaryLocalPlayer()
const ;
592 virtual ::IMinecraftEventing& getEventing() ;
594 virtual ::mce::Color getPlayerColor(
::Player const& player)
const ;
596 virtual ::Tick
const& getCurrentTick()
const ;
598 virtual ::Tick
const getCurrentServerTick()
const ;
600 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager()
const ;
602 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
604 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> getContainerRegistryAccess()
const
607 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> getContainerRegistryTracker()
const
610 virtual ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> getDynamicContainerSerialization()
const
613 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> getShapeRegistry()
const ;
615 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> getMutableShapeRegistry()
const ;
617 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
619 virtual ::BiomeRegistry& getBiomeRegistry() ;
621 virtual ::BlockPalette
const& getBlockPalette()
const ;
623 virtual ::BlockPalette& getBlockPalette() ;
625 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
627 virtual ::FeatureRegistry& getFeatureRegistry() ;
629 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
631 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
633 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
635 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
637 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
639 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
641 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
643 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
645 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
647 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
649 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
651 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
653 virtual ::BiomeManager
const& getBiomeManager()
const ;
655 virtual ::BiomeManager& getBiomeManager() ;
657 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& getDimensionFactory()
const
660 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() ;
662 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
663 getLightTextureImageBuilderFactory()
const ;
665 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
666 getLightTextureImageBuilderFactory() ;
668 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
670 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
672 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
674 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const getWorldClockRegistry()
const ;
676 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> getWorldClockRegistry() ;
682 virtual void tickEntities() ;
684 virtual void tickEntitySystems() ;
688 virtual void tick() ;
690 virtual bool explode(
694 float explosionRadius,
705 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
709 virtual ::std::unique_ptr<::Path>
712 virtual ::std::unique_ptr<::Path>
717 virtual ::PlayerSleepStatus getSleepStatus()
const ;
719 virtual void updateSleepingPlayerList() ;
721 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
723 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
725 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
727 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
730 virtual int getTime()
const ;
732 virtual void setTime(
int time) ;
734 virtual uint getSeed() ;
736 virtual ::LevelSeed64 getLevelSeed64()
const ;
738 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
740 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
742 virtual ::BlockPos
const& getDefaultSpawn()
const ;
744 virtual void setDefaultGameType(::GameType gameType) ;
746 virtual ::GameType getDefaultGameType()
const ;
748 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) ;
750 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
752 virtual bool getMultiplayerGameIntent()
const ;
754 virtual void setMultiplayerGame(
bool multiplayerGame) ;
756 virtual bool isMultiplayerGame()
const ;
758 virtual void setLANBroadcastIntent(
bool broadcast) ;
760 virtual bool getLANBroadcastIntent()
const ;
762 virtual void setLANBroadcast(
bool broadcast) ;
764 virtual bool getLANBroadcast()
const ;
766 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
768 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
770 virtual bool hasXBLBroadcastIntent()
const ;
772 virtual void setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
774 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
776 virtual bool hasXBLBroadcast()
const ;
778 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
780 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
782 virtual bool hasPlatformBroadcastIntent()
const ;
784 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
786 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
788 virtual bool hasPlatformBroadcast()
const ;
790 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
792 virtual void setHasLockedResourcePack(
bool hasLocked) ;
794 virtual void setCommandsEnabled(
bool commandsEnabled) ;
796 virtual void setWorldTemplateOptionsUnlocked() ;
798 virtual bool hasLevelStorage()
const ;
800 virtual ::LevelStorage& getLevelStorage() ;
802 virtual ::LevelStorage
const& getLevelStorage()
const ;
804 virtual ::LevelData& getLevelData() ;
806 virtual ::LevelData
const& getLevelData()
const ;
808 virtual ::PhotoStorage& getPhotoStorage()
const ;
810 virtual void createPhotoStorage() ;
812 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
814 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
816 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
818 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
821 virtual void save() ;
823 virtual void saveLevelData() ;
825 virtual void saveGameData() ;
827 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
829 virtual ::TickingAreasManager& getTickingAreasMgr() ;
831 virtual void addTickingAreaList(
832 ::DimensionType dimensionId,
833 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
836 virtual void playSound(
837 ::SharedTypes::Legacy::LevelSoundEvent type,
844 virtual void playSound(
845 ::SharedTypes::Legacy::LevelSoundEvent type,
851 virtual void playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch) ;
853 virtual void playSound(
855 ::SharedTypes::Legacy::LevelSoundEvent type,
862 virtual void playSound(
863 ::DimensionType dimension,
864 ::SharedTypes::Legacy::LevelSoundEvent type,
871 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
873 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
875 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
877 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
879 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
881 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
883 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
885 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
887 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
889 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
891 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
893 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
895 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
897 virtual void handleStopSoundEvent(::std::string
const& name) ;
899 virtual void handleStopAllSounds() ;
901 virtual void handleStopMusicEvent() ;
903 virtual void broadcastLevelEvent(
904 ::SharedTypes::Legacy::LevelEvent type,
910 virtual void broadcastLevelEvent(
911 ::SharedTypes::Legacy::LevelEvent type,
916 virtual void broadcastLocalEvent(
918 ::SharedTypes::Legacy::LevelEvent type,
923 virtual void broadcastLocalEvent(
925 ::SharedTypes::Legacy::LevelEvent type,
930 virtual void broadcastSoundEvent(
932 ::SharedTypes::Legacy::LevelSoundEvent type,
939 virtual void broadcastSoundEvent(
941 ::SharedTypes::Legacy::LevelSoundEvent type,
948 virtual void broadcastSoundEvent(
950 ::SharedTypes::Legacy::LevelSoundEvent type,
957 virtual void broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const ;
959 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
961 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
963 virtual void onChunkReload(
::Bounds const& bound) ;
965 virtual int getActivePlayerCount()
const ;
967 virtual int getActiveUsersCount()
const ;
969 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
971 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
973 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
975 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
977 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
979 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
981 virtual int getUserCount()
const ;
985 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
987 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
993 virtual void onSubChunkLoaded(
996 short absoluteSubChunkIndex,
997 bool subChunkVisibilityChanged
1000 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
1006 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
1010 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1014 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1016 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1018 virtual void forceRemoveEntity(
::Actor& actor) ;
1020 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1022 virtual void forceFlushRemovedPlayers() ;
1024 virtual void loadFunctionManager() ;
1028 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1030 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1032 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1034 virtual bool destroyBlock(
1041 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1043 virtual void upgradeStorageVersion(::StorageVersion v) ;
1045 virtual void suspendAndSave() ;
1048 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1050 virtual ::Particle* addParticle(
1059 virtual void spawnParticleEffect(
1060 ::std::string
const& effectName,
1061 ::Vec3 const& spawnLocation,
1065 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1067 virtual void addParticleEffect(
1069 ::Vec3 const& emitterPosition,
1073 virtual void addTerrainParticleEffect(
1076 ::Vec3 const& emitterPosition,
1078 float velocityScalar,
1082 virtual void addTerrainSlideEffect(
1085 ::Vec3 const& emitterPosition,
1087 float velocityScalar,
1091 virtual void addBreakingItemParticleEffect(
1097 virtual void addBiomeTintedParticleEffect(
1101 ::std::optional<::mce::Color> overrideColor
1104 virtual ::ActorUniqueID getNewUniqueID() ;
1106 virtual ::ActorRuntimeID getNextRuntimeID() ;
1108 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1110 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1112 virtual ::std::vector<::ChunkPos>
1113 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1115 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1118 virtual bool isExporting()
const ;
1120 virtual void setIsExporting(
bool IsExporting) ;
1122 virtual ::SavedDataStorage& getSavedData() ;
1124 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1126 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1128 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1130 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1132 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1136 virtual ::MapItemSavedData& createMapSavedData(
1139 ::DimensionType dimension,
1140 int returnScaleLevel
1143 virtual ::MapItemSavedData& createMapSavedData(
1144 ::std::vector<::ActorUniqueID>
const& mapIds,
1146 ::DimensionType dimension,
1147 int returnScaleLevel
1150 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1152 virtual ::std::string getLevelId()
const ;
1154 virtual void setLevelId(::std::string LevelId) ;
1156 virtual ::TaskGroup& getSyncTasksGroup() ;
1158 virtual ::TaskGroup& getIOTasksGroup() ;
1160 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1162 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1164 virtual ::TradeTables* getTradeTables() ;
1166 virtual void decrementTagCache(
1167 ::std::string
const& tag,
1171 virtual void incrementTagCache(
1172 ::std::string
const& tag,
1176 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1178 virtual bool isEdu()
const ;
1180 virtual ::ActorFactory& getActorFactory() ;
1182 virtual ::ActorFactory
const& getActorFactory()
const ;
1184 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1186 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1188 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1190 virtual ::EntitySystems& getEntitySystems() ;
1192 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1194 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1196 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1199 virtual void runCommand(
1202 ::CommandOriginSystem originSystem,
1203 ::CurrentCmdVersion
const commandVersion
1209 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1213 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1217 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1218 getPlayerMovementSettingsManager() ;
1220 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1221 getPlayerMovementSettingsManager()
const ;
1223 virtual bool canUseSkin(
1229 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1231 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1233 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1235 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1237 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1239 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1241 virtual void flushRunTimeLighting() ;
1243 virtual ::std::weak_ptr<::ISubChunkLighter> getSubChunkLighter()
const ;
1245 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1247 virtual void initializeBlockDefinitionGroup() ;
1249 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1251 virtual bool isClientSideGenerationEnabled() ;
1253 virtual bool blockNetworkIdsAreHashes() ;
1255 virtual ::ItemRegistryRef getItemRegistry()
const ;
1257 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry()
const ;
1259 virtual ::Level* asLevel() ;
1261 virtual bool use3DBiomeMaps()
const ;
1263 virtual void pauseAndFlushTaskGroups() ;
1265 virtual ::DimensionManager& getDimensionManager() ;
1267 virtual ::DimensionManager
const& getDimensionManager()
const ;
1269 virtual void subChunkTickAndSendRequests() ;
1271 virtual void _subTick();
1273 virtual ::StackRefResult<::PauseManager> getPauseManager() ;
1275 virtual ::StackRefResult<::PauseManager const> getPauseManager()
const ;
1277 virtual bool isClientSide()
const ;
1279 virtual ::SubClientId getSubClientId()
const ;
1281 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& getPlayerList()
const ;
1283 virtual ::std::string
const& getPlayerXUID(
::mce::UUID const& uuid)
const ;
1285 virtual ::std::string
const& getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const ;
1287 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() ;
1289 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager()
const ;
1291 virtual ::std::vector<::WeakEntityRef>
const& getActiveUsers()
const ;
1293 virtual void notifySubChunkRequestManager(
::SubChunkPacket const& packet) ;
1295 virtual ::SubChunkRequestManager* getSubChunkRequestManager() ;
1297 virtual ::std::vector<::Actor*> getRuntimeActorList()
const ;
1299 virtual ::PacketSender* getPacketSender()
const ;
1301 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback()
const ;
1305 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() ;
1307 virtual ::IRandom& getIRandom()
const ;
1309 virtual ::Random& getRandom()
const ;
1311 virtual ::Random& getThreadRandom()
const ;
1313 virtual ::HitResult& getHitResult() ;
1315 virtual ::HitResult& getLiquidHitResult() ;
1317 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() ;
1319 virtual ::std::string
const& getImmersiveReaderString()
const ;
1321 virtual void setImmersiveReaderString(::std::string newString) ;
1323 virtual ::AdventureSettings& getAdventureSettings() ;
1325 virtual ::AdventureSettings
const& getAdventureSettings()
const ;
1327 virtual ::GameRules
const& getGameRules()
const ;
1329 virtual ::GameRules& getGameRules() ;
1331 virtual bool hasStartWithMapEnabled()
const ;
1333 virtual bool isEditorWorld()
const ;
1335 virtual bool isHardcore()
const ;
1337 virtual ::Abilities& getDefaultAbilities() ;
1339 virtual ::PermissionsHandler& getDefaultPermissions() ;
1341 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1343 virtual bool getTearingDown()
const ;
1345 virtual void takePicture(
1353 virtual ::LevelSoundManager& getLevelSoundManager() ;
1355 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1357 virtual void setSimPaused(
bool value) ;
1359 virtual bool getSimPaused()
const ;
1361 virtual void setFinishedInitializing() ;
1363 virtual ::LootTables& getLootTables() ;
1365 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1367 virtual int getNetherScale()
const ;
1369 virtual ::Scoreboard& getScoreboard() ;
1371 virtual ::Scoreboard
const& getScoreboard()
const ;
1373 virtual ::Scoreboard* tryGetScoreboard() ;
1375 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1379 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1381 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1383 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1385 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1386 getPlayerPermissionsSynchroniser() ;
1388 virtual ::Recipes& getRecipes()
const ;
1390 virtual ::BlockReducer* getBlockReducer()
const ;
1392 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1394 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1396 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1398 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1400 virtual ::BlockType
const& getRegisteredBorderBlock()
const ;
1402 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1403 getLevelChunkPerformanceTelemetry() ;
1405 virtual ::cereal::ReflectionCtx& cerealContext() ;
1407 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1409 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1411 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1413 virtual void clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId) ;
1417 virtual ::MolangPackSettingsCache
const* getMolangPackSettingsCache()
const ;
1419 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1421 virtual void _initializeMapDataManager();
1423 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1425 virtual void _onLowMemory() ;
1433 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1435 MCAPI
void _initializeActorManager();
1437 MCAPI
void _initializeBiomeManager();
1439 MCAPI
void _initializeEventCoordinatorManager();
1441 MCAPI
void _initializeGameplayUserManager();
1443 MCAPI
void _initializeLevelChunkEventManager();
1445 MCAPI
void _initializeLevelChunkSaveManager();
1447 MCAPI
void _initializeLevelEventManager();
1449 MCAPI
void _initializeLevelStorageManager();
1451 MCAPI
void _initializeParticleProvider();
1453 MCAPI
void _onAddBiomeTintedParticleEffect(
1457 ::std::optional<::mce::Color> overrideColor
1460 MCAPI
void _onAddBreakingItemParticleEffect(
1466 MCAPI
void _onAddTerrainParticleEffect(
1469 ::Vec3 const& emitterPosition,
1470 float particleCount,
1471 float velocityScalar,
1475 MCAPI
void _onAddTerrainSlideEffect(
1478 ::Vec3 const& emitterPosition,
1479 float particleCount,
1480 float velocityScalar,
1484 MCAPI
void _onAnyGameplayUsersRemoved();
1486 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1496 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1498 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1500 MCAPI
void _onPictureTaken(
1508 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1510 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1512 MCAPI
void _setIsTearingDown();
1514 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1517 MCAPI
void earlyShutdownMainthread();
1519 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1522 MCAPI ::NpcEventCoordinator& getNpcEventCoordinator();
1525 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1527 MCAPI
void loadShapeRegistry(
::Experiments const& experiments);
1533 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1539 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1541 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1542 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1561 MCAPI
bool $initialize(
1562 ::std::string
const& levelName,
1565 ::std::string
const* levelId,
1566 ::std::optional<::std::reference_wrapper<
1567 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
1568 biomeIdToResolvedData
1571 MCAPI
void $startLeaveGame();
1573 MCAPI
bool $isLeaveGameDone();
1575 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(::DimensionType dimensionType);
1577 MCAPI ::WeakRef<::Dimension> $getDimension(::DimensionType
id)
const;
1579 MCAPI ::DimensionType $getLastOrDefaultSpawnDimensionId(::DimensionType lastDimensionId)
const;
1581 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1583 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1585 MCAPI uint $getChunkTickRange()
const;
1587 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1589 MCAPI ::PortalForcer& $getPortalForcer();
1593 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1595 MCAPI
void $entityChangeDimension(
::Actor& entity, ::DimensionType toId, ::std::optional<::Vec3> entityPos);
1597 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1599 MCFOLD ::Spawner& $getSpawner()
const;
1601 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1603 MCFOLD ::ProjectileFactory& $getProjectileFactory()
const;
1605 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions()
const;
1607 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
1609 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
1611 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1613 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
1615 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
1617 MCFOLD ::CameraPresets& $getCameraPresets();
1619 MCAPI ::SharedTypes::v1_21_90::CameraPreset
const* $getCameraPreset(
int presetIndex)
const;
1621 MCAPI
bool $getDisablePlayerInteractions()
const;
1623 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
1625 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
1627 MCAPI ::BehaviorFactory& $getBehaviorFactory()
const;
1629 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty()
const;
1631 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
1633 MCAPI
float $getSpecialMultiplier(::DimensionType dimensionType)
const;
1635 MCAPI
bool $hasCommandsEnabled()
const;
1637 MCAPI
bool $useMsaGamertagsOnly()
const;
1639 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
1643 MCAPI ::Actor* $putEntity(
1662 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
1664 MCAPI
void $suspendPlayer(
::Player& player);
1666 MCAPI
void $resumePlayer(
::Player& player);
1668 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
1670 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
1672 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
1674 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
1676 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
1678 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
1682 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1684 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1686 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
1688 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
1690 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
1692 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
1696 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
1698 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
1702 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
1704 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
1706 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
1710 MCAPI
int $getNumRemotePlayers()
const;
1712 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
1714 MCAPI ::IMinecraftEventing& $getEventing();
1716 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
1718 MCAPI ::Tick
const& $getCurrentTick()
const;
1720 MCAPI ::Tick
const $getCurrentServerTick()
const;
1722 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
1724 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
1726 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> $getContainerRegistryAccess()
const;
1728 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> $getContainerRegistryTracker()
const;
1730 MCAPI ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> $getDynamicContainerSerialization()
const;
1732 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> $getShapeRegistry()
const;
1734 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> $getMutableShapeRegistry()
const;
1736 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
1738 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
1740 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
1742 MCFOLD ::BlockPalette& $getBlockPalette();
1744 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
1746 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
1748 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
1750 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
1752 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
1754 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
1756 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
1758 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
1760 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
1762 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
1764 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
1766 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
1768 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
1770 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
1772 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
1774 MCAPI ::BiomeManager& $getBiomeManager();
1776 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& $getDimensionFactory()
const;
1778 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
1780 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
1781 $getLightTextureImageBuilderFactory()
const;
1783 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
1785 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
1787 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
1789 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
1791 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const $getWorldClockRegistry()
const;
1793 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> $getWorldClockRegistry();
1799 MCAPI
void $tickEntities();
1801 MCAPI
void $tickEntitySystems();
1807 MCAPI
bool $explode(
1811 float explosionRadius,
1814 float maxResistance,
1815 bool allowUnderwater
1822 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
1826 MCAPI ::std::unique_ptr<::Path>
1833 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
1835 MCAPI
void $updateSleepingPlayerList();
1837 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
1839 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
1841 MCAPI
int $getTime()
const;
1843 MCAPI
void $setTime(
int time);
1845 MCAPI uint $getSeed();
1847 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
1849 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
1851 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
1853 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
1855 MCAPI
void $setDefaultGameType(::GameType gameType);
1857 MCAPI ::GameType $getDefaultGameType()
const;
1859 MCAPI
void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
1861 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
1863 MCAPI
bool $getMultiplayerGameIntent()
const;
1865 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
1867 MCAPI
bool $isMultiplayerGame()
const;
1869 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
1871 MCAPI
bool $getLANBroadcastIntent()
const;
1873 MCAPI
void $setLANBroadcast(
bool broadcast);
1875 MCAPI
bool $getLANBroadcast()
const;
1877 MCAPI
void $setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1879 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent()
const;
1881 MCAPI
bool $hasXBLBroadcastIntent()
const;
1883 MCAPI
void $setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode);
1885 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode()
const;
1887 MCAPI
bool $hasXBLBroadcast()
const;
1889 MCAPI
void $setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1891 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent()
const;
1893 MCAPI
bool $hasPlatformBroadcastIntent()
const;
1895 MCAPI
void $setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode);
1897 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode()
const;
1899 MCAPI
bool $hasPlatformBroadcast()
const;
1901 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
1903 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
1905 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
1907 MCAPI
void $setWorldTemplateOptionsUnlocked();
1909 MCAPI
bool $hasLevelStorage()
const;
1911 MCFOLD ::LevelStorage& $getLevelStorage();
1913 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
1915 MCFOLD ::LevelData& $getLevelData();
1917 MCFOLD ::LevelData
const& $getLevelData()
const;
1919 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
1921 MCAPI
void $createPhotoStorage();
1923 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
1925 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
1927 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
1929 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
1933 MCAPI
void $saveLevelData();
1935 MCAPI
void $saveGameData();
1937 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
1939 MCAPI ::TickingAreasManager& $getTickingAreasMgr();
1942 $addTickingAreaList(::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
1944 MCAPI
void $playSound(
1945 ::SharedTypes::Legacy::LevelSoundEvent type,
1953 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
1955 MCAPI
void $playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch);
1957 MCAPI
void $playSound(
1959 ::SharedTypes::Legacy::LevelSoundEvent type,
1966 MCAPI
void $playSound(
1967 ::DimensionType dimension,
1968 ::SharedTypes::Legacy::LevelSoundEvent type,
1975 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
1977 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
1979 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
1981 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
1983 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
1985 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
1987 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
1989 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
1991 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
1993 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
1995 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1997 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1999 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2001 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
2003 MCAPI
void $handleStopAllSounds();
2005 MCAPI
void $handleStopMusicEvent();
2007 MCAPI
void $broadcastLevelEvent(
2008 ::SharedTypes::Legacy::LevelEvent type,
2014 MCAPI
void $broadcastLevelEvent(
2015 ::SharedTypes::Legacy::LevelEvent type,
2021 $broadcastLocalEvent(
::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2023 MCAPI
void $broadcastLocalEvent(
2025 ::SharedTypes::Legacy::LevelEvent type,
2030 MCAPI
void $broadcastSoundEvent(
2032 ::SharedTypes::Legacy::LevelSoundEvent type,
2039 MCAPI
void $broadcastSoundEvent(
2041 ::SharedTypes::Legacy::LevelSoundEvent type,
2048 MCAPI
void $broadcastSoundEvent(
2050 ::SharedTypes::Legacy::LevelSoundEvent type,
2057 MCAPI
void $broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const;
2059 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2061 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2063 MCAPI
void $onChunkReload(
::Bounds const& bound);
2065 MCAPI
int $getActivePlayerCount()
const;
2067 MCAPI
int $getActiveUsersCount()
const;
2069 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2071 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2073 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2075 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2077 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2079 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2081 MCAPI
int $getUserCount()
const;
2085 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2087 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2093 MCFOLD
void $onSubChunkLoaded(
2096 short absoluteSubChunkIndex,
2097 bool subChunkVisibilityChanged
2100 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2106 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2110 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2114 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2116 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2118 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2120 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2122 MCAPI
void $forceFlushRemovedPlayers();
2124 MCFOLD
void $loadFunctionManager();
2128 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2130 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2132 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2134 MCAPI
bool $destroyBlock(
2141 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2143 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2145 MCAPI
void $suspendAndSave();
2147 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2149 MCAPI ::Particle* $addParticle(
2159 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2161 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2163 MCAPI
void $addParticleEffect(
2165 ::Vec3 const& emitterPosition,
2169 MCAPI
void $addTerrainParticleEffect(
2172 ::Vec3 const& emitterPosition,
2174 float velocityScalar,
2178 MCAPI
void $addTerrainSlideEffect(
2181 ::Vec3 const& emitterPosition,
2183 float velocityScalar,
2187 MCAPI
void $addBreakingItemParticleEffect(
2193 MCAPI
void $addBiomeTintedParticleEffect(
2197 ::std::optional<::mce::Color> overrideColor
2200 MCAPI ::ActorUniqueID $getNewUniqueID();
2202 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2204 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2206 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2208 MCAPI ::std::vector<::ChunkPos>
2209 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2211 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2213 MCAPI
bool $isExporting()
const;
2215 MCAPI
void $setIsExporting(
bool IsExporting);
2217 MCAPI ::SavedDataStorage& $getSavedData();
2219 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2221 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2223 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2225 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2227 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2231 MCAPI ::MapItemSavedData& $createMapSavedData(
2234 ::DimensionType dimension,
2235 int returnScaleLevel
2238 MCAPI ::MapItemSavedData& $createMapSavedData(
2239 ::std::vector<::ActorUniqueID>
const& mapIds,
2241 ::DimensionType dimension,
2242 int returnScaleLevel
2245 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2247 MCAPI ::std::string $getLevelId()
const;
2249 MCAPI
void $setLevelId(::std::string LevelId);
2251 MCAPI ::TaskGroup& $getSyncTasksGroup();
2253 MCFOLD ::TaskGroup& $getIOTasksGroup();
2255 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2257 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2259 MCFOLD ::TradeTables* $getTradeTables();
2261 MCFOLD
void $decrementTagCache(
2262 ::std::string
const& tag,
2266 MCFOLD
void $incrementTagCache(
2267 ::std::string
const& tag,
2271 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2273 MCAPI
bool $isEdu()
const;
2275 MCFOLD ::ActorFactory& $getActorFactory();
2277 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2279 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2281 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2283 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2285 MCAPI ::EntitySystems& $getEntitySystems();
2287 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2289 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2291 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2293 MCFOLD
void $runCommand(
2296 ::CommandOriginSystem originSystem,
2297 ::CurrentCmdVersion
const commandVersion
2302 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2306 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2310 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2312 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2313 $getPlayerMovementSettingsManager()
const;
2315 MCFOLD
bool $canUseSkin(
2321 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2323 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2325 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2327 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2329 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2331 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2333 MCAPI
void $flushRunTimeLighting();
2335 MCFOLD ::std::weak_ptr<::ISubChunkLighter> $getSubChunkLighter()
const;
2337 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2339 MCAPI
void $initializeBlockDefinitionGroup();
2341 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2343 MCAPI
bool $isClientSideGenerationEnabled();
2345 MCAPI
bool $blockNetworkIdsAreHashes();
2347 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2349 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry()
const;
2351 MCFOLD ::Level* $asLevel();
2353 MCAPI
bool $use3DBiomeMaps()
const;
2355 MCAPI
void $pauseAndFlushTaskGroups();
2357 MCFOLD ::DimensionManager& $getDimensionManager();
2359 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2361 MCFOLD
void $subChunkTickAndSendRequests();
2363 MCAPI
void $_subTick();
2365 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2367 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2369 MCFOLD
bool $isClientSide()
const;
2371 MCFOLD ::SubClientId $getSubClientId()
const;
2373 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2375 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2377 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2379 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2381 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2383 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2387 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2389 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2391 MCFOLD ::PacketSender* $getPacketSender()
const;
2393 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2397 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2399 MCAPI ::IRandom& $getIRandom()
const;
2401 MCAPI ::Random& $getRandom()
const;
2403 MCFOLD ::Random& $getThreadRandom()
const;
2405 MCAPI ::HitResult& $getHitResult();
2407 MCAPI ::HitResult& $getLiquidHitResult();
2409 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2411 MCFOLD ::std::string
const& $getImmersiveReaderString()
const;
2413 MCAPI
void $setImmersiveReaderString(::std::string newString);
2415 MCAPI ::AdventureSettings& $getAdventureSettings();
2417 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2419 MCAPI ::GameRules
const& $getGameRules()
const;
2421 MCAPI ::GameRules& $getGameRules();
2423 MCAPI
bool $hasStartWithMapEnabled()
const;
2425 MCAPI
bool $isEditorWorld()
const;
2427 MCAPI
bool $isHardcore()
const;
2429 MCAPI ::Abilities& $getDefaultAbilities();
2431 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2433 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2435 MCFOLD
bool $getTearingDown()
const;
2437 MCAPI
void $takePicture(
2445 MCFOLD ::LevelSoundManager& $getLevelSoundManager();
2447 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2449 MCAPI
void $setSimPaused(
bool value);
2451 MCAPI
bool $getSimPaused()
const;
2453 MCAPI
void $setFinishedInitializing();
2455 MCFOLD ::LootTables& $getLootTables();
2457 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2459 MCAPI
int $getNetherScale()
const;
2461 MCFOLD ::Scoreboard& $getScoreboard();
2463 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2465 MCFOLD ::Scoreboard* $tryGetScoreboard();
2467 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2471 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2473 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2475 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2477 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2479 MCFOLD ::Recipes& $getRecipes()
const;
2481 MCAPI ::BlockReducer* $getBlockReducer()
const;
2483 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2485 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2487 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2489 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2491 MCAPI ::BlockType
const& $getRegisteredBorderBlock()
const;
2493 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2495 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2497 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2499 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2501 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2503 MCFOLD
void $clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId);
2507 MCAPI ::MolangPackSettingsCache
const* $getMolangPackSettingsCache()
const;
2509 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2511 MCAPI
void $_initializeMapDataManager();
2513 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2515 MCAPI
void $_onLowMemory();