244 using RegionSet = ::std::unordered_set<::BlockSource*>;
249 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
251 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
252 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
253 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
254 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
255 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
256 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
257 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
258 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
259 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
260 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
261 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
262 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
263 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
264 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
265 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
266 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
267 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
268 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
269 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
270 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
271 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
272 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
273 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
274 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
275 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
276 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::BlockTypeRegistry>> mBlockRegistry;
277 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
278 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
279 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
280 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
281 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
282 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
283 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
284 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
285 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
286 ::ll::TypedStorage<1, 1, bool> mIsExporting;
287 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
288 ::ll::TypedStorage<1, 1, bool> mSimPaused;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
290 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
291 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
292 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
293 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
294 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
295 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
296 ::ll::TypedStorage<1, 1, bool> mTearingDown;
297 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
298 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
299 mEventCoordinatorManager;
300 ::ll::TypedStorage<8, 768, ::LevelSoundManager> mLevelSoundManager;
301 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
302 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
303 mLevelChunkPerformanceTelemetry;
304 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
305 ::ll::TypedStorage<8, 8, ::BlockLegacy const*> mRegisteredBorderBlock;
306 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
307 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
308 mJigsawStructureRegistry;
309 ::ll::TypedStorage<8, 128, ::StructureSpawnRegistry> mStructureSpawnRegistry;
310 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionFactory>>> mDimensionFactory;
311 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionManager>>> mDimensionManager;
312 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
313 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
314 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
315 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
316 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
317 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
318 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
319 mLightTextureImageBuilderFactory;
320 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
321 mEducationSettingsManager;
322 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
323 ::ll::TypedStorage<1, 8, ::BlockActorLevelListener> mBlockActorLevelListener;
324 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
325 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
326 mPositionTrackerDBClient;
327 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
328 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
329 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
330 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
331 mActorGarbageCollector;
332 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
333 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
334 ::ll::TypedStorage<8, 168, ::AutonomousActorManager> mAutonomousActorManager;
335 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
336 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
337 mGameplayUserManager;
338 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
339 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
340 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
341 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
342 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
343 mActorRuntimeIDManager;
344 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
345 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
346 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
347 ::ll::TypedStorage<8, 64, ::PlayerTickManager> mPlayerTickManager;
348 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
349 mServerParticleManager;
350 ::ll::TypedStorage<8, 648, ::ParticleProvider> mParticleProvider;
351 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
352 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
353 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
354 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
355 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
356 ::ll::TypedStorage<8, 24, ::ChunkTickRangeManager> mChunkTickRangeManager;
357 ::ll::TypedStorage<8, 72, ::ChunkViewTrackerManager> mChunkViewTrackerManager;
358 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
359 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
360 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
361 mPlayerDimensionTransferManager;
362 ::ll::TypedStorage<1, 16, ::LevelCrashDumpManager const> mLevelCrashDumpManager;
363 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
364 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
365 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
366 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
367 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
368 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
369 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
370 mChunkTickOffsetManager;
371 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
372 mPlayerMovementSettingsManager;
373 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
374 mPlayerAbilitiesManager;
375 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
376 mPlayerPermissionsManager;
377 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
378 mPlayerPermissionsSynchroniser;
379 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
380 mLevelChunkEventManager;
381 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
382 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
383 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
384 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
385 mActorDimensionTransferManager;
386 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
387 mLevelBlockDestroyer;
388 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
389 mTickDeltaTimeManager;
390 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::TickTimeManager>>> mTickTimeManager;
391 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::BlockSourceValidityManager>>>
392 mBlockSourceValidityManager;
393 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
395 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
396 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
397 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
413 virtual bool initialize(
414 ::std::string
const& levelName,
417 ::std::string
const* levelId
421 virtual void startLeaveGame() ;
424 virtual bool isLeaveGameDone() ;
427 virtual ::WeakRef<::Dimension> getOrCreateDimension(
::DimensionType dimensionType) ;
430 virtual ::WeakRef<::Dimension> getDimension(
::DimensionType id)
const ;
433 virtual ::DimensionType getLastOrDefaultSpawnDimensionId(
::DimensionType lastDimensionId)
const ;
436 virtual void forEachDimension(::std::function<
bool(
::Dimension&)> callback) ;
439 virtual void forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const ;
442 virtual uint getChunkTickRange()
const ;
445 virtual ::ChunkTickRangeManager
const& getChunkTickRangeManager()
const ;
448 virtual ::PortalForcer& getPortalForcer() ;
454 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
455 getPlayerDimensionTransferManager() ;
462 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
463 getActorDimensionTransferManager() ;
466 virtual ::Spawner& getSpawner()
const ;
469 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
470 getBossEventSubscriptionManager() ;
473 virtual ::ProjectileFactory& getProjectileFactory()
const ;
476 virtual ::ActorDefinitionGroup* getEntityDefinitions()
const ;
479 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup()
const ;
482 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup()
const
486 virtual ::BlockDefinitionGroup* getBlockDefinitions()
const ;
489 virtual ::PropertyGroupManager& getActorPropertyGroup()
const ;
492 virtual ::CameraPresets
const& getCameraPresets()
const ;
495 virtual ::CameraPresets& getCameraPresets() ;
498 virtual bool getDisablePlayerInteractions()
const ;
501 virtual void setDisablePlayerInteractions(
bool const disable) ;
504 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup()
const ;
507 virtual ::BehaviorFactory& getBehaviorFactory()
const ;
510 virtual ::SharedTypes::Legacy::Difficulty getDifficulty()
const ;
513 virtual ::DimensionConversionData getDimensionConversionData()
const ;
516 virtual float getSpecialMultiplier(
::DimensionType dimensionType)
const ;
519 virtual bool hasCommandsEnabled()
const ;
522 virtual bool useMsaGamertagsOnly()
const ;
525 virtual void setMsaGamertagsOnly(
bool msaGamertagsOnly) ;
546 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() ;
549 virtual void suspendPlayer(
::Player& player) ;
552 virtual void resumePlayer(
::Player& player) ;
555 virtual bool isPlayerSuspended(
::Player& player)
const ;
558 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() ;
561 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager()
const ;
564 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() ;
567 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(
::WeakEntityRef entityRef) ;
570 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef) ;
576 virtual ::StrictEntityContext fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
579 virtual ::Actor* fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
582 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher()
const ;
585 virtual ::Actor* getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const ;
588 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() ;
591 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager()
const ;
597 virtual ::Player* getPlayer(::std::string
const& name)
const ;
600 virtual ::Player* getPlayer(
::mce::UUID const& uuid)
const ;
606 virtual ::Player* getPlayerByXuid(::std::string
const& xuid)
const ;
609 virtual ::Player* getPlatformPlayer(::std::string
const& platformOnlineId)
const ;
612 virtual ::Player* getPlayerFromServerId(::std::string
const& serverId)
const ;
618 virtual int getNumRemotePlayers()
const ;
621 virtual ::Player* getPrimaryLocalPlayer()
const ;
624 virtual ::IMinecraftEventing& getEventing() ;
627 virtual ::mce::Color getPlayerColor(
::Player const& player)
const ;
630 virtual ::Tick
const& getCurrentTick()
const ;
633 virtual ::Tick
const getCurrentServerTick()
const ;
636 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager()
const ;
639 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
642 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
645 virtual ::BiomeRegistry& getBiomeRegistry() ;
648 virtual ::BlockPalette
const& getBlockPalette()
const ;
651 virtual ::BlockPalette& getBlockPalette() ;
654 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
657 virtual ::FeatureRegistry& getFeatureRegistry() ;
660 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
663 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
666 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
669 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
672 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
675 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
678 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
681 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
684 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
687 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
690 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
693 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
696 virtual ::BiomeManager
const& getBiomeManager()
const ;
699 virtual ::BiomeManager& getBiomeManager() ;
702 virtual ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>
const& getDimensionFactory()
const ;
705 virtual ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>& getDimensionFactory() ;
708 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
709 getLightTextureImageBuilderFactory()
const ;
712 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
713 getLightTextureImageBuilderFactory() ;
716 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
719 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
722 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
731 virtual void tickEntities() ;
734 virtual void tickEntitySystems() ;
740 virtual void tick() ;
743 virtual bool explode(
747 float explosionRadius,
761 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
767 virtual ::std::unique_ptr<::Path>
771 virtual ::std::unique_ptr<::Path>
778 virtual ::PlayerSleepStatus getSleepStatus()
const ;
781 virtual void updateSleepingPlayerList() ;
784 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
787 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
790 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
793 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
797 virtual int getTime()
const ;
800 virtual void setTime(
int time) ;
803 virtual uint getSeed() ;
806 virtual ::LevelSeed64 getLevelSeed64()
const ;
809 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
812 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
815 virtual ::BlockPos
const& getDefaultSpawn()
const ;
818 virtual void setDefaultGameType(::GameType gameType) ;
821 virtual ::GameType getDefaultGameType()
const ;
824 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty) ;
827 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
830 virtual bool getMultiplayerGameIntent()
const ;
833 virtual void setMultiplayerGame(
bool multiplayerGame) ;
836 virtual bool isMultiplayerGame()
const ;
839 virtual void setLANBroadcastIntent(
bool broadcast) ;
842 virtual bool getLANBroadcastIntent()
const ;
845 virtual void setLANBroadcast(
bool broadcast) ;
848 virtual bool getLANBroadcast()
const ;
851 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting) ;
854 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
857 virtual bool hasXBLBroadcastIntent()
const ;
860 virtual void setXBLBroadcastMode(::Social::GamePublishSetting) ;
863 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
866 virtual bool hasXBLBroadcast()
const ;
869 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting) ;
872 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
875 virtual bool hasPlatformBroadcastIntent()
const ;
878 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting) ;
881 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
884 virtual bool hasPlatformBroadcast()
const ;
887 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
890 virtual void setHasLockedResourcePack(
bool hasLocked) ;
893 virtual void setCommandsEnabled(
bool commandsEnabled) ;
896 virtual void setWorldTemplateOptionsUnlocked() ;
899 virtual bool hasLevelStorage()
const ;
902 virtual ::LevelStorage& getLevelStorage() ;
905 virtual ::LevelStorage
const& getLevelStorage()
const ;
908 virtual ::LevelData& getLevelData() ;
911 virtual ::LevelData
const& getLevelData()
const ;
914 virtual ::PhotoStorage& getPhotoStorage()
const ;
917 virtual void createPhotoStorage() ;
920 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
923 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
929 virtual ::std::optional<::EducationLevelSettings>
const& getEducationLevelSettings()
const ;
932 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
935 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
939 virtual void save() ;
942 virtual void saveLevelData() ;
945 virtual void saveGameData() ;
948 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
951 virtual ::TickingAreasManager& getTickingAreasMgr() ;
954 virtual void addTickingAreaList(
956 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
960 virtual void playSound(
961 ::SharedTypes::Legacy::LevelSoundEvent type,
969 virtual void playSound(
970 ::SharedTypes::Legacy::LevelSoundEvent type,
977 virtual void playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch) ;
980 virtual void playSound(
982 ::SharedTypes::Legacy::LevelSoundEvent type,
990 virtual void playSound(
992 ::SharedTypes::Legacy::LevelSoundEvent type,
1000 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
1003 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
1006 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
1009 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
1012 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
1015 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
1018 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
1021 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
1024 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
1027 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
1030 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
1033 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
1036 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
1039 virtual void handleStopSoundEvent(::std::string
const& name) ;
1042 virtual void handleStopAllSounds() ;
1045 virtual void handleStopMusicEvent() ;
1048 virtual void broadcastLevelEvent(
1049 ::SharedTypes::Legacy::LevelEvent type,
1056 virtual void broadcastLevelEvent(
1057 ::SharedTypes::Legacy::LevelEvent type,
1063 virtual void broadcastLocalEvent(
1065 ::SharedTypes::Legacy::LevelEvent type,
1071 virtual void broadcastLocalEvent(
1073 ::SharedTypes::Legacy::LevelEvent type,
1079 virtual void broadcastSoundEvent(
1081 ::SharedTypes::Legacy::LevelSoundEvent type,
1089 virtual void broadcastSoundEvent(
1091 ::SharedTypes::Legacy::LevelSoundEvent type,
1099 virtual void broadcastSoundEvent(
1101 ::SharedTypes::Legacy::LevelSoundEvent type,
1109 virtual void broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const ;
1112 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
1115 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
1118 virtual void onChunkReload(
::Bounds const& bound) ;
1121 virtual int getActivePlayerCount()
const ;
1124 virtual int getActiveUsersCount()
const ;
1127 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
1130 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
1133 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
1136 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
1139 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
1142 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
1145 virtual int getUserCount()
const ;
1151 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
1154 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
1163 virtual void onSubChunkLoaded(
1166 short absoluteSubChunkIndex,
1167 bool subChunkVisibilityChanged
1171 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
1180 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
1186 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1192 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1195 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1198 virtual void forceRemoveEntity(
::Actor& actor) ;
1201 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1204 virtual void forceFlushRemovedPlayers() ;
1207 virtual void loadFunctionManager() ;
1213 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1216 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1219 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1225 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1228 virtual void upgradeStorageVersion(::StorageVersion v) ;
1231 virtual void suspendAndSave() ;
1235 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1238 virtual ::Particle* addParticle(
1248 virtual void spawnParticleEffect(
1249 ::std::string
const& effectName,
1250 ::Vec3 const& spawnLocation,
1255 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1258 virtual void addParticleEffect(
1260 ::Vec3 const& emitterPosition,
1265 virtual void addTerrainParticleEffect(
1268 ::Vec3 const& emitterPosition,
1270 float velocityScalar,
1275 virtual void addTerrainSlideEffect(
1278 ::Vec3 const& emitterPosition,
1280 float velocityScalar,
1285 virtual void addBreakingItemParticleEffect(
1292 virtual void addBiomeTintedParticleEffect(
1296 ::std::optional<::mce::Color> overrideColor
1300 virtual ::ActorUniqueID getNewUniqueID() ;
1303 virtual ::ActorRuntimeID getNextRuntimeID() ;
1306 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1309 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1312 virtual ::std::vector<::ChunkPos>
1313 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1316 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1320 virtual bool isExporting()
const ;
1323 virtual void setIsExporting(
bool IsExporting) ;
1326 virtual ::SavedDataStorage& getSavedData() ;
1329 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1332 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1335 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1338 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1341 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1347 virtual ::MapItemSavedData& createMapSavedData(
1351 int returnScaleLevel
1355 virtual ::MapItemSavedData& createMapSavedData(
1356 ::std::vector<::ActorUniqueID>
const& mapIds,
1359 int returnScaleLevel
1363 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1366 virtual ::std::string getLevelId()
const ;
1369 virtual void setLevelId(::std::string LevelId) ;
1372 virtual ::TaskGroup& getSyncTasksGroup() ;
1375 virtual ::TaskGroup& getIOTasksGroup() ;
1378 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1381 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1384 virtual ::TradeTables* getTradeTables() ;
1387 virtual void decrementTagCache(
1388 ::std::string
const& tag,
1393 virtual void incrementTagCache(
1394 ::std::string
const& tag,
1399 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1402 virtual bool isEdu()
const ;
1405 virtual ::ActorFactory& getActorFactory() ;
1408 virtual ::ActorFactory
const& getActorFactory()
const ;
1411 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1414 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1417 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1420 virtual ::EntitySystems& getEntitySystems() ;
1423 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1426 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1429 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1433 virtual void runCommand(
1436 ::CommandOriginSystem originSystem,
1437 ::CurrentCmdVersion
const commandVersion
1445 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1451 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1457 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1458 getPlayerMovementSettingsManager() ;
1461 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1462 getPlayerMovementSettingsManager()
const ;
1465 virtual bool canUseSkin(
1472 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1475 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1478 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1481 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1484 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1487 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1490 virtual void flushRunTimeLighting() ;
1493 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1496 virtual void initializeBlockDefinitionGroup() ;
1499 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1502 virtual bool isClientSideGenerationEnabled() ;
1505 virtual bool blockNetworkIdsAreHashes() ;
1508 virtual ::ItemRegistryRef getItemRegistry()
const ;
1511 virtual ::std::weak_ptr<::BlockTypeRegistry> getBlockRegistry()
const ;
1514 virtual ::Level* asLevel() ;
1517 virtual bool use3DBiomeMaps()
const ;
1520 virtual void addBlockSourceForValidityTracking(
::BlockSource* region) ;
1523 virtual void removeBlockSourceFromValidityTracking(
::BlockSource* region) ;
1526 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockSourceValidityManager> getBlockSourceValidityManager() ;
1529 virtual void pauseAndFlushTaskGroups() ;
1532 virtual ::DimensionManager& getDimensionManager() ;
1535 virtual ::DimensionManager
const& getDimensionManager()
const ;
1538 virtual void subChunkTickAndSendRequests() ;
1541 virtual void _subTick();
1544 virtual ::StackRefResult<::PauseManager> getPauseManager() ;
1547 virtual ::StackRefResult<::PauseManager const> getPauseManager()
const ;
1550 virtual bool isClientSide()
const ;
1553 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& getPlayerList()
const ;
1556 virtual ::std::string
const& getPlayerXUID(
::mce::UUID const& uuid)
const ;
1559 virtual ::std::string
const& getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const ;
1562 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() ;
1565 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager()
const ;
1568 virtual ::std::vector<::WeakEntityRef>
const& getActiveUsers()
const ;
1571 virtual void notifySubChunkRequestManager(
::SubChunkPacket const& packet) ;
1574 virtual ::SubChunkRequestManager* getSubChunkRequestManager() ;
1577 virtual ::std::vector<::Actor*> getRuntimeActorList()
const ;
1580 virtual ::PacketSender* getPacketSender()
const ;
1583 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback()
const ;
1589 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() ;
1592 virtual ::IRandom& getIRandom()
const ;
1595 virtual ::Random& getRandom()
const ;
1598 virtual ::Random& getThreadRandom()
const ;
1601 virtual ::HitResult& getHitResult() ;
1604 virtual ::HitResult& getLiquidHitResult() ;
1607 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() ;
1610 virtual ::std::string
const& getImmersiveReaderString()
const ;
1613 virtual void setImmersiveReaderString(::std::string newString) ;
1616 virtual ::AdventureSettings& getAdventureSettings() ;
1619 virtual ::AdventureSettings
const& getAdventureSettings()
const ;
1622 virtual ::GameRules
const& getGameRules()
const ;
1625 virtual ::GameRules& getGameRules() ;
1628 virtual bool hasStartWithMapEnabled()
const ;
1631 virtual bool isEditorWorld()
const ;
1634 virtual bool isHardcore()
const ;
1637 virtual ::Abilities& getDefaultAbilities() ;
1640 virtual ::PermissionsHandler& getDefaultPermissions() ;
1643 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1646 virtual bool getTearingDown()
const ;
1649 virtual void takePicture(
1658 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelSoundManager> getLevelSoundManager() ;
1661 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1664 virtual void setSimPaused(
bool value) ;
1667 virtual bool getSimPaused() ;
1670 virtual void setFinishedInitializing() ;
1673 virtual ::LootTables& getLootTables() ;
1676 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1679 virtual int getNetherScale()
const ;
1682 virtual ::Scoreboard& getScoreboard() ;
1685 virtual ::Scoreboard
const& getScoreboard()
const ;
1688 virtual ::Scoreboard* tryGetScoreboard() ;
1691 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1697 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1700 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1703 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1706 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1707 getPlayerPermissionsSynchroniser() ;
1710 virtual ::Recipes& getRecipes()
const ;
1713 virtual ::BlockReducer* getBlockReducer()
const ;
1716 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1719 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1722 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1725 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1728 virtual ::BlockLegacy
const& getRegisteredBorderBlock()
const ;
1731 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1732 getLevelChunkPerformanceTelemetry() ;
1735 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1738 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1741 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1744 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1747 virtual void _initializeMapDataManager();
1750 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1753 virtual void _onLowMemory() ;
1760 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1761 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface>
const& soundPlayer,
1763 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1766 ::SubClientId subClientId,
1768 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1770 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>
const& entityRegistryOwner,
1773 ::std::weak_ptr<::BlockTypeRegistry> blockRegistry,
1774 bool clientSideChunkGenerationEnabled,
1775 bool blockNetworkIdsAreHashes,
1777 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1781 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1783 MCAPI
void _initializeActorManager();
1785 MCAPI
void _initializeBiomeManager();
1787 MCAPI
void _initializeEventCoordinatorManager();
1789 MCAPI
void _initializeGameplayUserManager();
1791 MCAPI
void _initializeLevelChunkEventManager();
1793 MCAPI
void _initializeLevelEventManager();
1795 MCAPI
void _initializeParticleProvider();
1797 MCAPI
void _onAddBiomeTintedParticleEffect(
1801 ::std::optional<::mce::Color> overrideColor
1804 MCAPI
void _onAddBreakingItemParticleEffect(
1810 MCAPI
void _onAddTerrainParticleEffect(
1813 ::Vec3 const& emitterPosition,
1814 float particleCount,
1815 float velocityScalar,
1819 MCAPI
void _onAddTerrainSlideEffect(
1822 ::Vec3 const& emitterPosition,
1823 float particleCount,
1824 float velocityScalar,
1828 MCAPI
void _onAnyGameplayUsersRemoved();
1830 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1840 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1842 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1844 MCAPI
void _onPictureTaken(
1852 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1854 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1856 MCAPI
void earlyShutdownMainthread();
1858 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1860 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1866 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1872 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1874 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1875 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1883 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1884 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface>
const& soundPlayer,
1886 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1889 ::SubClientId subClientId,
1891 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1893 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>
const& entityRegistryOwner,
1896 ::std::weak_ptr<::BlockTypeRegistry> blockRegistry,
1897 bool clientSideChunkGenerationEnabled,
1898 bool blockNetworkIdsAreHashes,
1900 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1914 MCAPI
bool $initialize(
1915 ::std::string
const& levelName,
1918 ::std::string
const* levelId
1921 MCAPI
void $startLeaveGame();
1923 MCAPI
bool $isLeaveGameDone();
1925 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(
::DimensionType dimensionType);
1929 MCAPI ::DimensionType $getLastOrDefaultSpawnDimensionId(
::DimensionType lastDimensionId)
const;
1931 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1933 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1935 MCAPI uint $getChunkTickRange()
const;
1937 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1939 MCAPI ::PortalForcer& $getPortalForcer();
1943 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1945 MCAPI
void $entityChangeDimension(
::Actor& entity,
::DimensionType toId, ::std::optional<::Vec3> entityPos);
1947 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1949 MCAPI ::Spawner& $getSpawner()
const;
1951 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1953 MCFOLD ::ProjectileFactory& $getProjectileFactory()
const;
1955 MCAPI ::ActorDefinitionGroup* $getEntityDefinitions()
const;
1957 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
1959 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
1961 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1963 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
1965 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
1967 MCFOLD ::CameraPresets& $getCameraPresets();
1969 MCAPI
bool $getDisablePlayerInteractions()
const;
1971 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
1973 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
1975 MCFOLD ::BehaviorFactory& $getBehaviorFactory()
const;
1977 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
1979 MCAPI
float $getSpecialMultiplier(
::DimensionType dimensionType)
const;
1981 MCAPI
bool $hasCommandsEnabled()
const;
1983 MCAPI
bool $useMsaGamertagsOnly()
const;
1985 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
1999 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
2001 MCAPI
void $suspendPlayer(
::Player& player);
2003 MCAPI
void $resumePlayer(
::Player& player);
2005 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
2007 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
2009 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
2011 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
2013 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
2015 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
2019 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
2021 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
2023 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
2025 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
2027 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
2029 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
2033 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
2035 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
2039 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
2041 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
2043 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
2047 MCAPI
int $getNumRemotePlayers()
const;
2049 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
2051 MCAPI ::IMinecraftEventing& $getEventing();
2053 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
2055 MCAPI ::Tick
const& $getCurrentTick()
const;
2057 MCAPI ::Tick
const $getCurrentServerTick()
const;
2059 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
2061 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
2063 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
2065 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
2067 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
2069 MCFOLD ::BlockPalette& $getBlockPalette();
2071 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
2073 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
2075 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
2077 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
2079 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
2081 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
2083 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
2085 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
2087 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
2089 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
2091 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
2093 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
2095 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
2097 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
2099 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
2101 MCAPI ::BiomeManager& $getBiomeManager();
2103 MCFOLD ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>
const& $getDimensionFactory()
const;
2105 MCFOLD ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>& $getDimensionFactory();
2107 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
2108 $getLightTextureImageBuilderFactory()
const;
2110 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
2112 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
2114 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
2116 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
2122 MCAPI
void $tickEntities();
2124 MCAPI
void $tickEntitySystems();
2130 MCAPI
bool $explode(
2134 float explosionRadius,
2137 float maxResistance,
2138 bool allowUnderwater
2145 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
2149 MCAPI ::std::unique_ptr<::Path>
2156 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
2158 MCAPI
void $updateSleepingPlayerList();
2160 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
2162 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
2164 MCAPI
int $getTime()
const;
2166 MCAPI
void $setTime(
int time);
2168 MCAPI uint $getSeed();
2170 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
2172 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
2174 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
2176 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
2178 MCAPI
void $setDefaultGameType(::GameType gameType);
2180 MCAPI ::GameType $getDefaultGameType()
const;
2182 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
2184 MCAPI
bool $getMultiplayerGameIntent()
const;
2186 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
2188 MCAPI
bool $isMultiplayerGame()
const;
2190 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
2192 MCAPI
bool $getLANBroadcastIntent()
const;
2194 MCAPI
void $setLANBroadcast(
bool broadcast);
2196 MCAPI
bool $getLANBroadcast()
const;
2198 MCAPI
bool $hasXBLBroadcastIntent()
const;
2200 MCAPI
bool $hasXBLBroadcast()
const;
2202 MCAPI
bool $hasPlatformBroadcastIntent()
const;
2204 MCAPI
bool $hasPlatformBroadcast()
const;
2206 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
2208 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
2210 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
2212 MCAPI
void $setWorldTemplateOptionsUnlocked();
2214 MCAPI
bool $hasLevelStorage()
const;
2216 MCFOLD ::LevelStorage& $getLevelStorage();
2218 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
2220 MCFOLD ::LevelData& $getLevelData();
2222 MCFOLD ::LevelData
const& $getLevelData()
const;
2224 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
2226 MCAPI
void $createPhotoStorage();
2228 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
2230 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
2234 MCAPI ::std::optional<::EducationLevelSettings>
const& $getEducationLevelSettings()
const;
2236 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
2238 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
2242 MCAPI
void $saveLevelData();
2244 MCAPI
void $saveGameData();
2246 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
2248 MCFOLD ::TickingAreasManager& $getTickingAreasMgr();
2251 $addTickingAreaList(
::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
2253 MCAPI
void $playSound(
2254 ::SharedTypes::Legacy::LevelSoundEvent type,
2262 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
2264 MCAPI
void $playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch);
2266 MCAPI
void $playSound(
2268 ::SharedTypes::Legacy::LevelSoundEvent type,
2275 MCAPI
void $playSound(
2277 ::SharedTypes::Legacy::LevelSoundEvent type,
2284 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2286 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2288 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2290 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2292 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2294 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2296 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2298 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2300 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2302 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2304 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2306 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
2308 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2310 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
2312 MCAPI
void $handleStopAllSounds();
2314 MCAPI
void $handleStopMusicEvent();
2316 MCAPI
void $broadcastLevelEvent(
2317 ::SharedTypes::Legacy::LevelEvent type,
2323 MCAPI
void $broadcastLevelEvent(
2324 ::SharedTypes::Legacy::LevelEvent type,
2330 $broadcastLocalEvent(
::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2332 MCAPI
void $broadcastLocalEvent(
2334 ::SharedTypes::Legacy::LevelEvent type,
2339 MCAPI
void $broadcastSoundEvent(
2341 ::SharedTypes::Legacy::LevelSoundEvent type,
2348 MCAPI
void $broadcastSoundEvent(
2350 ::SharedTypes::Legacy::LevelSoundEvent type,
2357 MCAPI
void $broadcastSoundEvent(
2359 ::SharedTypes::Legacy::LevelSoundEvent type,
2366 MCAPI
void $broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const;
2368 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2370 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2372 MCAPI
void $onChunkReload(
::Bounds const& bound);
2374 MCAPI
int $getActivePlayerCount()
const;
2376 MCAPI
int $getActiveUsersCount()
const;
2378 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2380 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2382 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2384 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2386 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2388 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2390 MCAPI
int $getUserCount()
const;
2394 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2396 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2402 MCFOLD
void $onSubChunkLoaded(
2405 short absoluteSubChunkIndex,
2406 bool subChunkVisibilityChanged
2409 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2415 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2419 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2423 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2425 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2427 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2429 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2431 MCAPI
void $forceFlushRemovedPlayers();
2433 MCFOLD
void $loadFunctionManager();
2437 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2439 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2441 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2445 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2447 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2449 MCAPI
void $suspendAndSave();
2451 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2453 MCAPI ::Particle* $addParticle(
2463 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2465 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2467 MCAPI
void $addParticleEffect(
2469 ::Vec3 const& emitterPosition,
2473 MCAPI
void $addTerrainParticleEffect(
2476 ::Vec3 const& emitterPosition,
2478 float velocityScalar,
2482 MCAPI
void $addTerrainSlideEffect(
2485 ::Vec3 const& emitterPosition,
2487 float velocityScalar,
2491 MCAPI
void $addBreakingItemParticleEffect(
2497 MCAPI
void $addBiomeTintedParticleEffect(
2501 ::std::optional<::mce::Color> overrideColor
2504 MCAPI ::ActorUniqueID $getNewUniqueID();
2506 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2508 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2510 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2512 MCAPI ::std::vector<::ChunkPos>
2513 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2515 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2517 MCAPI
bool $isExporting()
const;
2519 MCAPI
void $setIsExporting(
bool IsExporting);
2521 MCAPI ::SavedDataStorage& $getSavedData();
2523 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2525 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2527 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2529 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2531 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2535 MCAPI ::MapItemSavedData& $createMapSavedData(
2539 int returnScaleLevel
2542 MCAPI ::MapItemSavedData& $createMapSavedData(
2543 ::std::vector<::ActorUniqueID>
const& mapIds,
2546 int returnScaleLevel
2549 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2551 MCAPI ::std::string $getLevelId()
const;
2553 MCAPI
void $setLevelId(::std::string LevelId);
2555 MCAPI ::TaskGroup& $getSyncTasksGroup();
2557 MCAPI ::TaskGroup& $getIOTasksGroup();
2559 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2561 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2563 MCFOLD ::TradeTables* $getTradeTables();
2565 MCFOLD
void $decrementTagCache(
2566 ::std::string
const& tag,
2570 MCFOLD
void $incrementTagCache(
2571 ::std::string
const& tag,
2575 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2577 MCAPI
bool $isEdu()
const;
2579 MCFOLD ::ActorFactory& $getActorFactory();
2581 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2583 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2585 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2587 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2589 MCAPI ::EntitySystems& $getEntitySystems();
2591 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2593 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2595 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2597 MCFOLD
void $runCommand(
2600 ::CommandOriginSystem originSystem,
2601 ::CurrentCmdVersion
const commandVersion
2606 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2610 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2614 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2616 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2617 $getPlayerMovementSettingsManager()
const;
2619 MCFOLD
bool $canUseSkin(
2625 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2627 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2629 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2631 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2633 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2635 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2637 MCAPI
void $flushRunTimeLighting();
2639 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2641 MCAPI
void $initializeBlockDefinitionGroup();
2643 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2645 MCAPI
bool $isClientSideGenerationEnabled();
2647 MCAPI
bool $blockNetworkIdsAreHashes();
2649 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2651 MCAPI ::std::weak_ptr<::BlockTypeRegistry> $getBlockRegistry()
const;
2653 MCFOLD ::Level* $asLevel();
2655 MCAPI
bool $use3DBiomeMaps()
const;
2657 MCAPI
void $addBlockSourceForValidityTracking(
::BlockSource* region);
2659 MCAPI
void $removeBlockSourceFromValidityTracking(
::BlockSource* region);
2661 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockSourceValidityManager> $getBlockSourceValidityManager();
2663 MCAPI
void $pauseAndFlushTaskGroups();
2665 MCFOLD ::DimensionManager& $getDimensionManager();
2667 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2669 MCFOLD
void $subChunkTickAndSendRequests();
2671 MCAPI
void $_subTick();
2673 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2675 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2677 MCAPI
bool $isClientSide()
const;
2679 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2681 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2683 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2685 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2687 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2689 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2693 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2695 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2697 MCAPI ::PacketSender* $getPacketSender()
const;
2699 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2703 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2705 MCAPI ::IRandom& $getIRandom()
const;
2707 MCAPI ::Random& $getRandom()
const;
2709 MCFOLD ::Random& $getThreadRandom()
const;
2711 MCAPI ::HitResult& $getHitResult();
2713 MCAPI ::HitResult& $getLiquidHitResult();
2715 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2717 MCFOLD ::std::string
const& $getImmersiveReaderString()
const;
2719 MCAPI
void $setImmersiveReaderString(::std::string newString);
2721 MCAPI ::AdventureSettings& $getAdventureSettings();
2723 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2725 MCAPI ::GameRules
const& $getGameRules()
const;
2727 MCAPI ::GameRules& $getGameRules();
2729 MCAPI
bool $hasStartWithMapEnabled()
const;
2731 MCAPI
bool $isEditorWorld()
const;
2733 MCAPI
bool $isHardcore()
const;
2735 MCAPI ::Abilities& $getDefaultAbilities();
2737 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2739 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2741 MCAPI
bool $getTearingDown()
const;
2743 MCAPI
void $takePicture(
2751 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelSoundManager> $getLevelSoundManager();
2753 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2755 MCAPI
void $setSimPaused(
bool value);
2757 MCAPI
bool $getSimPaused();
2759 MCAPI
void $setFinishedInitializing();
2761 MCAPI ::LootTables& $getLootTables();
2763 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2765 MCAPI
int $getNetherScale()
const;
2767 MCFOLD ::Scoreboard& $getScoreboard();
2769 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2771 MCFOLD ::Scoreboard* $tryGetScoreboard();
2773 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2777 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2779 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2781 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2783 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2785 MCFOLD ::Recipes& $getRecipes()
const;
2787 MCFOLD ::BlockReducer* $getBlockReducer()
const;
2789 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2791 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2793 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2795 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2797 MCAPI ::BlockLegacy
const& $getRegisteredBorderBlock()
const;
2799 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2801 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2803 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2805 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2807 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2809 MCAPI
void $_initializeMapDataManager();
2811 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2813 MCAPI
void $_onLowMemory();