261 using RegionSet = ::std::unordered_set<::BlockSource*>;
266 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
273 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
274 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
275 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
276 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
277 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
278 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
282 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
283 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
284 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
289 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
290 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
291 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
292 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
293 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
294 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
295 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
296 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
297 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
298 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
299 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
300 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
301 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
302 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
303 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
304 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
305 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
306 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
307 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
308 ::ll::TypedStorage<1, 1, bool> mIsExporting;
309 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
310 ::ll::TypedStorage<1, 1, bool> mSimPaused;
311 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
312 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
313 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
314 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
315 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
316 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
317 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
318 ::ll::TypedStorage<1, 1, bool> mTearingDown;
319 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
320 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
321 mEventCoordinatorManager;
322 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
323 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
324 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
325 mLevelChunkPerformanceTelemetry;
326 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
327 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
328 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
329 mJigsawStructureRegistry;
330 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
331 mStructureSpawnRegistry;
332 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::DimensionFactoryAndManager>>>
333 mDimensionFactoryAndManager;
334 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
335 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
336 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
337 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
338 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
339 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
340 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
341 mLightTextureImageBuilderFactory;
342 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
343 mEducationSettingsManager;
344 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
345 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
346 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
347 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
348 mPositionTrackerDBClient;
349 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
350 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
351 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
352 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
353 mActorGarbageCollector;
354 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
355 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
356 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
357 mAutonomousActorManager;
358 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
359 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
360 mGameplayUserManager;
361 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
362 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
363 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
364 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
365 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
366 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
367 mActorRuntimeIDManager;
368 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
369 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
370 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
371 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
372 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
373 mServerParticleManager;
374 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
375 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
376 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
377 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
378 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
379 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
380 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
381 mChunkTickRangeManager;
382 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
383 mChunkViewTrackerManager;
384 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
385 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
386 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
387 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
388 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
389 mPlayerDimensionTransferManager;
390 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>>
const>
391 mLevelCrashDumpManager;
392 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
393 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
395 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
396 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
397 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
398 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
399 mChunkTickOffsetManager;
400 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
401 mPlayerMovementSettingsManager;
402 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
403 mPlayerAbilitiesManager;
404 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
405 mPlayerPermissionsManager;
406 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
407 mPlayerPermissionsSynchroniser;
408 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
409 mLevelChunkEventManager;
410 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
411 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
412 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
413 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
414 mActorDimensionTransferManager;
415 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
416 mLevelBlockDestroyer;
417 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
418 mTickDeltaTimeManager;
419 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
420 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
421 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
422 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
423 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
424 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::DensityFunctionRegistry>>> mDensityFunctionRegistry;
429 Level& operator=(Level
const&);
438 virtual bool initialize(
439 ::std::string
const& levelName,
442 ::std::string
const* levelId,
443 ::std::optional<::std::reference_wrapper<
444 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
445 biomeIdToResolvedData
448 virtual void startLeaveGame() ;
450 virtual bool isLeaveGameDone() ;
452 virtual bool isDimensionTypeActive(
::DimensionType dimensionType)
const ;
454 virtual ::WeakRef<::Dimension> getOrCreateDimension(
::DimensionType dimensionType) ;
456 virtual ::WeakRef<::Dimension> getDimension(
::DimensionType id)
const ;
458 virtual ::DimensionType 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() ;
478 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
479 getActorDimensionTransferManager() ;
481 virtual ::Spawner& getSpawner()
const ;
483 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
484 getBossEventSubscriptionManager() ;
486 virtual ::ProjectileFactory& getProjectileFactory()
const ;
488 virtual ::ActorDefinitionGroup* getEntityDefinitions()
const ;
490 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup()
const ;
492 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup()
const
495 virtual ::BlockDefinitionGroup* getBlockDefinitions()
const ;
497 virtual ::PropertyGroupManager& getActorPropertyGroup()
const ;
499 virtual ::CameraPresets
const& getCameraPresets()
const ;
501 virtual ::CameraPresets& getCameraPresets() ;
503 virtual ::SharedTypes::v1_21_90::CameraPreset
const* getCameraPreset(
int presetIndex)
const ;
505 virtual bool getDisablePlayerInteractions()
const ;
507 virtual void setDisablePlayerInteractions(
bool const disable) ;
509 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup()
const ;
511 virtual ::BehaviorFactory& getBehaviorFactory()
const ;
513 virtual ::SharedTypes::Legacy::Difficulty getDifficulty()
const ;
515 virtual ::DimensionConversionData getDimensionConversionData()
const ;
517 virtual float getSpecialMultiplier(
::DimensionType dimensionType)
const ;
519 virtual bool hasCommandsEnabled()
const ;
521 virtual bool useMsaGamertagsOnly()
const ;
523 virtual void setMsaGamertagsOnly(
bool msaGamertagsOnly) ;
527 virtual ::Actor* putEntity(
555 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() ;
557 virtual void suspendPlayer(
::Player& player) ;
559 virtual void resumePlayer(
::Player& player) ;
561 virtual bool isPlayerSuspended(
::Player& player)
const ;
563 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() ;
565 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager()
const ;
567 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() ;
569 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(
::WeakEntityRef entityRef) ;
571 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef) ;
575 virtual ::StrictEntityContext fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
577 virtual ::Actor* fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
579 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher()
const ;
581 virtual ::Actor* getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const ;
583 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() ;
585 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager()
const ;
589 virtual ::Player* getPlayer(::std::string
const& name)
const ;
591 virtual ::Player* getPlayer(
::mce::UUID const& uuid)
const ;
595 virtual ::Player* getPlayerByXuid(::std::string
const& xuid)
const ;
597 virtual ::Player* getPlatformPlayer(::std::string
const& platformOnlineId)
const ;
599 virtual ::Player* getPlayerFromServerId(::std::string
const& serverId)
const ;
603 virtual int getNumRemotePlayers()
const ;
605 virtual ::Player* getPrimaryLocalPlayer()
const ;
607 virtual ::IMinecraftEventing& getEventing() ;
609 virtual ::mce::Color getPlayerColor(
::Player const& player)
const ;
611 virtual ::Tick
const& getCurrentTick()
const ;
613 virtual ::Tick
const getCurrentServerTick()
const ;
615 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager()
const ;
617 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
619 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> getContainerRegistryAccess()
const
622 virtual ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> getContainerRegistryTracker()
const
625 virtual ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> getDynamicContainerSerialization()
const
628 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> getShapeRegistry()
const ;
630 virtual ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> getMutableShapeRegistry()
const ;
632 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
634 virtual ::BiomeRegistry& getBiomeRegistry() ;
636 virtual ::BlockPalette
const& getBlockPalette()
const ;
638 virtual ::BlockPalette& getBlockPalette() ;
640 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
642 virtual ::FeatureRegistry& getFeatureRegistry() ;
644 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
646 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
648 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
650 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
652 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
654 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
656 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
658 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
660 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
662 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
664 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
666 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
668 virtual ::BiomeManager
const& getBiomeManager()
const ;
670 virtual ::BiomeManager& getBiomeManager() ;
672 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& getDimensionFactory()
const
675 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() ;
677 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
678 getLightTextureImageBuilderFactory()
const ;
680 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
681 getLightTextureImageBuilderFactory() ;
683 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
685 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
687 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
689 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const getWorldClockRegistry()
const ;
691 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> getWorldClockRegistry() ;
697 virtual void tickEntities() ;
699 virtual void tickEntitySystems() ;
703 virtual void tick() ;
705 virtual bool explode(
709 float explosionRadius,
720 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
724 virtual ::std::unique_ptr<::Path>
727 virtual ::std::unique_ptr<::Path>
732 virtual ::PlayerSleepStatus getSleepStatus()
const ;
734 virtual void updateSleepingPlayerList() ;
736 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
738 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
740 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
742 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
745 virtual int getTime()
const ;
747 virtual void setTime(
int time) ;
749 virtual uint getSeed() ;
751 virtual ::LevelSeed64 getLevelSeed64()
const ;
753 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
755 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
757 virtual ::BlockPos
const& getDefaultSpawn()
const ;
759 virtual void setDefaultGameType(::GameType gameType) ;
761 virtual ::GameType getDefaultGameType()
const ;
763 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) ;
765 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
767 virtual bool getMultiplayerGameIntent()
const ;
769 virtual void setMultiplayerGame(
bool multiplayerGame) ;
771 virtual bool isMultiplayerGame()
const ;
773 virtual void setLANBroadcastIntent(
bool broadcast) ;
775 virtual bool getLANBroadcastIntent()
const ;
777 virtual void setLANBroadcast(
bool broadcast) ;
779 virtual bool getLANBroadcast()
const ;
781 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
783 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
785 virtual bool hasXBLBroadcastIntent()
const ;
787 virtual void setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
789 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
791 virtual bool hasXBLBroadcast()
const ;
793 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode) ;
795 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
797 virtual bool hasPlatformBroadcastIntent()
const ;
799 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode) ;
801 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
803 virtual bool hasPlatformBroadcast()
const ;
805 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
807 virtual void setHasLockedResourcePack(
bool hasLocked) ;
809 virtual void setCommandsEnabled(
bool commandsEnabled) ;
811 virtual void setWorldTemplateOptionsUnlocked() ;
813 virtual bool hasLevelStorage()
const ;
815 virtual ::LevelStorage& getLevelStorage() ;
817 virtual ::LevelStorage
const& getLevelStorage()
const ;
819 virtual ::LevelData& getLevelData() ;
821 virtual ::LevelData
const& getLevelData()
const ;
823 virtual ::PhotoStorage& getPhotoStorage()
const ;
825 virtual void createPhotoStorage() ;
827 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
829 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
831 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
833 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
836 virtual void save() ;
838 virtual void saveLevelData() ;
840 virtual void saveGameData() ;
842 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
844 virtual ::TickingAreasManager& getTickingAreasMgr() ;
846 virtual void addTickingAreaList(
848 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
851 virtual void playSound(
852 ::SharedTypes::Legacy::LevelSoundEvent type,
859 virtual void playSound(
860 ::SharedTypes::Legacy::LevelSoundEvent type,
866 virtual void playSound(
867 ::std::string
const& name,
871 ::std::optional<::ServerSoundHandle> serverSoundHandle
874 virtual void playSound(
876 ::SharedTypes::Legacy::LevelSoundEvent type,
883 virtual void playSound(
885 ::SharedTypes::Legacy::LevelSoundEvent type,
892 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
894 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
896 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
898 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
900 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
902 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
904 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
906 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
908 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
910 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
912 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
914 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
916 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
918 virtual void handleStopSoundEvent(::std::string
const& name) ;
920 virtual void handleStopAllSounds() ;
922 virtual void handleStopMusicEvent() ;
924 virtual void broadcastLevelEvent(
925 ::SharedTypes::Legacy::LevelEvent type,
931 virtual void broadcastLevelEvent(
932 ::SharedTypes::Legacy::LevelEvent type,
937 virtual void broadcastLocalEvent(
939 ::SharedTypes::Legacy::LevelEvent type,
944 virtual void broadcastLocalEvent(
946 ::SharedTypes::Legacy::LevelEvent type,
951 virtual void broadcastSoundEvent(
953 ::SharedTypes::Legacy::LevelSoundEvent type,
958 ::std::optional<::Vec3>
const& fireAtPosition
961 virtual void broadcastSoundEvent(
963 ::SharedTypes::Legacy::LevelSoundEvent type,
968 ::std::optional<::Vec3>
const& fireAtPosition
971 virtual void broadcastSoundEvent(
973 ::SharedTypes::Legacy::LevelSoundEvent type,
978 ::std::optional<::Vec3>
const& fireAtPosition
981 virtual void broadcastActorEvent(
983 ::ActorEvent eventId,
985 ::std::optional<::Vec3>
const& fireAtPosition
988 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
990 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
992 virtual void onChunkReload(
::Bounds const& bound) ;
994 virtual int getActivePlayerCount()
const ;
996 virtual int getActiveUsersCount()
const ;
998 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
1000 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
1002 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
1004 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
1006 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
1008 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
1010 virtual int getUserCount()
const ;
1014 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
1016 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
1022 virtual void onSubChunkLoaded(
1025 short absoluteSubChunkIndex,
1026 bool subChunkVisibilityChanged
1029 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
1035 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
1039 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1043 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1045 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1047 virtual void forceRemoveEntity(
::Actor& actor) ;
1049 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1051 virtual void forceFlushRemovedPlayers() ;
1053 virtual void loadFunctionManager() ;
1057 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1059 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1061 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1063 virtual bool destroyBlock(
1070 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1072 virtual void upgradeStorageVersion(::StorageVersion v) ;
1074 virtual void suspendAndSave() ;
1077 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1079 virtual ::Particle* addParticle(
1088 virtual void spawnParticleEffect(
1089 ::std::string
const& effectName,
1090 ::Vec3 const& spawnLocation,
1094 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1096 virtual void addParticleEffect(
1098 ::Vec3 const& emitterPosition,
1102 virtual void addTerrainParticleEffect(
1105 ::Vec3 const& emitterPosition,
1107 float velocityScalar,
1111 virtual void addTerrainSlideEffect(
1114 ::Vec3 const& emitterPosition,
1116 float velocityScalar,
1120 virtual void addBreakingItemParticleEffect(
1126 virtual void addBiomeTintedParticleEffect(
1130 ::std::optional<::mce::Color> overrideColor
1133 virtual ::ActorUniqueID getNewUniqueID() ;
1135 virtual ::ActorRuntimeID getNextRuntimeID() ;
1137 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1139 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1141 virtual ::std::vector<::ChunkPos>
1142 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1144 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1147 virtual bool isExporting()
const ;
1149 virtual void setIsExporting(
bool IsExporting) ;
1151 virtual ::SavedDataStorage& getSavedData() ;
1153 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1155 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1157 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1159 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1161 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1165 virtual ::MapItemSavedData& createMapSavedData(
1169 int returnScaleLevel
1172 virtual ::MapItemSavedData& createMapSavedData(
1173 ::std::vector<::ActorUniqueID>
const& mapIds,
1176 int returnScaleLevel
1179 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1181 virtual ::std::string getLevelId()
const ;
1183 virtual void setLevelId(::std::string LevelId) ;
1185 virtual ::TaskGroup& getSyncTasksGroup() ;
1187 virtual ::TaskGroup& getIOTasksGroup() ;
1189 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1191 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1193 virtual ::TradeTables* getTradeTables() ;
1195 virtual void decrementTagCache(
1196 ::std::string
const&,
1200 virtual void incrementTagCache(
1201 ::std::string
const&,
1205 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1207 virtual bool isEdu()
const ;
1209 virtual ::ActorFactory& getActorFactory() ;
1211 virtual ::ActorFactory
const& getActorFactory()
const ;
1213 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1215 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1217 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1219 virtual ::EntitySystems& getEntitySystems() ;
1221 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1223 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1225 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1228 virtual void runCommand(
1231 ::CommandOriginSystem originSystem,
1232 ::CurrentCmdVersion
const commandVersion
1238 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1242 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1246 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1247 getPlayerMovementSettingsManager() ;
1249 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1250 getPlayerMovementSettingsManager()
const ;
1252 virtual bool canUseSkin(
1258 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1260 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1262 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1264 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1266 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1268 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1270 virtual void flushRunTimeLighting() ;
1272 virtual ::std::weak_ptr<::ISubChunkLighter> getSubChunkLighter()
const ;
1274 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1276 virtual void initializeBlockDefinitionGroup() ;
1278 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1280 virtual bool isClientSideGenerationEnabled() ;
1282 virtual bool blockNetworkIdsAreHashes() ;
1284 virtual ::ItemRegistryRef getItemRegistry()
const ;
1286 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry()
const ;
1288 virtual ::Level* asLevel() ;
1290 virtual bool use3DBiomeMaps()
const ;
1292 virtual void pauseAndFlushTaskGroups() ;
1294 virtual ::DimensionManager& getDimensionManager() ;
1296 virtual ::DimensionManager
const& getDimensionManager()
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 isHardcore()
const ;
1366 virtual ::Abilities& getDefaultAbilities() ;
1368 virtual ::PermissionsHandler& getDefaultPermissions() ;
1370 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1372 virtual bool getTearingDown()
const ;
1374 virtual void takePicture(
1382 virtual ::LevelSoundManager& getLevelSoundManager() ;
1384 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1386 virtual void setSimPaused(
bool value) ;
1388 virtual bool getSimPaused()
const ;
1390 virtual void setFinishedInitializing() ;
1392 virtual ::LootTables& getLootTables() ;
1394 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1396 virtual int getNetherScale()
const ;
1398 virtual ::Scoreboard& getScoreboard() ;
1400 virtual ::Scoreboard
const& getScoreboard()
const ;
1402 virtual ::Scoreboard* tryGetScoreboard() ;
1404 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1408 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1410 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1412 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1414 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1415 getPlayerPermissionsSynchroniser() ;
1417 virtual ::Recipes& getRecipes()
const ;
1419 virtual ::BlockReducer* getBlockReducer()
const ;
1421 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1423 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1425 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1427 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1429 virtual ::BlockType
const& getRegisteredBorderBlock()
const ;
1431 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1432 getLevelChunkPerformanceTelemetry() ;
1434 virtual ::cereal::ReflectionCtx& cerealContext() ;
1436 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1438 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1440 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1442 virtual void clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId) ;
1446 virtual ::MolangPackSettingsCache
const* getMolangPackSettingsCache()
const ;
1448 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1450 virtual void _initializeMapDataManager();
1452 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1454 virtual void _onLowMemory() ;
1462 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1465 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorGarbageCollector> _getActorGarbageCollector();
1468 MCAPI ::GameplayUserManager& _getGameplayUserManager();
1470 MCAPI ::ILevelChunkEventManagerConnector& _getLevelChunkEventManagerConnector();
1472 MCFOLD ::LevelStorageManager* _getLevelStorageManager();
1474 MCAPI ::IPlayerDimensionTransferConnector& _getPlayerDimensionTransferConnector();
1476 MCAPI ::PlayerListManager& _getPlayerListManager();
1478 MCAPI
void _initializeActorManager();
1480 MCAPI
void _initializeBiomeManager();
1482 MCAPI
void _initializeEventCoordinatorManager();
1484 MCAPI
void _initializeGameplayUserManager();
1486 MCAPI
void _initializeLevelChunkEventManager();
1488 MCAPI
void _initializeLevelEventManager();
1490 MCAPI
void _initializeParticleProvider();
1492 MCAPI
void _onAddBreakingItemParticleEffect(
1498 MCAPI
void _onAddTerrainParticleEffect(
1501 ::Vec3 const& emitterPosition,
1502 float particleCount,
1503 float velocityScalar,
1507 MCAPI
void _onAddTerrainSlideEffect(
1510 ::Vec3 const& emitterPosition,
1511 float particleCount,
1512 float velocityScalar,
1516 MCAPI
void _onAnyGameplayUsersRemoved();
1518 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1528 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1530 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1532 MCAPI
void _onPictureTaken(
1540 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1542 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1544 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1549 MCAPI
void earlyShutdownMainthread();
1551 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1553 MCAPI ::AutonomousActorManager
const& getAutonomousActorManager()
const;
1555 MCAPI ::LinkedAssetValidator& getLinkedAssetValidator();
1557 MCAPI ::NpcDialogueStorage* getNpcDialogueStorage();
1560 MCAPI ::NpcEventCoordinator& getNpcEventCoordinator();
1563 MCAPI ::ParticleProvider& getParticleProvider();
1566 MCFOLD ::PhotoItemSavedDataCollection& getPhotoItemSavedDataCollection();
1569 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1571 MCAPI
double getTickDeltaTime()
const;
1573 MCAPI ::NodeType isFree(
1579 ::CanJumpIntoNode jumpIntoNode
1582 MCAPI
void loadShapeRegistry(
::Experiments const& experiments);
1585 MCAPI
void setMolangPackSettingsCache(::std::shared_ptr<::MolangPackSettingsCache> molangPackSettingsCache);
1588 MCAPI
void setPerformanceTelemetryPeriodicCallback(::std::function<
void()> callback);
1590 MCAPI
void transferActorToOwnedEntityLimbo(
::Player const& player,
::Actor& actor);
1596 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1602 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1604 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1605 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1609 MCAPI static ::LevelSeed64 createLevelSeed64();
1612 MCAPI
static uint createRandomSeed();
1614 MCAPI static ::std::string createUniqueLevelID(
int modifier);
1616 MCAPI
static bool isUsableLevel(
::ILevel const& level);
1618 MCAPI static ::LevelSeed64 parseLevelSeed64(::std::string
const& seedString);
1636 MCAPI
bool $initialize(
1637 ::std::string
const& levelName,
1640 ::std::string
const* levelId,
1641 ::std::optional<::std::reference_wrapper<
1642 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>>>
1643 biomeIdToResolvedData
1646 MCAPI
void $startLeaveGame();
1648 MCAPI
bool $isLeaveGameDone();
1650 MCAPI
bool $isDimensionTypeActive(
::DimensionType dimensionType)
const;
1652 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(
::DimensionType dimensionType);
1656 MCAPI ::DimensionType $resolvePlayerSpawnDimension(
::CompoundTag const* playerTag)
const;
1658 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1660 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1662 MCAPI uint $getChunkTickRange()
const;
1664 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1666 MCAPI ::PortalForcer& $getPortalForcer();
1670 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1672 MCAPI
void $entityChangeDimension(
::Actor& entity,
::DimensionType toId, ::std::optional<::Vec3> entityPos);
1674 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1676 MCFOLD ::Spawner& $getSpawner()
const;
1678 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1680 MCFOLD ::ProjectileFactory& $getProjectileFactory()
const;
1682 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions()
const;
1684 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
1686 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
1688 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
1690 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
1692 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
1694 MCFOLD ::CameraPresets& $getCameraPresets();
1696 MCAPI ::SharedTypes::v1_21_90::CameraPreset
const* $getCameraPreset(
int presetIndex)
const;
1698 MCAPI
bool $getDisablePlayerInteractions()
const;
1700 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
1702 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
1704 MCFOLD ::BehaviorFactory& $getBehaviorFactory()
const;
1706 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty()
const;
1708 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
1710 MCAPI
float $getSpecialMultiplier(
::DimensionType dimensionType)
const;
1712 MCAPI
bool $hasCommandsEnabled()
const;
1714 MCAPI
bool $useMsaGamertagsOnly()
const;
1716 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
1720 MCAPI ::Actor* $putEntity(
1739 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
1741 MCAPI
void $suspendPlayer(
::Player& player);
1743 MCAPI
void $resumePlayer(
::Player& player);
1745 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
1747 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
1749 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
1751 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
1753 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
1755 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
1759 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1761 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
1763 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
1765 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
1767 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
1769 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
1773 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
1775 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
1779 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
1781 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
1783 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
1787 MCAPI
int $getNumRemotePlayers()
const;
1789 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
1791 MCAPI ::IMinecraftEventing& $getEventing();
1793 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
1795 MCAPI ::Tick
const& $getCurrentTick()
const;
1797 MCAPI ::Tick
const $getCurrentServerTick()
const;
1799 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
1801 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
1803 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> $getContainerRegistryAccess()
const;
1805 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryTracker>> $getContainerRegistryTracker()
const;
1807 MCAPI ::gsl::not_null<::StackRefResult<::IDynamicContainerSerialization>> $getDynamicContainerSerialization()
const;
1809 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry const> $getShapeRegistry()
const;
1811 MCFOLD ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> $getMutableShapeRegistry()
const;
1813 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
1815 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
1817 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
1819 MCFOLD ::BlockPalette& $getBlockPalette();
1821 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
1823 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
1825 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
1827 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
1829 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
1831 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
1833 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
1835 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
1837 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
1839 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
1841 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
1843 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
1845 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
1847 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
1849 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
1851 MCAPI ::BiomeManager& $getBiomeManager();
1853 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& $getDimensionFactory()
const;
1855 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
1857 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
1858 $getLightTextureImageBuilderFactory()
const;
1860 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
1862 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
1864 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
1866 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
1868 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry const>
const $getWorldClockRegistry()
const;
1870 MCAPI ::Bedrock::NotNullNonOwnerPtr<::WorldClockRegistry> $getWorldClockRegistry();
1876 MCAPI
void $tickEntities();
1878 MCAPI
void $tickEntitySystems();
1884 MCAPI
bool $explode(
1888 float explosionRadius,
1891 float maxResistance,
1892 bool allowUnderwater
1899 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
1903 MCAPI ::std::unique_ptr<::Path>
1910 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
1912 MCAPI
void $updateSleepingPlayerList();
1914 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
1916 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
1918 MCAPI
int $getTime()
const;
1920 MCAPI
void $setTime(
int time);
1922 MCAPI uint $getSeed();
1924 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
1926 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
1928 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
1930 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
1932 MCAPI
void $setDefaultGameType(::GameType gameType);
1934 MCAPI ::GameType $getDefaultGameType()
const;
1936 MCAPI
void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
1938 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
1940 MCAPI
bool $getMultiplayerGameIntent()
const;
1942 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
1944 MCAPI
bool $isMultiplayerGame()
const;
1946 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
1948 MCAPI
bool $getLANBroadcastIntent()
const;
1950 MCAPI
void $setLANBroadcast(
bool broadcast);
1952 MCAPI
bool $getLANBroadcast()
const;
1954 MCAPI
void $setXBLBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1956 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent()
const;
1958 MCAPI
bool $hasXBLBroadcastIntent()
const;
1960 MCAPI
void $setXBLBroadcastMode(::Social::GamePublishSetting broadcastMode);
1962 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode()
const;
1964 MCAPI
bool $hasXBLBroadcast()
const;
1966 MCAPI
void $setPlatformBroadcastIntent(::Social::GamePublishSetting broadcastMode);
1968 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent()
const;
1970 MCAPI
bool $hasPlatformBroadcastIntent()
const;
1972 MCAPI
void $setPlatformBroadcastMode(::Social::GamePublishSetting broadcastMode);
1974 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode()
const;
1976 MCAPI
bool $hasPlatformBroadcast()
const;
1978 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
1980 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
1982 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
1984 MCAPI
void $setWorldTemplateOptionsUnlocked();
1986 MCAPI
bool $hasLevelStorage()
const;
1988 MCFOLD ::LevelStorage& $getLevelStorage();
1990 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
1992 MCFOLD ::LevelData& $getLevelData();
1994 MCFOLD ::LevelData
const& $getLevelData()
const;
1996 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
1998 MCAPI
void $createPhotoStorage();
2000 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
2002 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
2004 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
2006 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
2010 MCAPI
void $saveLevelData();
2012 MCAPI
void $saveGameData();
2014 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
2016 MCAPI ::TickingAreasManager& $getTickingAreasMgr();
2019 $addTickingAreaList(
::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
2021 MCAPI
void $playSound(
2022 ::SharedTypes::Legacy::LevelSoundEvent type,
2030 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
2032 MCAPI
void $playSound(
2033 ::std::string
const& name,
2037 ::std::optional<::ServerSoundHandle> serverSoundHandle
2040 MCAPI
void $playSound(
2042 ::SharedTypes::Legacy::LevelSoundEvent type,
2049 MCAPI
void $playSound(
2051 ::SharedTypes::Legacy::LevelSoundEvent type,
2058 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2060 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2062 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2064 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2066 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2068 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2070 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2072 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2074 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2076 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2078 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2080 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
2082 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2084 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
2086 MCAPI
void $handleStopAllSounds();
2088 MCAPI
void $handleStopMusicEvent();
2090 MCAPI
void $broadcastLevelEvent(
2091 ::SharedTypes::Legacy::LevelEvent type,
2097 MCAPI
void $broadcastLevelEvent(
2098 ::SharedTypes::Legacy::LevelEvent type,
2104 $broadcastLocalEvent(
::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2106 MCAPI
void $broadcastLocalEvent(
2108 ::SharedTypes::Legacy::LevelEvent type,
2113 MCAPI
void $broadcastSoundEvent(
2115 ::SharedTypes::Legacy::LevelSoundEvent type,
2120 ::std::optional<::Vec3>
const& fireAtPosition
2123 MCAPI
void $broadcastSoundEvent(
2125 ::SharedTypes::Legacy::LevelSoundEvent type,
2130 ::std::optional<::Vec3>
const& fireAtPosition
2133 MCAPI
void $broadcastSoundEvent(
2135 ::SharedTypes::Legacy::LevelSoundEvent type,
2140 ::std::optional<::Vec3>
const& fireAtPosition
2143 MCAPI
void $broadcastActorEvent(
2145 ::ActorEvent eventId,
2147 ::std::optional<::Vec3>
const& fireAtPosition
2150 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2152 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2154 MCAPI
void $onChunkReload(
::Bounds const& bound);
2156 MCAPI
int $getActivePlayerCount()
const;
2158 MCAPI
int $getActiveUsersCount()
const;
2160 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2162 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2164 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2166 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2168 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2170 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2172 MCAPI
int $getUserCount()
const;
2176 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2178 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2184 MCFOLD
void $onSubChunkLoaded(
2187 short absoluteSubChunkIndex,
2188 bool subChunkVisibilityChanged
2191 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2197 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2201 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2205 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2207 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2209 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2211 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2213 MCAPI
void $forceFlushRemovedPlayers();
2215 MCFOLD
void $loadFunctionManager();
2219 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2221 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2223 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2225 MCAPI
bool $destroyBlock(
2232 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2234 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2236 MCAPI
void $suspendAndSave();
2238 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2240 MCAPI ::Particle* $addParticle(
2250 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2252 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2254 MCAPI
void $addParticleEffect(
2256 ::Vec3 const& emitterPosition,
2260 MCAPI
void $addTerrainParticleEffect(
2263 ::Vec3 const& emitterPosition,
2265 float velocityScalar,
2269 MCAPI
void $addTerrainSlideEffect(
2272 ::Vec3 const& emitterPosition,
2274 float velocityScalar,
2278 MCAPI
void $addBreakingItemParticleEffect(
2284 MCAPI
void $addBiomeTintedParticleEffect(
2288 ::std::optional<::mce::Color> overrideColor
2291 MCAPI ::ActorUniqueID $getNewUniqueID();
2293 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2295 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2297 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2299 MCAPI ::std::vector<::ChunkPos>
2300 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2302 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2304 MCAPI
bool $isExporting()
const;
2306 MCAPI
void $setIsExporting(
bool IsExporting);
2308 MCAPI ::SavedDataStorage& $getSavedData();
2310 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2312 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2314 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2316 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2318 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2322 MCAPI ::MapItemSavedData& $createMapSavedData(
2326 int returnScaleLevel
2329 MCAPI ::MapItemSavedData& $createMapSavedData(
2330 ::std::vector<::ActorUniqueID>
const& mapIds,
2333 int returnScaleLevel
2336 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2338 MCAPI ::std::string $getLevelId()
const;
2340 MCAPI
void $setLevelId(::std::string LevelId);
2342 MCAPI ::TaskGroup& $getSyncTasksGroup();
2344 MCFOLD ::TaskGroup& $getIOTasksGroup();
2346 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2348 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2350 MCFOLD ::TradeTables* $getTradeTables();
2358 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2360 MCAPI
bool $isEdu()
const;
2362 MCFOLD ::ActorFactory& $getActorFactory();
2364 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2366 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2368 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2370 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2372 MCAPI ::EntitySystems& $getEntitySystems();
2374 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2376 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2378 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2380 MCFOLD
void $runCommand(
2383 ::CommandOriginSystem originSystem,
2384 ::CurrentCmdVersion
const commandVersion
2389 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2393 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2397 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2399 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2400 $getPlayerMovementSettingsManager()
const;
2402 MCFOLD
bool $canUseSkin(
2408 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2410 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2412 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2414 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2416 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2418 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2420 MCAPI
void $flushRunTimeLighting();
2422 MCFOLD ::std::weak_ptr<::ISubChunkLighter> $getSubChunkLighter()
const;
2424 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2426 MCAPI
void $initializeBlockDefinitionGroup();
2428 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2430 MCAPI
bool $isClientSideGenerationEnabled();
2432 MCFOLD
bool $blockNetworkIdsAreHashes();
2434 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2436 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry()
const;
2438 MCFOLD ::Level* $asLevel();
2440 MCAPI
bool $use3DBiomeMaps()
const;
2442 MCAPI
void $pauseAndFlushTaskGroups();
2444 MCFOLD ::DimensionManager& $getDimensionManager();
2446 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2448 MCFOLD
void $subChunkTickAndSendRequests();
2450 MCAPI
void $_subTick();
2452 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2454 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2456 MCFOLD
bool $isClientSide()
const;
2458 MCFOLD ::SubClientId $getSubClientId()
const;
2460 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2462 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2464 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2466 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2468 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2470 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2474 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2476 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2478 MCAPI ::PacketSender* $getPacketSender()
const;
2480 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2484 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2486 MCAPI ::IRandom& $getIRandom()
const;
2488 MCAPI ::Random& $getRandom()
const;
2490 MCFOLD ::Random& $getThreadRandom()
const;
2492 MCAPI ::HitResult& $getHitResult();
2494 MCAPI ::HitResult& $getLiquidHitResult();
2496 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2498 MCFOLD ::std::string
const& $getImmersiveReaderString()
const;
2500 MCAPI
void $setImmersiveReaderString(::std::string newString);
2502 MCAPI ::AdventureSettings& $getAdventureSettings();
2504 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2506 MCAPI ::GameRules
const& $getGameRules()
const;
2508 MCAPI ::GameRules& $getGameRules();
2510 MCAPI
bool $hasStartWithMapEnabled()
const;
2512 MCAPI
bool $isEditorWorld()
const;
2514 MCAPI
bool $isHardcore()
const;
2516 MCAPI ::Abilities& $getDefaultAbilities();
2518 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2520 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2522 MCAPI
bool $getTearingDown()
const;
2524 MCAPI
void $takePicture(
2532 MCFOLD ::LevelSoundManager& $getLevelSoundManager();
2534 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2536 MCAPI
void $setSimPaused(
bool value);
2538 MCAPI
bool $getSimPaused()
const;
2540 MCAPI
void $setFinishedInitializing();
2542 MCFOLD ::LootTables& $getLootTables();
2544 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2546 MCAPI
int $getNetherScale()
const;
2548 MCFOLD ::Scoreboard& $getScoreboard();
2550 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2552 MCFOLD ::Scoreboard* $tryGetScoreboard();
2554 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2558 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2560 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2562 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2564 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2566 MCFOLD ::Recipes& $getRecipes()
const;
2568 MCAPI ::BlockReducer* $getBlockReducer()
const;
2570 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2572 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2574 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2576 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2578 MCAPI ::BlockType
const& $getRegisteredBorderBlock()
const;
2580 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2582 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2584 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2586 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2588 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2590 MCFOLD
void $clearAllGenerationRequests(
::NetworkIdentifier const& player, ::SubClientId clientId);
2594 MCAPI ::MolangPackSettingsCache
const* $getMolangPackSettingsCache()
const;
2596 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2598 MCAPI
void $_initializeMapDataManager();
2600 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2602 MCAPI
void $_onLowMemory();
2612 MCAPI
static void** $vftableForBlockSourceListener();