255 using RegionSet = ::std::unordered_set<::BlockSource*>;
260 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
267 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
268 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
269 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
270 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
271 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
272 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
273 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
275 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
276 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
277 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
278 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
282 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
283 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
284 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
290 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
291 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
292 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
293 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
294 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
295 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
296 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
297 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
298 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
299 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
300 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
301 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
302 ::ll::TypedStorage<1, 1, bool> mIsExporting;
303 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
304 ::ll::TypedStorage<1, 1, bool> mSimPaused;
305 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
306 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
307 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
308 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
309 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
310 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
311 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
312 ::ll::TypedStorage<1, 1, bool> mTearingDown;
313 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
314 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
315 mEventCoordinatorManager;
316 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
317 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
318 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
319 mLevelChunkPerformanceTelemetry;
320 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
321 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
322 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
323 mJigsawStructureRegistry;
324 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
325 mStructureSpawnRegistry;
326 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::DimensionFactoryAndManager>>>
327 mDimensionFactoryAndManager;
328 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
329 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
330 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
331 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
332 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
333 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
334 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
335 mLightTextureImageBuilderFactory;
336 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
337 mEducationSettingsManager;
338 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
339 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
340 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
341 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
342 mPositionTrackerDBClient;
343 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
344 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
345 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
346 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
347 mActorGarbageCollector;
348 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
349 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
350 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
351 mAutonomousActorManager;
352 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
353 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
354 mGameplayUserManager;
355 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
356 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
357 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
358 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
359 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
360 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
361 mActorRuntimeIDManager;
362 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
363 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
364 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
365 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
366 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
367 mServerParticleManager;
368 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
369 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
370 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
371 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
372 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
373 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
374 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
375 mChunkTickRangeManager;
376 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
377 mChunkViewTrackerManager;
378 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
379 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
380 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
381 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
382 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
383 mPlayerDimensionTransferManager;
384 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>>
const>
385 mLevelCrashDumpManager;
386 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
387 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
388 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
389 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
390 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
391 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
392 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
393 mChunkTickOffsetManager;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
395 mPlayerMovementSettingsManager;
396 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
397 mPlayerAbilitiesManager;
398 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
399 mPlayerPermissionsManager;
400 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
401 mPlayerPermissionsSynchroniser;
402 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
403 mLevelChunkEventManager;
404 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
405 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
406 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
407 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
408 mActorDimensionTransferManager;
409 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
410 mLevelBlockDestroyer;
411 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
412 mTickDeltaTimeManager;
413 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::TickTimeManager>>> mTickTimeManager;
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<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
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 ::VoxelShapes::VoxelShapeRegistry
const* getShapeRegistry()
const ;
615 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
617 virtual ::BiomeRegistry& getBiomeRegistry() ;
619 virtual ::BlockPalette
const& getBlockPalette()
const ;
621 virtual ::BlockPalette& getBlockPalette() ;
623 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
625 virtual ::FeatureRegistry& getFeatureRegistry() ;
627 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
629 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
631 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
633 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
635 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
637 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
639 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
641 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
643 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
645 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
647 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
649 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
651 virtual ::BiomeManager
const& getBiomeManager()
const ;
653 virtual ::BiomeManager& getBiomeManager() ;
655 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& getDimensionFactory()
const
658 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() ;
660 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
661 getLightTextureImageBuilderFactory()
const ;
663 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
664 getLightTextureImageBuilderFactory() ;
666 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
668 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
670 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
676 virtual void tickEntities() ;
678 virtual void tickEntitySystems() ;
682 virtual void tick() ;
684 virtual bool explode(
688 float explosionRadius,
699 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
703 virtual ::std::unique_ptr<::Path>
706 virtual ::std::unique_ptr<::Path>
711 virtual ::PlayerSleepStatus getSleepStatus()
const ;
713 virtual void updateSleepingPlayerList() ;
715 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
717 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
719 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
721 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
724 virtual int getTime()
const ;
726 virtual void setTime(
int time) ;
728 virtual uint getSeed() ;
730 virtual ::LevelSeed64 getLevelSeed64()
const ;
732 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
734 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
736 virtual ::BlockPos
const& getDefaultSpawn()
const ;
738 virtual void setDefaultGameType(::GameType gameType) ;
740 virtual ::GameType getDefaultGameType()
const ;
742 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) ;
744 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
746 virtual bool getMultiplayerGameIntent()
const ;
748 virtual void setMultiplayerGame(
bool multiplayerGame) ;
750 virtual bool isMultiplayerGame()
const ;
752 virtual void setLANBroadcastIntent(
bool broadcast) ;
754 virtual bool getLANBroadcastIntent()
const ;
756 virtual void setLANBroadcast(
bool broadcast) ;
758 virtual bool getLANBroadcast()
const ;
760 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
762 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
764 virtual bool hasXBLBroadcastIntent()
const ;
766 virtual void setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
768 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
770 virtual bool hasXBLBroadcast()
const ;
772 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
774 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
776 virtual bool hasPlatformBroadcastIntent()
const ;
778 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
780 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
782 virtual bool hasPlatformBroadcast()
const ;
784 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
786 virtual void setHasLockedResourcePack(
bool hasLocked) ;
788 virtual void setCommandsEnabled(
bool commandsEnabled) ;
790 virtual void setWorldTemplateOptionsUnlocked() ;
792 virtual bool hasLevelStorage()
const ;
794 virtual ::LevelStorage& getLevelStorage() ;
796 virtual ::LevelStorage
const& getLevelStorage()
const ;
798 virtual ::LevelData& getLevelData() ;
800 virtual ::LevelData
const& getLevelData()
const ;
802 virtual ::PhotoStorage& getPhotoStorage()
const ;
804 virtual void createPhotoStorage() ;
806 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
808 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
810 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
812 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
815 virtual void save() ;
817 virtual void saveLevelData() ;
819 virtual void saveGameData() ;
821 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
823 virtual ::TickingAreasManager& getTickingAreasMgr() ;
825 virtual void addTickingAreaList(
826 ::DimensionType dimensionId,
827 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
830 virtual void playSound(
831 ::SharedTypes::Legacy::LevelSoundEvent type,
838 virtual void playSound(
839 ::SharedTypes::Legacy::LevelSoundEvent type,
845 virtual void playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch) ;
847 virtual void playSound(
849 ::SharedTypes::Legacy::LevelSoundEvent type,
856 virtual void playSound(
857 ::DimensionType dimension,
858 ::SharedTypes::Legacy::LevelSoundEvent type,
865 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
867 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
869 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
871 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
873 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
875 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
877 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
879 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
881 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
883 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
885 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent,
::Vec3 const&,
int) ;
887 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent,
::CompoundTag const&) ;
889 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
891 virtual void handleStopSoundEvent(::std::string
const& name) ;
893 virtual void handleStopAllSounds() ;
895 virtual void handleStopMusicEvent() ;
897 virtual void broadcastLevelEvent(
898 ::SharedTypes::Legacy::LevelEvent,
904 virtual void broadcastLevelEvent(
905 ::SharedTypes::Legacy::LevelEvent,
911 broadcastLocalEvent(
::BlockSource&, ::SharedTypes::Legacy::LevelEvent,
::Vec3 const&,
int) ;
916 virtual void broadcastSoundEvent(
918 ::SharedTypes::Legacy::LevelSoundEvent type,
925 virtual void broadcastSoundEvent(
927 ::SharedTypes::Legacy::LevelSoundEvent type,
934 virtual void broadcastSoundEvent(
936 ::SharedTypes::Legacy::LevelSoundEvent type,
943 virtual void broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const ;
945 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
947 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
949 virtual void onChunkReload(
::Bounds const& bound) ;
951 virtual int getActivePlayerCount()
const ;
953 virtual int getActiveUsersCount()
const ;
955 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
957 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
959 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
961 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
963 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
965 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
967 virtual int getUserCount()
const ;
971 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
973 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
979 virtual void onSubChunkLoaded(
982 short absoluteSubChunkIndex,
983 bool subChunkVisibilityChanged
986 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
992 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
996 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1000 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1002 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1004 virtual void forceRemoveEntity(
::Actor& actor) ;
1006 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1008 virtual void forceFlushRemovedPlayers() ;
1010 virtual void loadFunctionManager() ;
1014 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1016 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1018 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1020 virtual bool destroyBlock(
1027 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1029 virtual void upgradeStorageVersion(::StorageVersion v) ;
1031 virtual void suspendAndSave() ;
1034 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1036 virtual ::Particle* addParticle(
1045 virtual void spawnParticleEffect(
1046 ::std::string
const& effectName,
1047 ::Vec3 const& spawnLocation,
1051 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1053 virtual void addParticleEffect(
1055 ::Vec3 const& emitterPosition,
1059 virtual void addTerrainParticleEffect(
1062 ::Vec3 const& emitterPosition,
1064 float velocityScalar,
1068 virtual void addTerrainSlideEffect(
1071 ::Vec3 const& emitterPosition,
1073 float velocityScalar,
1077 virtual void addBreakingItemParticleEffect(
1083 virtual void addBiomeTintedParticleEffect(
1087 ::std::optional<::mce::Color> overrideColor
1090 virtual ::ActorUniqueID getNewUniqueID() ;
1092 virtual ::ActorRuntimeID getNextRuntimeID() ;
1094 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1096 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1098 virtual ::std::vector<::ChunkPos>
1099 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1101 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1104 virtual bool isExporting()
const ;
1106 virtual void setIsExporting(
bool IsExporting) ;
1108 virtual ::SavedDataStorage& getSavedData() ;
1110 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1112 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1114 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1116 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1118 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1122 virtual ::MapItemSavedData& createMapSavedData(
1125 ::DimensionType dimension,
1126 int returnScaleLevel
1129 virtual ::MapItemSavedData& createMapSavedData(
1130 ::std::vector<::ActorUniqueID>
const& mapIds,
1132 ::DimensionType dimension,
1133 int returnScaleLevel
1136 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1138 virtual ::std::string getLevelId()
const ;
1140 virtual void setLevelId(::std::string LevelId) ;
1142 virtual ::TaskGroup& getSyncTasksGroup() ;
1144 virtual ::TaskGroup& getIOTasksGroup() ;
1146 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1148 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1150 virtual ::TradeTables* getTradeTables() ;
1152 virtual void decrementTagCache(
1153 ::std::string
const& tag,
1157 virtual void incrementTagCache(
1158 ::std::string
const& tag,
1162 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1164 virtual bool isEdu()
const ;
1166 virtual ::ActorFactory& getActorFactory() ;
1168 virtual ::ActorFactory
const& getActorFactory()
const ;
1170 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1172 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1174 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1176 virtual ::EntitySystems& getEntitySystems() ;
1178 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1180 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1182 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1185 virtual void runCommand(
1188 ::CommandOriginSystem originSystem,
1189 ::CurrentCmdVersion
const commandVersion
1195 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1199 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1203 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1204 getPlayerMovementSettingsManager() ;
1206 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1207 getPlayerMovementSettingsManager()
const ;
1209 virtual bool canUseSkin(
1215 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1217 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1219 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1221 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1223 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1225 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1227 virtual void flushRunTimeLighting() ;
1229 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1231 virtual void initializeBlockDefinitionGroup() ;
1233 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1235 virtual bool isClientSideGenerationEnabled() ;
1237 virtual bool blockNetworkIdsAreHashes() ;
1239 virtual ::ItemRegistryRef getItemRegistry()
const ;
1241 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry()
const ;
1243 virtual ::Level* asLevel() ;
1245 virtual bool use3DBiomeMaps()
const ;
1247 virtual void pauseAndFlushTaskGroups() ;
1249 virtual ::DimensionManager& getDimensionManager() ;
1251 virtual ::DimensionManager
const& getDimensionManager()
const ;
1253 virtual void subChunkTickAndSendRequests() ;
1255 virtual void _subTick();
1257 virtual ::StackRefResult<::PauseManager> getPauseManager() ;
1259 virtual ::StackRefResult<::PauseManager const> getPauseManager()
const ;
1261 virtual bool isClientSide()
const ;
1263 virtual ::SubClientId getSubClientId()
const ;
1265 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& getPlayerList()
const ;
1267 virtual ::std::string
const& getPlayerXUID(
::mce::UUID const& uuid)
const ;
1269 virtual ::std::string
const& getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const ;
1271 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() ;
1273 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager()
const ;
1275 virtual ::std::vector<::WeakEntityRef>
const& getActiveUsers()
const ;
1277 virtual void notifySubChunkRequestManager(
::SubChunkPacket const& packet) ;
1279 virtual ::SubChunkRequestManager* getSubChunkRequestManager() ;
1281 virtual ::std::vector<::Actor*> getRuntimeActorList()
const ;
1283 virtual ::PacketSender* getPacketSender()
const ;
1285 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback()
const ;
1289 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() ;
1291 virtual ::IRandom& getIRandom()
const ;
1293 virtual ::Random& getRandom()
const ;
1295 virtual ::Random& getThreadRandom()
const ;
1297 virtual ::HitResult& getHitResult() ;
1299 virtual ::HitResult& getLiquidHitResult() ;
1301 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() ;
1303 virtual ::std::string
const& getImmersiveReaderString()
const ;
1305 virtual void setImmersiveReaderString(::std::string newString) ;
1307 virtual ::AdventureSettings& getAdventureSettings() ;
1309 virtual ::AdventureSettings
const& getAdventureSettings()
const ;
1311 virtual ::GameRules
const& getGameRules()
const ;
1313 virtual ::GameRules& getGameRules() ;
1315 virtual bool hasStartWithMapEnabled()
const ;
1317 virtual bool isEditorWorld()
const ;
1319 virtual bool isHardcore()
const ;
1321 virtual ::Abilities& getDefaultAbilities() ;
1323 virtual ::PermissionsHandler& getDefaultPermissions() ;
1325 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1327 virtual bool getTearingDown()
const ;
1329 virtual void takePicture(
1337 virtual ::LevelSoundManager& getLevelSoundManager() ;
1339 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1341 virtual void setSimPaused(
bool value) ;
1343 virtual bool getSimPaused() ;
1345 virtual void setFinishedInitializing() ;
1347 virtual ::LootTables& getLootTables() ;
1349 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1351 virtual int getNetherScale()
const ;
1353 virtual ::Scoreboard& getScoreboard() ;
1355 virtual ::Scoreboard
const& getScoreboard()
const ;
1357 virtual ::Scoreboard* tryGetScoreboard() ;
1359 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1363 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1365 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1367 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1369 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1370 getPlayerPermissionsSynchroniser() ;
1372 virtual ::Recipes& getRecipes()
const ;
1374 virtual ::BlockReducer* getBlockReducer()
const ;
1376 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1378 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1380 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1382 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1384 virtual ::BlockType
const& getRegisteredBorderBlock()
const ;
1386 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1387 getLevelChunkPerformanceTelemetry() ;
1389 virtual ::cereal::ReflectionCtx& cerealContext() ;
1391 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1393 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1395 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1401 virtual ::MolangPackSettingsCache
const* getMolangPackSettingsCache()
const ;
1403 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1405 virtual void _initializeMapDataManager();
1407 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1409 virtual void _onLowMemory() ;
1417 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1419 MCAPI
void _initializeActorManager();
1421 MCAPI
void _initializeBiomeManager();
1423 MCAPI
void _initializeEventCoordinatorManager();
1425 MCAPI
void _initializeGameplayUserManager();
1427 MCAPI
void _initializeLevelChunkEventManager();
1429 MCAPI
void _initializeLevelChunkSaveManager();
1431 MCAPI
void _initializeLevelEventManager();
1433 MCAPI
void _initializeLevelStorageManager();
1435 MCAPI
void _initializeParticleProvider();
1437 MCAPI
void _onAddBiomeTintedParticleEffect(
1441 ::std::optional<::mce::Color> overrideColor
1444 MCAPI
void _onAddBreakingItemParticleEffect(
1450 MCAPI
void _onAddTerrainParticleEffect(
1453 ::Vec3 const& emitterPosition,
1454 float particleCount,
1455 float velocityScalar,
1459 MCAPI
void _onAddTerrainSlideEffect(
1462 ::Vec3 const& emitterPosition,
1463 float particleCount,
1464 float velocityScalar,
1468 MCAPI
void _onAnyGameplayUsersRemoved();
1470 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1480 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1482 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1484 MCAPI
void _onPictureTaken(
1492 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1494 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1496 MCAPI
void _setIsTearingDown();
1498 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1501 MCAPI
void earlyShutdownMainthread();
1503 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1505 MCAPI_S ::Bedrock::NotNullNonOwnerPtr<::EventCoordinatorManager> getEventCoordinatorManager();
1507 MCAPI_C ::NpcEventCoordinator& getNpcEventCoordinator();
1509 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1511 MCAPI
void setShapeRegistry(::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> registry);
1517 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1523 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1525 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1526 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1545 MCAPI
bool $initialize(
1546 ::std::string
const& levelName,
1549 ::std::string
const* levelId,
1550 ::std::optional<::std::reference_wrapper<
1551 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
1552 biomeIdToResolvedData
1555 MCAPI
void $startLeaveGame();
1557 MCAPI
bool $isLeaveGameDone();
1559 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(::DimensionType dimensionType);
1561 MCAPI ::WeakRef<::Dimension> $getDimension(::DimensionType
id)
const;
1563 MCAPI ::DimensionType $getLastOrDefaultSpawnDimensionId(::DimensionType lastDimensionId)
const;
1565 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1567 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1569 MCAPI uint $getChunkTickRange()
const;
1571 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1573 MCAPI ::PortalForcer& $getPortalForcer();
1577 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1579 MCAPI
void $entityChangeDimension(
::Actor& entity, ::DimensionType toId, ::std::optional<::Vec3> entityPos);
1581 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1583 MCFOLD ::Spawner& $getSpawner()
const;
1585 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1587 MCFOLD ::ProjectileFactory& $getProjectileFactory()
const;
1589 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions()
const;
1591 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
1593 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
1595 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1597 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
1599 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
1601 MCFOLD ::CameraPresets& $getCameraPresets();
1603 MCAPI ::SharedTypes::v1_21_90::CameraPreset
const* $getCameraPreset(
int presetIndex)
const;
1605 MCAPI
bool $getDisablePlayerInteractions()
const;
1607 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
1609 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
1611 MCAPI ::BehaviorFactory& $getBehaviorFactory()
const;
1613 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty()
const;
1615 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
1617 MCAPI
float $getSpecialMultiplier(::DimensionType dimensionType)
const;
1619 MCAPI
bool $hasCommandsEnabled()
const;
1621 MCAPI
bool $useMsaGamertagsOnly()
const;
1623 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
1627 MCAPI ::Actor* $putEntity(
1646 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
1648 MCAPI
void $suspendPlayer(
::Player& player);
1650 MCAPI
void $resumePlayer(
::Player& player);
1652 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
1654 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
1656 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
1658 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
1660 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
1662 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
1666 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1668 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1670 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
1672 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
1674 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
1676 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
1680 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
1682 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
1686 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
1688 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
1690 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
1694 MCAPI
int $getNumRemotePlayers()
const;
1696 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
1698 MCAPI ::IMinecraftEventing& $getEventing();
1700 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
1702 MCAPI ::Tick
const& $getCurrentTick()
const;
1704 MCAPI ::Tick
const $getCurrentServerTick()
const;
1706 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
1708 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
1710 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> $getContainerRegistryAccess()
const;
1712 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> $getContainerRegistryTracker()
const;
1714 MCAPI ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> $getDynamicContainerSerialization()
const;
1716 MCAPI ::VoxelShapes::VoxelShapeRegistry
const* $getShapeRegistry()
const;
1718 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
1720 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
1722 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
1724 MCFOLD ::BlockPalette& $getBlockPalette();
1726 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
1728 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
1730 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
1732 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
1734 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
1736 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
1738 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
1740 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
1742 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
1744 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
1746 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
1748 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
1750 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
1752 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
1754 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
1756 MCAPI ::BiomeManager& $getBiomeManager();
1758 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& $getDimensionFactory()
const;
1760 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
1762 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
1763 $getLightTextureImageBuilderFactory()
const;
1765 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
1767 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
1769 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
1771 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
1777 MCAPI
void $tickEntities();
1779 MCAPI
void $tickEntitySystems();
1785 MCAPI
bool $explode(
1789 float explosionRadius,
1792 float maxResistance,
1793 bool allowUnderwater
1800 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
1804 MCAPI ::std::unique_ptr<::Path>
1811 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
1813 MCAPI
void $updateSleepingPlayerList();
1815 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
1817 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
1819 MCAPI
int $getTime()
const;
1821 MCAPI
void $setTime(
int time);
1823 MCAPI uint $getSeed();
1825 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
1827 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
1829 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
1831 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
1834 MCAPI
void $setDefaultGameType(::GameType gameType);
1837 MCAPI
void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
1839 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
1841 MCAPI
bool $getMultiplayerGameIntent()
const;
1843 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
1845 MCAPI
bool $isMultiplayerGame()
const;
1847 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
1849 MCAPI
bool $getLANBroadcastIntent()
const;
1851 MCAPI
void $setLANBroadcast(
bool broadcast);
1853 MCAPI
bool $getLANBroadcast()
const;
1855 MCAPI
void $setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1857 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent()
const;
1859 MCAPI
bool $hasXBLBroadcastIntent()
const;
1861 MCAPI
void $setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode);
1863 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode()
const;
1865 MCAPI
bool $hasXBLBroadcast()
const;
1867 MCAPI
void $setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1869 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent()
const;
1871 MCAPI
bool $hasPlatformBroadcastIntent()
const;
1873 MCAPI
void $setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode);
1875 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode()
const;
1877 MCAPI
bool $hasPlatformBroadcast()
const;
1879 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
1881 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
1883 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
1885 MCAPI
void $setWorldTemplateOptionsUnlocked();
1887 MCAPI
bool $hasLevelStorage()
const;
1889 MCFOLD ::LevelStorage& $getLevelStorage();
1891 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
1893 MCFOLD ::LevelData& $getLevelData();
1895 MCFOLD ::LevelData
const& $getLevelData()
const;
1897 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
1899 MCAPI
void $createPhotoStorage();
1901 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
1903 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
1905 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
1907 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
1911 MCAPI
void $saveLevelData();
1913 MCAPI
void $saveGameData();
1915 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
1917 MCAPI ::TickingAreasManager& $getTickingAreasMgr();
1920 $addTickingAreaList(::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
1923 MCAPI
void $playSound(
1924 ::SharedTypes::Legacy::LevelSoundEvent type,
1932 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
1935 MCAPI
void $playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch);
1938 MCAPI
void $playSound(
1940 ::SharedTypes::Legacy::LevelSoundEvent type,
1947 MCAPI
void $playSound(
1948 ::DimensionType dimension,
1949 ::SharedTypes::Legacy::LevelSoundEvent type,
1957 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
1959 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
1961 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
1963 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
1965 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
1967 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
1969 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
1971 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
1973 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
1975 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
1977 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
1979 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
1981 MCAPI
void $handleStopAllSounds();
1983 MCAPI
void $handleStopMusicEvent();
1986 MCAPI
void $broadcastSoundEvent(
1988 ::SharedTypes::Legacy::LevelSoundEvent type,
1995 MCAPI
void $broadcastSoundEvent(
1997 ::SharedTypes::Legacy::LevelSoundEvent type,
2004 MCAPI
void $broadcastSoundEvent(
2006 ::SharedTypes::Legacy::LevelSoundEvent type,
2014 MCAPI
void $broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const;
2016 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2018 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2020 MCAPI
void $onChunkReload(
::Bounds const& bound);
2022 MCAPI
int $getActivePlayerCount()
const;
2024 MCAPI
int $getActiveUsersCount()
const;
2026 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2028 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2030 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2032 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2034 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2036 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2038 MCAPI
int $getUserCount()
const;
2042 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2044 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2050 MCFOLD
void $onSubChunkLoaded(
2053 short absoluteSubChunkIndex,
2054 bool subChunkVisibilityChanged
2057 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2063 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2067 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2071 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2073 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2075 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2077 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2079 MCAPI
void $forceFlushRemovedPlayers();
2081 MCFOLD
void $loadFunctionManager();
2085 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2087 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2089 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2091 MCAPI
bool $destroyBlock(
2098 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2100 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2102 MCAPI
void $suspendAndSave();
2104 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2106 MCAPI ::Particle* $addParticle(
2116 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2118 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2120 MCAPI
void $addParticleEffect(
2122 ::Vec3 const& emitterPosition,
2126 MCAPI
void $addTerrainParticleEffect(
2129 ::Vec3 const& emitterPosition,
2131 float velocityScalar,
2135 MCAPI
void $addTerrainSlideEffect(
2138 ::Vec3 const& emitterPosition,
2140 float velocityScalar,
2144 MCAPI
void $addBreakingItemParticleEffect(
2150 MCAPI
void $addBiomeTintedParticleEffect(
2154 ::std::optional<::mce::Color> overrideColor
2157 MCAPI ::ActorUniqueID $getNewUniqueID();
2159 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2161 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2163 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2165 MCAPI ::std::vector<::ChunkPos>
2166 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2168 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2170 MCAPI
bool $isExporting()
const;
2172 MCAPI
void $setIsExporting(
bool IsExporting);
2174 MCAPI ::SavedDataStorage& $getSavedData();
2176 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2178 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2180 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2182 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2184 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2188 MCAPI ::MapItemSavedData& $createMapSavedData(
2191 ::DimensionType dimension,
2192 int returnScaleLevel
2195 MCAPI ::MapItemSavedData& $createMapSavedData(
2196 ::std::vector<::ActorUniqueID>
const& mapIds,
2198 ::DimensionType dimension,
2199 int returnScaleLevel
2202 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2204 MCAPI ::std::string $getLevelId()
const;
2206 MCAPI
void $setLevelId(::std::string LevelId);
2208 MCAPI ::TaskGroup& $getSyncTasksGroup();
2210 MCFOLD ::TaskGroup& $getIOTasksGroup();
2212 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2214 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2216 MCFOLD ::TradeTables* $getTradeTables();
2218 MCFOLD
void $decrementTagCache(
2219 ::std::string
const& tag,
2223 MCFOLD
void $incrementTagCache(
2224 ::std::string
const& tag,
2228 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2230 MCAPI
bool $isEdu()
const;
2232 MCFOLD ::ActorFactory& $getActorFactory();
2234 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2236 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2238 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2240 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2242 MCAPI ::EntitySystems& $getEntitySystems();
2244 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2246 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2248 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2250 MCFOLD
void $runCommand(
2253 ::CommandOriginSystem originSystem,
2254 ::CurrentCmdVersion
const commandVersion
2259 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2263 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2267 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2269 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2270 $getPlayerMovementSettingsManager()
const;
2272 MCFOLD
bool $canUseSkin(
2278 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2280 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2282 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2284 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2286 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2288 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2290 MCAPI
void $flushRunTimeLighting();
2292 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2294 MCAPI
void $initializeBlockDefinitionGroup();
2296 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2298 MCAPI
bool $isClientSideGenerationEnabled();
2300 MCAPI
bool $blockNetworkIdsAreHashes();
2302 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2304 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry()
const;
2306 MCFOLD ::Level* $asLevel();
2308 MCAPI
bool $use3DBiomeMaps()
const;
2310 MCAPI
void $pauseAndFlushTaskGroups();
2312 MCFOLD ::DimensionManager& $getDimensionManager();
2314 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2316 MCFOLD
void $subChunkTickAndSendRequests();
2318 MCAPI
void $_subTick();
2320 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2322 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2324 MCAPI
bool $isClientSide()
const;
2326 MCAPI ::SubClientId $getSubClientId()
const;
2328 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2330 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2332 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2334 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2336 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2338 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2342 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2344 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2346 MCFOLD ::PacketSender* $getPacketSender()
const;
2348 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2352 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2354 MCAPI ::IRandom& $getIRandom()
const;
2356 MCAPI ::Random& $getRandom()
const;
2358 MCFOLD ::Random& $getThreadRandom()
const;
2360 MCAPI ::HitResult& $getHitResult();
2362 MCAPI ::HitResult& $getLiquidHitResult();
2364 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2366 MCFOLD ::std::string
const& $getImmersiveReaderString()
const;
2368 MCAPI
void $setImmersiveReaderString(::std::string newString);
2370 MCAPI ::AdventureSettings& $getAdventureSettings();
2372 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2374 MCAPI ::GameRules
const& $getGameRules()
const;
2376 MCAPI ::GameRules& $getGameRules();
2378 MCAPI
bool $hasStartWithMapEnabled()
const;
2380 MCAPI
bool $isEditorWorld()
const;
2382 MCAPI
bool $isHardcore()
const;
2384 MCAPI ::Abilities& $getDefaultAbilities();
2386 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2388 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2390 MCFOLD
bool $getTearingDown()
const;
2392 MCAPI
void $takePicture(
2400 MCFOLD ::LevelSoundManager& $getLevelSoundManager();
2402 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2404 MCAPI
void $setSimPaused(
bool value);
2406 MCAPI
bool $getSimPaused();
2408 MCAPI
void $setFinishedInitializing();
2410 MCFOLD ::LootTables& $getLootTables();
2412 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2414 MCAPI
int $getNetherScale()
const;
2416 MCFOLD ::Scoreboard& $getScoreboard();
2418 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2420 MCFOLD ::Scoreboard* $tryGetScoreboard();
2422 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2426 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2428 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2430 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2432 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2434 MCFOLD ::Recipes& $getRecipes()
const;
2436 MCAPI ::BlockReducer* $getBlockReducer()
const;
2438 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2440 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2442 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2444 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2446 MCAPI ::BlockType
const& $getRegisteredBorderBlock()
const;
2448 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2450 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2452 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2454 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2456 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2462 MCAPI ::MolangPackSettingsCache
const* $getMolangPackSettingsCache()
const;
2464 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2466 MCAPI
void $_initializeMapDataManager();
2468 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2470 MCAPI
void $_onLowMemory();
2473 MCAPI ::GameType $getDefaultGameType()
const;