260 using RegionSet = ::std::unordered_set<::BlockSource*>;
265 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
272 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
273 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
275 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
276 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
277 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
278 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
282 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
283 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
284 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
290 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
291 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
292 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
293 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
294 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
295 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
296 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
297 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
298 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
299 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
300 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
301 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
302 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
303 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
304 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
305 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
306 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
307 ::ll::TypedStorage<1, 1, bool> mIsExporting;
308 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
309 ::ll::TypedStorage<1, 1, bool> mSimPaused;
310 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
311 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
312 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
313 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
314 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
315 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
316 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
317 ::ll::TypedStorage<1, 1, bool> mTearingDown;
318 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
319 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
320 mEventCoordinatorManager;
321 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
322 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
323 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
324 mLevelChunkPerformanceTelemetry;
325 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
326 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
327 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
328 mJigsawStructureRegistry;
329 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
330 mStructureSpawnRegistry;
331 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::DimensionFactoryAndManager>>>
332 mDimensionFactoryAndManager;
333 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
334 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
335 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
336 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
337 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
338 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
339 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
340 mLightTextureImageBuilderFactory;
341 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
342 mEducationSettingsManager;
343 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
344 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
345 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
346 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
347 mPositionTrackerDBClient;
348 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
349 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
350 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
351 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
352 mActorGarbageCollector;
353 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
354 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
355 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
356 mAutonomousActorManager;
357 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
358 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
359 mGameplayUserManager;
360 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
361 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
362 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
363 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
364 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
365 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
366 mActorRuntimeIDManager;
367 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
368 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
369 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
370 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
371 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
372 mServerParticleManager;
373 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
374 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
375 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
376 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
377 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
378 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
379 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
380 mChunkTickRangeManager;
381 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
382 mChunkViewTrackerManager;
383 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
384 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
385 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
386 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
387 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
388 mPlayerDimensionTransferManager;
389 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>>
const>
390 mLevelCrashDumpManager;
391 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
392 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
393 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
395 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
396 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
397 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
398 mChunkTickOffsetManager;
399 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
400 mPlayerMovementSettingsManager;
401 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
402 mPlayerAbilitiesManager;
403 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
404 mPlayerPermissionsManager;
405 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
406 mPlayerPermissionsSynchroniser;
407 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
408 mLevelChunkEventManager;
409 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
410 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
411 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
412 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
413 mActorDimensionTransferManager;
414 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
415 mLevelBlockDestroyer;
416 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
417 mTickDeltaTimeManager;
418 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
419 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
420 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
421 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
422 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
423 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::DensityFunctionRegistry>>> mDensityFunctionRegistry;
428 Level& operator=(Level
const&);
437 virtual bool initialize(
438 ::std::string
const& levelName,
441 ::std::string
const* levelId,
442 ::std::optional<::std::reference_wrapper<
443 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
444 biomeIdToResolvedData
447 virtual void startLeaveGame() ;
449 virtual bool isLeaveGameDone() ;
451 virtual bool isDimensionTypeActive(
::DimensionType dimensionType)
const ;
453 virtual ::WeakRef<::Dimension> getOrCreateDimension(
::DimensionType dimensionType) ;
455 virtual ::WeakRef<::Dimension> getDimension(
::DimensionType id)
const ;
457 virtual ::PlayerSpawnDimensionResolution resolvePlayerSpawnDimension(
::CompoundTag const* playerTag)
const
460 virtual void forEachDimension(::std::function<
bool(
::Dimension&)> callback) ;
462 virtual void forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const ;
464 virtual uint getChunkTickRange()
const ;
466 virtual ::ChunkTickRangeManager
const& getChunkTickRangeManager()
const ;
468 virtual ::PortalForcer& getPortalForcer() ;
472 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
473 getPlayerDimensionTransferManager() ;
475 virtual void entityChangeDimension(
480 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
481 getActorDimensionTransferManager() ;
483 virtual ::Spawner& getSpawner()
const ;
485 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
486 getBossEventSubscriptionManager() ;
488 virtual ::ProjectileFactory& getProjectileFactory()
const ;
490 virtual ::ActorDefinitionGroup* getEntityDefinitions()
const ;
492 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup()
const ;
494 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup()
const
497 virtual ::BlockDefinitionGroup* getBlockDefinitions()
const ;
499 virtual ::PropertyGroupManager& getActorPropertyGroup()
const ;
501 virtual ::CameraPresets
const& getCameraPresets()
const ;
503 virtual ::CameraPresets& getCameraPresets() ;
505 virtual ::SharedTypes::v1_26_50::CameraPreset
const* getCameraPreset(
int presetIndex)
const ;
507 virtual bool getDisablePlayerInteractions()
const ;
509 virtual void setDisablePlayerInteractions(
bool const disable) ;
511 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup()
const ;
513 virtual ::BehaviorFactory& getBehaviorFactory()
const ;
515 virtual ::SharedTypes::Legacy::Difficulty getDifficulty()
const ;
517 virtual ::DimensionConversionData getDimensionConversionData()
const ;
519 virtual float getSpecialMultiplier(
::DimensionType dimensionType)
const ;
521 virtual bool hasCommandsEnabled()
const ;
523 virtual bool useMsaGamertagsOnly()
const ;
525 virtual void setMsaGamertagsOnly(
bool msaGamertagsOnly) ;
529 virtual ::Actor* putEntity(
557 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() ;
559 virtual void suspendPlayer(
::Player& player) ;
561 virtual void resumePlayer(
::Player& player) ;
563 virtual bool isPlayerSuspended(
::Player& player)
const ;
565 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() ;
567 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager()
const ;
569 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() ;
571 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(
::WeakEntityRef entityRef) ;
573 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef) ;
577 virtual ::StrictEntityContext fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
579 virtual ::Actor* fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
581 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher()
const ;
583 virtual ::Actor* getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const ;
585 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() ;
587 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager()
const ;
591 virtual ::Player* getPlayer(::std::string
const& name)
const ;
593 virtual ::Player* getPlayer(
::mce::UUID const& uuid)
const ;
597 virtual ::Player* getPlayerByXuid(::std::string
const& xuid)
const ;
599 virtual ::Player* getPlatformPlayer(::std::string
const& platformOnlineId)
const ;
601 virtual ::Player* getPlayerFromServerId(::std::string
const& serverId)
const ;
605 virtual int getNumRemotePlayers()
const ;
607 virtual ::Player* getPrimaryLocalPlayer()
const ;
609 virtual ::IMinecraftEventing& getEventing() ;
611 virtual ::mce::Color getPlayerColor(
::Player const& player)
const ;
613 virtual ::Tick
const& getCurrentTick()
const ;
615 virtual ::Tick
const getCurrentServerTick()
const ;
617 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager()
const ;
619 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
621 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> getContainerRegistryAccess()
const
624 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> getContainerRegistryTracker()
const
627 virtual ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> getDynamicContainerSerialization()
const
630 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> getShapeRegistry()
const ;
632 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> getMutableShapeRegistry()
const ;
634 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
636 virtual ::BiomeRegistry& getBiomeRegistry() ;
638 virtual ::BlockPalette
const& getBlockPalette()
const ;
640 virtual ::BlockPalette& getBlockPalette() ;
642 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
644 virtual ::FeatureRegistry& getFeatureRegistry() ;
646 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
648 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
650 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
652 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
654 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
656 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
658 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
660 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
662 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
664 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
666 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
668 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
670 virtual ::BiomeManager
const& getBiomeManager()
const ;
672 virtual ::BiomeManager& getBiomeManager() ;
674 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& getDimensionFactory()
const
677 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() ;
679 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
680 getLightTextureImageBuilderFactory()
const ;
682 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
683 getLightTextureImageBuilderFactory() ;
685 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
687 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
689 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
691 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const getWorldClockRegistry()
const ;
693 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> getWorldClockRegistry() ;
699 virtual void tickEntities() ;
701 virtual void tickEntitySystems() ;
705 virtual void tick() ;
707 virtual bool explode(
711 float explosionRadius,
722 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
726 virtual ::std::unique_ptr<::Path>
729 virtual ::std::unique_ptr<::Path>
734 virtual ::PlayerSleepStatus getSleepStatus()
const ;
736 virtual void updateSleepingPlayerList() ;
738 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
740 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
742 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
744 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
747 virtual int getTime()
const ;
749 virtual void setTime(
int time) ;
751 virtual uint getSeed() ;
753 virtual ::LevelSeed64 getLevelSeed64()
const ;
755 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
757 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
759 virtual ::BlockPos
const& getDefaultSpawn()
const ;
761 virtual void setDefaultGameType(::GameType gameType) ;
763 virtual ::GameType getDefaultGameType()
const ;
765 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) ;
767 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
769 virtual bool getMultiplayerGameIntent()
const ;
771 virtual void setMultiplayerGame(
bool multiplayerGame) ;
773 virtual bool isMultiplayerGame()
const ;
775 virtual void setLANBroadcastIntent(
bool broadcast) ;
777 virtual bool getLANBroadcastIntent()
const ;
779 virtual void setLANBroadcast(
bool broadcast) ;
781 virtual bool getLANBroadcast()
const ;
783 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
785 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
787 virtual bool hasXBLBroadcastIntent()
const ;
789 virtual void setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
791 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
793 virtual bool hasXBLBroadcast()
const ;
795 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
797 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
799 virtual bool hasPlatformBroadcastIntent()
const ;
801 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
803 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
805 virtual bool hasPlatformBroadcast()
const ;
807 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
809 virtual void setHasLockedResourcePack(
bool hasLocked) ;
811 virtual void setCommandsEnabled(
bool commandsEnabled) ;
813 virtual void setWorldTemplateOptionsUnlocked() ;
815 virtual bool hasLevelStorage()
const ;
817 virtual ::LevelStorage& getLevelStorage() ;
819 virtual ::LevelStorage
const& getLevelStorage()
const ;
821 virtual ::LevelData& getLevelData() ;
823 virtual ::LevelData
const& getLevelData()
const ;
825 virtual ::PhotoStorage& getPhotoStorage()
const ;
827 virtual void createPhotoStorage() ;
829 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
831 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
833 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
835 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
838 virtual void save() ;
840 virtual void saveLevelData() ;
842 virtual void saveGameData() ;
844 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
846 virtual ::TickingAreasManager& getTickingAreasMgr() ;
848 virtual void addTickingAreaList(
850 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
853 virtual void playSound(
854 ::SharedTypes::Legacy::LevelSoundEvent type,
861 virtual void playSound(
862 ::SharedTypes::Legacy::LevelSoundEvent type,
870 virtual void playSound(
872 ::SharedTypes::Legacy::LevelSoundEvent type,
879 virtual void playSound(
881 ::SharedTypes::Legacy::LevelSoundEvent type,
888 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
890 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
892 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
894 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
896 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
898 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
900 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
902 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
904 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
906 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
908 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
910 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
912 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
914 virtual void handleStopSoundEvent(::std::string
const& name) ;
916 virtual void handleStopAllSounds() ;
918 virtual void handleStopMusicEvent() ;
920 virtual void broadcastLevelEvent(
921 ::SharedTypes::Legacy::LevelEvent type,
927 virtual void broadcastLevelEvent(
928 ::SharedTypes::Legacy::LevelEvent type,
933 virtual void broadcastLocalEvent(
935 ::SharedTypes::Legacy::LevelEvent type,
940 virtual void broadcastLocalEvent(
942 ::SharedTypes::Legacy::LevelEvent type,
947 virtual void broadcastSoundEvent(
949 ::SharedTypes::Legacy::LevelSoundEvent type,
954 ::std::optional<::Vec3>
const& fireAtPosition
957 virtual void broadcastSoundEvent(
959 ::SharedTypes::Legacy::LevelSoundEvent type,
964 ::std::optional<::Vec3>
const& fireAtPosition
967 virtual void broadcastSoundEvent(
969 ::SharedTypes::Legacy::LevelSoundEvent type,
974 ::std::optional<::Vec3>
const& fireAtPosition
977 virtual void broadcastActorEvent(
979 ::ActorEvent eventId,
981 ::std::optional<::Vec3>
const& fireAtPosition
984 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
986 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
988 virtual void onChunkReload(
::Bounds const& bound) ;
990 virtual int getActivePlayerCount()
const ;
992 virtual int getActiveUsersCount()
const ;
994 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
996 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
998 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
1000 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
1002 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
1004 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
1006 virtual int getUserCount()
const ;
1010 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
1012 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
1018 virtual void onSubChunkLoaded(
1021 short absoluteSubChunkIndex,
1022 bool subChunkVisibilityChanged
1025 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
1031 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
1035 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1039 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1041 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1043 virtual void forceRemoveEntity(
::Actor& actor) ;
1045 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1047 virtual void forceFlushRemovedPlayers() ;
1049 virtual void loadFunctionManager() ;
1053 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1055 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1057 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1059 virtual bool destroyBlock(
1066 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1068 virtual void upgradeStorageVersion(::StorageVersion v) ;
1070 virtual void suspendAndSave() ;
1073 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1075 virtual ::Particle* addParticle(
1084 virtual void spawnParticleEffect(
1085 ::std::string
const& effectName,
1086 ::Vec3 const& spawnLocation,
1090 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1092 virtual void addParticleEffect(
1094 ::Vec3 const& emitterPosition,
1098 virtual void addTerrainParticleEffect(
1101 ::Vec3 const& emitterPosition,
1103 float velocityScalar,
1107 virtual void addTerrainSlideEffect(
1110 ::Vec3 const& emitterPosition,
1112 float velocityScalar,
1116 virtual void addBreakingItemParticleEffect(
1122 virtual void addBiomeTintedParticleEffect(
1126 ::std::optional<::mce::Color> overrideColor
1129 virtual ::ActorUniqueID getNewUniqueID() ;
1131 virtual ::ActorRuntimeID getNextRuntimeID() ;
1133 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1135 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1137 virtual ::std::vector<::ChunkPos>
1138 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1140 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1143 virtual bool isExporting()
const ;
1145 virtual void setIsExporting(
bool IsExporting) ;
1147 virtual ::SavedDataStorage& getSavedData() ;
1149 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1151 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1153 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1155 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1157 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1161 virtual ::MapItemSavedData& createMapSavedData(
1165 int returnScaleLevel
1168 virtual ::MapItemSavedData& createMapSavedData(
1169 ::std::vector<::ActorUniqueID>
const& mapIds,
1172 int returnScaleLevel
1175 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1177 virtual ::std::string getLevelId()
const ;
1179 virtual void setLevelId(::std::string LevelId) ;
1181 virtual ::TaskGroup& getSyncTasksGroup() ;
1183 virtual ::TaskGroup& getIOTasksGroup() ;
1185 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1187 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1189 virtual ::TradeTables* getTradeTables() ;
1191 virtual void decrementTagCache(
1192 ::std::string
const& tag,
1196 virtual void incrementTagCache(
1197 ::std::string
const& tag,
1201 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1203 virtual bool isEdu()
const ;
1205 virtual ::ActorFactory& getActorFactory() ;
1207 virtual ::ActorFactory
const& getActorFactory()
const ;
1209 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1211 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1213 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1215 virtual ::EntitySystems& getEntitySystems() ;
1217 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1219 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1221 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1224 virtual void runCommand(
1227 ::CommandOriginSystem originSystem,
1228 ::CurrentCmdVersion
const commandVersion
1234 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1238 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1242 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1243 getPlayerMovementSettingsManager() ;
1245 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1246 getPlayerMovementSettingsManager()
const ;
1248 virtual bool canUseSkin(
1254 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1256 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1258 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1260 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1262 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1264 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1266 virtual void flushRunTimeLighting() ;
1268 virtual ::std::weak_ptr<::ISubChunkLighter> getSubChunkLighter()
const ;
1270 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1272 virtual void initializeBlockDefinitionGroup() ;
1274 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1276 virtual bool isClientSideGenerationEnabled() ;
1278 virtual bool blockNetworkIdsAreHashes() ;
1280 virtual ::ItemRegistryRef getItemRegistry()
const ;
1282 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry()
const ;
1284 virtual ::Level* asLevel() ;
1286 virtual bool use3DBiomeMaps()
const ;
1288 virtual void pauseAndFlushTaskGroups() ;
1290 virtual ::DimensionManager& getDimensionManager() ;
1292 virtual ::DimensionManager
const& getDimensionManager()
const ;
1294 virtual ::Bedrock::NotNullNonOwnerPtr<::DimensionManager> getDimensionManagerNonOwner() ;
1296 virtual ::Bedrock::NotNullNonOwnerPtr<::DimensionManager const> getDimensionManagerNonOwner()
const ;
1298 virtual void subChunkTickAndSendRequests() ;
1300 virtual void _subTick();
1302 virtual ::StackRefResult<::PauseManager> getPauseManager() ;
1304 virtual ::StackRefResult<::PauseManager const> getPauseManager()
const ;
1306 virtual bool isClientSide()
const ;
1308 virtual ::SubClientId getSubClientId()
const ;
1310 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& getPlayerList()
const ;
1312 virtual ::std::string
const& getPlayerXUID(
::mce::UUID const& uuid)
const ;
1314 virtual ::std::string
const& getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const ;
1316 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() ;
1318 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager()
const ;
1320 virtual ::std::vector<::WeakEntityRef>
const& getActiveUsers()
const ;
1322 virtual void notifySubChunkRequestManager(
::SubChunkPacket const& packet) ;
1324 virtual ::SubChunkRequestManager* getSubChunkRequestManager() ;
1326 virtual ::std::vector<::Actor*> getRuntimeActorList()
const ;
1328 virtual ::PacketSender* getPacketSender()
const ;
1330 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback()
const ;
1334 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() ;
1336 virtual ::IRandom& getIRandom()
const ;
1338 virtual ::Random& getRandom()
const ;
1340 virtual ::Random& getThreadRandom()
const ;
1342 virtual ::HitResult& getHitResult() ;
1344 virtual ::HitResult& getLiquidHitResult() ;
1346 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() ;
1348 virtual ::std::string
const& getImmersiveReaderString()
const ;
1350 virtual void setImmersiveReaderString(::std::string newString) ;
1352 virtual ::AdventureSettings& getAdventureSettings() ;
1354 virtual ::AdventureSettings
const& getAdventureSettings()
const ;
1356 virtual ::GameRules
const& getGameRules()
const ;
1358 virtual ::GameRules& getGameRules() ;
1360 virtual bool hasStartWithMapEnabled()
const ;
1362 virtual bool isEditorWorld()
const ;
1364 virtual bool isEditorTestWorld()
const ;
1366 virtual bool getAllowAnonymousBlockDropsInEditorWorlds()
const ;
1368 virtual bool isHardcore()
const ;
1370 virtual ::Abilities& getDefaultAbilities() ;
1372 virtual ::PermissionsHandler& getDefaultPermissions() ;
1374 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1376 virtual bool getTearingDown()
const ;
1378 virtual void takePicture(
1386 virtual ::LevelSoundManager& getLevelSoundManager() ;
1388 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1390 virtual void setSimPaused(
bool value) ;
1392 virtual bool getSimPaused()
const ;
1394 virtual void setFinishedInitializing() ;
1396 virtual ::LootTables& getLootTables() ;
1398 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1400 virtual int getNetherScale()
const ;
1402 virtual ::Scoreboard& getScoreboard() ;
1404 virtual ::Scoreboard
const& getScoreboard()
const ;
1406 virtual ::Scoreboard* tryGetScoreboard() ;
1408 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1412 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1414 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1416 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1418 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1419 getPlayerPermissionsSynchroniser() ;
1421 virtual ::Recipes& getRecipes()
const ;
1423 virtual ::BlockReducer* getBlockReducer()
const ;
1425 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1427 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1429 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1431 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1433 virtual ::BlockType
const& getRegisteredBorderBlock()
const ;
1435 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1436 getLevelChunkPerformanceTelemetry() ;
1438 virtual ::cereal::ReflectionCtx& cerealContext() ;
1440 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1442 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1444 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1446 virtual void clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId) ;
1450 virtual ::MolangPackSettingsCache
const* getMolangPackSettingsCache()
const ;
1452 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1454 virtual void _initializeMapDataManager();
1456 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1458 virtual void _onLowMemory() ;
1466 MCAPI
void _onAddBreakingItemParticleEffect(
1472 MCAPI
void _onAddTerrainParticleEffect(
1475 ::Vec3 const& emitterPosition,
1476 float particleCount,
1477 float velocityScalar,
1481 MCAPI
void _onAddTerrainSlideEffect(
1484 ::Vec3 const& emitterPosition,
1485 float particleCount,
1486 float velocityScalar,
1490 MCAPI
void _onAnyGameplayUsersRemoved();
1492 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1502 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1504 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1506 MCAPI
void _onPictureTaken(
1514 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1516 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1518 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1521 MCAPI
void earlyShutdownMainthread();
1523 MCAPI ::LinkedAssetValidator& getLinkedAssetValidator();
1526 MCAPI ::NpcEventCoordinator& getNpcEventCoordinator();
1529 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1531 MCAPI ::NodeType isFree(
1537 ::CanJumpIntoNode jumpIntoNode
1540 MCAPI
void loadShapeRegistry();
1546 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1552 MCFOLD
static uint createRandomSeed();
1554 MCAPI static ::LevelSeed64 parseLevelSeed64(::std::string
const& seedString);
1572 MCAPI
bool $initialize(
1573 ::std::string
const& levelName,
1576 ::std::string
const* levelId,
1577 ::std::optional<::std::reference_wrapper<
1578 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
1579 biomeIdToResolvedData
1582 MCAPI
void $startLeaveGame();
1584 MCAPI
bool $isLeaveGameDone();
1586 MCAPI
bool $isDimensionTypeActive(
::DimensionType dimensionType)
const;
1588 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(
::DimensionType dimensionType);
1592 MCAPI ::PlayerSpawnDimensionResolution $resolvePlayerSpawnDimension(
::CompoundTag const* playerTag)
const;
1594 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1596 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1598 MCAPI uint $getChunkTickRange()
const;
1600 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1602 MCAPI ::PortalForcer& $getPortalForcer();
1606 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1611 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1613 MCAPI ::Spawner& $getSpawner()
const;
1615 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1617 MCAPI ::ProjectileFactory& $getProjectileFactory()
const;
1619 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions()
const;
1621 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
1623 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
1626 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1628 MCFOLD ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1631 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
1633 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
1635 MCFOLD ::CameraPresets& $getCameraPresets();
1637 MCAPI ::SharedTypes::v1_26_50::CameraPreset
const* $getCameraPreset(
int presetIndex)
const;
1639 MCAPI
bool $getDisablePlayerInteractions()
const;
1641 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
1643 MCAPI ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
1645 MCAPI ::BehaviorFactory& $getBehaviorFactory()
const;
1647 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty()
const;
1649 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
1651 MCAPI
float $getSpecialMultiplier(
::DimensionType dimensionType)
const;
1653 MCAPI
bool $hasCommandsEnabled()
const;
1655 MCAPI
bool $useMsaGamertagsOnly()
const;
1657 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
1661 MCAPI ::Actor* $putEntity(
1688 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
1690 MCAPI
void $suspendPlayer(
::Player& player);
1692 MCAPI
void $resumePlayer(
::Player& player);
1694 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
1696 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
1698 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
1700 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
1702 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
1704 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
1708 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1710 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1712 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
1714 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
1716 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
1718 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
1722 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
1724 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
1728 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
1730 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
1732 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
1736 MCAPI
int $getNumRemotePlayers()
const;
1738 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
1740 MCAPI ::IMinecraftEventing& $getEventing();
1742 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
1744 MCAPI ::Tick
const& $getCurrentTick()
const;
1746 MCAPI ::Tick
const $getCurrentServerTick()
const;
1748 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
1750 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
1752 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> $getContainerRegistryAccess()
const;
1754 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> $getContainerRegistryTracker()
const;
1756 MCAPI ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> $getDynamicContainerSerialization()
const;
1758 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> $getShapeRegistry()
const;
1760 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> $getMutableShapeRegistry()
const;
1762 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
1764 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
1766 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
1768 MCFOLD ::BlockPalette& $getBlockPalette();
1770 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
1772 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
1774 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
1776 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
1778 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
1780 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
1782 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
1784 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
1786 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
1788 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
1790 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
1792 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
1794 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
1796 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
1798 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
1800 MCAPI ::BiomeManager& $getBiomeManager();
1802 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& $getDimensionFactory()
const;
1804 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
1806 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
1807 $getLightTextureImageBuilderFactory()
const;
1809 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
1811 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
1813 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
1815 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
1817 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const $getWorldClockRegistry()
const;
1819 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> $getWorldClockRegistry();
1825 MCAPI
void $tickEntities();
1827 MCAPI
void $tickEntitySystems();
1833 MCAPI
bool $explode(
1837 float explosionRadius,
1840 float maxResistance,
1841 bool allowUnderwater
1848 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
1852 MCAPI ::std::unique_ptr<::Path>
1859 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
1861 MCAPI
void $updateSleepingPlayerList();
1863 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
1865 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
1867 MCAPI
int $getTime()
const;
1869 MCAPI
void $setTime(
int time);
1871 MCAPI uint $getSeed();
1873 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
1875 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
1877 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
1879 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
1881 MCAPI
void $setDefaultGameType(::GameType gameType);
1883 MCAPI ::GameType $getDefaultGameType()
const;
1885 MCAPI
void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
1887 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
1889 MCAPI
bool $getMultiplayerGameIntent()
const;
1891 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
1893 MCAPI
bool $isMultiplayerGame()
const;
1895 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
1897 MCAPI
bool $getLANBroadcastIntent()
const;
1899 MCAPI
void $setLANBroadcast(
bool broadcast);
1901 MCAPI
bool $getLANBroadcast()
const;
1903 MCAPI
void $setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1905 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent()
const;
1907 MCAPI
bool $hasXBLBroadcastIntent()
const;
1909 MCAPI
void $setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode);
1911 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode()
const;
1913 MCAPI
bool $hasXBLBroadcast()
const;
1915 MCAPI
void $setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1917 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent()
const;
1919 MCAPI
bool $hasPlatformBroadcastIntent()
const;
1921 MCAPI
void $setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode);
1923 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode()
const;
1925 MCAPI
bool $hasPlatformBroadcast()
const;
1927 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
1929 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
1931 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
1933 MCAPI
void $setWorldTemplateOptionsUnlocked();
1935 MCAPI
bool $hasLevelStorage()
const;
1937 MCFOLD ::LevelStorage& $getLevelStorage();
1939 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
1941 MCFOLD ::LevelData& $getLevelData();
1943 MCFOLD ::LevelData
const& $getLevelData()
const;
1945 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
1947 MCAPI
void $createPhotoStorage();
1949 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
1951 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
1953 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
1955 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
1959 MCAPI
void $saveLevelData();
1961 MCAPI
void $saveGameData();
1963 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
1965 MCAPI ::TickingAreasManager& $getTickingAreasMgr();
1968 $addTickingAreaList(
::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
1970 MCAPI
void $playSound(
1971 ::SharedTypes::Legacy::LevelSoundEvent type,
1979 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
1983 MCAPI
void $playSound(
1985 ::SharedTypes::Legacy::LevelSoundEvent type,
1992 MCAPI
void $playSound(
1994 ::SharedTypes::Legacy::LevelSoundEvent type,
2001 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2003 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2005 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2007 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2009 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2011 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2013 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2015 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2017 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2019 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2021 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2023 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
2025 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2027 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
2029 MCAPI
void $handleStopAllSounds();
2031 MCAPI
void $handleStopMusicEvent();
2033 MCAPI
void $broadcastLevelEvent(
2034 ::SharedTypes::Legacy::LevelEvent type,
2040 MCAPI
void $broadcastLevelEvent(
2041 ::SharedTypes::Legacy::LevelEvent type,
2047 $broadcastLocalEvent(
::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2049 MCAPI
void $broadcastLocalEvent(
2051 ::SharedTypes::Legacy::LevelEvent type,
2056 MCAPI
void $broadcastSoundEvent(
2058 ::SharedTypes::Legacy::LevelSoundEvent type,
2063 ::std::optional<::Vec3>
const& fireAtPosition
2066 MCAPI
void $broadcastSoundEvent(
2068 ::SharedTypes::Legacy::LevelSoundEvent type,
2073 ::std::optional<::Vec3>
const& fireAtPosition
2076 MCAPI
void $broadcastSoundEvent(
2078 ::SharedTypes::Legacy::LevelSoundEvent type,
2083 ::std::optional<::Vec3>
const& fireAtPosition
2086 MCAPI
void $broadcastActorEvent(
2088 ::ActorEvent eventId,
2090 ::std::optional<::Vec3>
const& fireAtPosition
2093 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2095 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2097 MCAPI
void $onChunkReload(
::Bounds const& bound);
2099 MCAPI
int $getActivePlayerCount()
const;
2101 MCAPI
int $getActiveUsersCount()
const;
2103 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2105 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2107 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2109 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2111 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2113 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2115 MCAPI
int $getUserCount()
const;
2119 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2121 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2127 MCFOLD
void $onSubChunkLoaded(
2130 short absoluteSubChunkIndex,
2131 bool subChunkVisibilityChanged
2134 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2140 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2144 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2148 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2150 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2152 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2154 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2156 MCAPI
void $forceFlushRemovedPlayers();
2158 MCFOLD
void $loadFunctionManager();
2162 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2164 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2166 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2168 MCAPI
bool $destroyBlock(
2175 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2177 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2179 MCAPI
void $suspendAndSave();
2181 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2183 MCAPI ::Particle* $addParticle(
2193 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2195 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2197 MCAPI
void $addParticleEffect(
2199 ::Vec3 const& emitterPosition,
2203 MCAPI
void $addTerrainParticleEffect(
2206 ::Vec3 const& emitterPosition,
2208 float velocityScalar,
2212 MCAPI
void $addTerrainSlideEffect(
2215 ::Vec3 const& emitterPosition,
2217 float velocityScalar,
2221 MCAPI
void $addBreakingItemParticleEffect(
2227 MCAPI
void $addBiomeTintedParticleEffect(
2231 ::std::optional<::mce::Color> overrideColor
2234 MCAPI ::ActorUniqueID $getNewUniqueID();
2236 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2238 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2240 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2242 MCAPI ::std::vector<::ChunkPos>
2243 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2245 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2247 MCAPI
bool $isExporting()
const;
2249 MCAPI
void $setIsExporting(
bool IsExporting);
2251 MCAPI ::SavedDataStorage& $getSavedData();
2253 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2255 MCAPI ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2257 MCAPI ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2259 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2261 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2265 MCAPI ::MapItemSavedData& $createMapSavedData(
2269 int returnScaleLevel
2272 MCAPI ::MapItemSavedData& $createMapSavedData(
2273 ::std::vector<::ActorUniqueID>
const& mapIds,
2276 int returnScaleLevel
2279 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2281 MCAPI ::std::string $getLevelId()
const;
2283 MCAPI
void $setLevelId(::std::string LevelId);
2285 MCFOLD ::TaskGroup& $getSyncTasksGroup();
2287 MCAPI ::TaskGroup& $getIOTasksGroup();
2289 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2291 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2293 MCFOLD ::TradeTables* $getTradeTables();
2295 MCFOLD
void $decrementTagCache(
2296 ::std::string
const& tag,
2300 MCFOLD
void $incrementTagCache(
2301 ::std::string
const& tag,
2305 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2307 MCAPI
bool $isEdu()
const;
2309 MCFOLD ::ActorFactory& $getActorFactory();
2311 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2313 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2315 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2317 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2319 MCAPI ::EntitySystems& $getEntitySystems();
2321 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2323 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2325 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2327 MCFOLD
void $runCommand(
2330 ::CommandOriginSystem originSystem,
2331 ::CurrentCmdVersion
const commandVersion
2336 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2340 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2344 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2346 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2347 $getPlayerMovementSettingsManager()
const;
2349 MCFOLD
bool $canUseSkin(
2355 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2357 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2359 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2361 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2363 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2365 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2367 MCAPI
void $flushRunTimeLighting();
2369 MCFOLD ::std::weak_ptr<::ISubChunkLighter> $getSubChunkLighter()
const;
2371 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2373 MCAPI
void $initializeBlockDefinitionGroup();
2375 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2377 MCAPI
bool $isClientSideGenerationEnabled();
2379 MCAPI
bool $blockNetworkIdsAreHashes();
2381 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2383 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry()
const;
2385 MCFOLD ::Level* $asLevel();
2387 MCAPI
bool $use3DBiomeMaps()
const;
2389 MCAPI
void $pauseAndFlushTaskGroups();
2391 MCFOLD ::DimensionManager& $getDimensionManager();
2393 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2395 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::DimensionManager> $getDimensionManagerNonOwner();
2397 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::DimensionManager const> $getDimensionManagerNonOwner()
const;
2399 MCFOLD
void $subChunkTickAndSendRequests();
2401 MCAPI
void $_subTick();
2403 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2405 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2407 MCAPI
bool $isClientSide()
const;
2409 MCAPI ::SubClientId $getSubClientId()
const;
2411 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2413 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2415 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2417 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2419 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2421 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2425 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2427 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2429 MCAPI ::PacketSender* $getPacketSender()
const;
2431 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2435 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2437 MCAPI ::IRandom& $getIRandom()
const;
2439 MCAPI ::Random& $getRandom()
const;
2441 MCAPI ::Random& $getThreadRandom()
const;
2443 MCAPI ::HitResult& $getHitResult();
2445 MCAPI ::HitResult& $getLiquidHitResult();
2447 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2449 MCAPI ::std::string
const& $getImmersiveReaderString()
const;
2451 MCAPI
void $setImmersiveReaderString(::std::string newString);
2453 MCAPI ::AdventureSettings& $getAdventureSettings();
2455 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2457 MCAPI ::GameRules
const& $getGameRules()
const;
2459 MCAPI ::GameRules& $getGameRules();
2461 MCAPI
bool $hasStartWithMapEnabled()
const;
2463 MCAPI
bool $isEditorWorld()
const;
2465 MCAPI
bool $isEditorTestWorld()
const;
2467 MCAPI
bool $getAllowAnonymousBlockDropsInEditorWorlds()
const;
2469 MCAPI
bool $isHardcore()
const;
2471 MCAPI ::Abilities& $getDefaultAbilities();
2473 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2475 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2477 MCAPI
bool $getTearingDown()
const;
2479 MCAPI
void $takePicture(
2487 MCAPI ::LevelSoundManager& $getLevelSoundManager();
2489 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2491 MCAPI
void $setSimPaused(
bool value);
2493 MCAPI
bool $getSimPaused()
const;
2495 MCAPI
void $setFinishedInitializing();
2497 MCAPI ::LootTables& $getLootTables();
2499 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2501 MCAPI
int $getNetherScale()
const;
2503 MCFOLD ::Scoreboard& $getScoreboard();
2505 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2507 MCFOLD ::Scoreboard* $tryGetScoreboard();
2509 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2513 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2515 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2517 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2519 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2521 MCAPI ::Recipes& $getRecipes()
const;
2523 MCAPI ::BlockReducer* $getBlockReducer()
const;
2525 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2527 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2529 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2531 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2533 MCAPI ::BlockType
const& $getRegisteredBorderBlock()
const;
2535 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2537 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2539 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2541 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2543 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2545 MCFOLD
void $clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId);
2549 MCAPI ::MolangPackSettingsCache
const* $getMolangPackSettingsCache()
const;
2551 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2553 MCAPI
void $_initializeMapDataManager();
2555 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2557 MCAPI
void $_onLowMemory();