253 using RegionSet = ::std::unordered_set<::BlockSource*>;
258 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>
const> mPacketSender;
265 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
266 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
267 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
268 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>
const> mLevelData;
269 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
270 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
271 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
272 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
273 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
275 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
276 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
277 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
278 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
282 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
283 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
284 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
285 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
286 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
288 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
289 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
290 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
291 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
292 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
293 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>>
const> mContainerRegistry;
294 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
295 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
296 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
297 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
298 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
299 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
300 ::ll::TypedStorage<1, 1, bool> mIsExporting;
301 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
302 ::ll::TypedStorage<1, 1, bool> mSimPaused;
303 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
304 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
305 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
306 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
307 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
308 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
309 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
310 ::ll::TypedStorage<1, 1, bool> mTearingDown;
311 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
312 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
313 mEventCoordinatorManager;
314 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
315 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
316 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
317 mLevelChunkPerformanceTelemetry;
318 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
319 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
320 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
321 mJigsawStructureRegistry;
322 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
323 mStructureSpawnRegistry;
324 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionFactory>>> mDimensionFactory;
325 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionManager>>> mDimensionManager;
326 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
327 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
328 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
329 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
330 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
331 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
332 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
333 mLightTextureImageBuilderFactory;
334 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
335 mEducationSettingsManager;
336 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
337 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
338 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
339 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
340 mPositionTrackerDBClient;
341 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
342 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
343 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
344 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
345 mActorGarbageCollector;
346 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
347 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
348 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
349 mAutonomousActorManager;
350 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
351 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
352 mGameplayUserManager;
353 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
354 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
355 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
356 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
357 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MolangPackSettingsCache>> mMolangPackSettingsCache;
358 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
359 mActorRuntimeIDManager;
360 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
361 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
362 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
363 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
364 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
365 mServerParticleManager;
366 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
367 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
368 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
369 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
370 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
371 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
372 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
373 mChunkTickRangeManager;
374 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
375 mChunkViewTrackerManager;
376 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster>
const> mActorEventBroadcaster;
377 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
378 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
379 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
380 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
381 mPlayerDimensionTransferManager;
382 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>>
const>
383 mLevelCrashDumpManager;
384 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
385 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
386 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
387 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
388 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
389 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
390 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
391 mChunkTickOffsetManager;
392 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
393 mPlayerMovementSettingsManager;
394 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeathSettingsManager>>>
395 mTickDeathSettingsManager;
396 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
397 mPlayerAbilitiesManager;
398 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
399 mPlayerPermissionsManager;
400 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
401 mPlayerPermissionsSynchroniser;
402 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
403 mLevelChunkEventManager;
404 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
405 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
406 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
407 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
408 mActorDimensionTransferManager;
409 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
410 mLevelBlockDestroyer;
411 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
412 mTickDeltaTimeManager;
413 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::TickTimeManager>>> mTickTimeManager;
414 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
415 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
416 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
417 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
418 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
434 virtual bool initialize(
435 ::std::string
const& levelName,
438 ::std::string
const* levelId,
439 ::std::optional<::std::reference_wrapper<
440 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
441 biomeIdToResolvedData
445 virtual void startLeaveGame() ;
448 virtual bool isLeaveGameDone() ;
451 virtual ::WeakRef<::Dimension> getOrCreateDimension(
::DimensionType dimensionType) ;
454 virtual ::WeakRef<::Dimension> getDimension(
::DimensionType id)
const ;
457 virtual ::DimensionType getLastOrDefaultSpawnDimensionId(
::DimensionType lastDimensionId)
const ;
460 virtual void forEachDimension(::std::function<
bool(
::Dimension&)> callback) ;
463 virtual void forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const ;
466 virtual uint getChunkTickRange()
const ;
469 virtual ::ChunkTickRangeManager
const& getChunkTickRangeManager()
const ;
472 virtual ::PortalForcer& getPortalForcer() ;
478 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
479 getPlayerDimensionTransferManager() ;
486 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
487 getActorDimensionTransferManager() ;
490 virtual ::Spawner& getSpawner()
const ;
493 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
494 getBossEventSubscriptionManager() ;
497 virtual ::ProjectileFactory& getProjectileFactory()
const ;
500 virtual ::ActorDefinitionGroup* getEntityDefinitions()
const ;
503 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup()
const ;
506 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup()
const
510 virtual ::BlockDefinitionGroup* getBlockDefinitions()
const ;
513 virtual ::PropertyGroupManager& getActorPropertyGroup()
const ;
516 virtual ::CameraPresets
const& getCameraPresets()
const ;
519 virtual ::CameraPresets& getCameraPresets() ;
522 virtual ::SharedTypes::v1_21_90::CameraPreset
const* getCameraPreset(
int presetIndex)
const ;
525 virtual bool getDisablePlayerInteractions()
const ;
528 virtual void setDisablePlayerInteractions(
bool const disable) ;
531 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup()
const ;
534 virtual ::BehaviorFactory& getBehaviorFactory()
const ;
537 virtual ::SharedTypes::Legacy::Difficulty getDifficulty()
const ;
540 virtual ::DimensionConversionData getDimensionConversionData()
const ;
543 virtual float getSpecialMultiplier(
::DimensionType dimensionType)
const ;
546 virtual bool hasCommandsEnabled()
const ;
549 virtual bool useMsaGamertagsOnly()
const ;
552 virtual void setMsaGamertagsOnly(
bool msaGamertagsOnly) ;
558 virtual ::Actor* putEntity(
585 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() ;
588 virtual void suspendPlayer(
::Player& player) ;
591 virtual void resumePlayer(
::Player& player) ;
594 virtual bool isPlayerSuspended(
::Player& player)
const ;
597 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() ;
600 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager()
const ;
603 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() ;
606 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(
::WeakEntityRef entityRef) ;
609 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef) ;
615 virtual ::StrictEntityContext fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
618 virtual ::Actor* fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const ;
621 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher()
const ;
624 virtual ::Actor* getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const ;
627 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() ;
630 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager()
const ;
636 virtual ::Player* getPlayer(::std::string
const& name)
const ;
639 virtual ::Player* getPlayer(
::mce::UUID const& uuid)
const ;
645 virtual ::Player* getPlayerByXuid(::std::string
const& xuid)
const ;
648 virtual ::Player* getPlatformPlayer(::std::string
const& platformOnlineId)
const ;
651 virtual ::Player* getPlayerFromServerId(::std::string
const& serverId)
const ;
657 virtual int getNumRemotePlayers()
const ;
660 virtual ::Player* getPrimaryLocalPlayer()
const ;
663 virtual ::IMinecraftEventing& getEventing() ;
666 virtual ::mce::Color getPlayerColor(
::Player const& player)
const ;
669 virtual ::Tick
const& getCurrentTick()
const ;
672 virtual ::Tick
const getCurrentServerTick()
const ;
675 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager()
const ;
678 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
681 virtual ::VoxelShapes::VoxelShapeRegistry
const* getShapeRegistry()
const ;
684 virtual ::BiomeRegistry
const& getBiomeRegistry()
const ;
687 virtual ::BiomeRegistry& getBiomeRegistry() ;
690 virtual ::BlockPalette
const& getBlockPalette()
const ;
693 virtual ::BlockPalette& getBlockPalette() ;
696 virtual ::FeatureRegistry
const& getFeatureRegistry()
const ;
699 virtual ::FeatureRegistry& getFeatureRegistry() ;
702 virtual ::FeatureTypeFactory
const& getFeatureTypeFactory()
const ;
705 virtual ::FeatureTypeFactory& getFeatureTypeFactory() ;
708 virtual ::JigsawStructureRegistry
const& getJigsawStructureRegistry()
const ;
711 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() ;
714 virtual ::StructureSpawnRegistry
const& getStructureSpawnRegistry()
const ;
717 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() ;
720 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const getStructureManager()
const ;
723 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() ;
726 virtual ::BiomeComponentFactory
const& getBiomeComponentFactory()
const ;
729 virtual ::BiomeComponentFactory& getBiomeComponentFactory() ;
732 virtual ::SurfaceBuilderRegistry
const& getSurfaceBuilderRegistry()
const ;
735 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() ;
738 virtual ::BiomeManager
const& getBiomeManager()
const ;
741 virtual ::BiomeManager& getBiomeManager() ;
744 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& getDimensionFactory()
const
748 virtual ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& getDimensionFactory() ;
751 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
752 getLightTextureImageBuilderFactory()
const ;
755 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
756 getLightTextureImageBuilderFactory() ;
759 virtual ::InternalComponentRegistry& getInternalComponentRegistry()
const ;
762 virtual ::IWorldRegistriesProvider
const& getWorldRegistriesProvider()
const ;
765 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() ;
774 virtual void tickEntities() ;
777 virtual void tickEntitySystems() ;
783 virtual void tick() ;
786 virtual bool explode(
790 float explosionRadius,
804 virtual void potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect) ;
810 virtual ::std::unique_ptr<::Path>
814 virtual ::std::unique_ptr<::Path>
821 virtual ::PlayerSleepStatus getSleepStatus()
const ;
824 virtual void updateSleepingPlayerList() ;
827 virtual ::PlayerSleepManager
const& getPlayerSleepManager()
const = 0;
830 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
833 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() ;
836 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager()
const
840 virtual int getTime()
const ;
843 virtual void setTime(
int time) ;
846 virtual uint getSeed() ;
849 virtual ::LevelSeed64 getLevelSeed64()
const ;
852 virtual ::BlockPos
const& getSharedSpawnPos()
const ;
855 virtual void setDefaultSpawn(
::BlockPos const& spawnPos) ;
858 virtual ::BlockPos
const& getDefaultSpawn()
const ;
861 virtual void setDefaultGameType(::GameType gameType) ;
864 virtual ::GameType getDefaultGameType()
const ;
867 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty difficulty) ;
870 virtual void setMultiplayerGameIntent(
bool multiplayerGame) ;
873 virtual bool getMultiplayerGameIntent()
const ;
876 virtual void setMultiplayerGame(
bool multiplayerGame) ;
879 virtual bool isMultiplayerGame()
const ;
882 virtual void setLANBroadcastIntent(
bool broadcast) ;
885 virtual bool getLANBroadcastIntent()
const ;
888 virtual void setLANBroadcast(
bool broadcast) ;
891 virtual bool getLANBroadcast()
const ;
894 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting) ;
897 virtual ::Social::GamePublishSetting getXBLBroadcastIntent()
const ;
900 virtual bool hasXBLBroadcastIntent()
const ;
903 virtual void setXBLBroadcastMode(::Social::GamePublishSetting) ;
906 virtual ::Social::GamePublishSetting getXBLBroadcastMode()
const ;
909 virtual bool hasXBLBroadcast()
const ;
912 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting) ;
915 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent()
const ;
918 virtual bool hasPlatformBroadcastIntent()
const ;
921 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting) ;
924 virtual ::Social::GamePublishSetting getPlatformBroadcastMode()
const ;
927 virtual bool hasPlatformBroadcast()
const ;
930 virtual void setHasLockedBehaviorPack(
bool hasLocked) ;
933 virtual void setHasLockedResourcePack(
bool hasLocked) ;
936 virtual void setCommandsEnabled(
bool commandsEnabled) ;
939 virtual void setWorldTemplateOptionsUnlocked() ;
942 virtual bool hasLevelStorage()
const ;
945 virtual ::LevelStorage& getLevelStorage() ;
948 virtual ::LevelStorage
const& getLevelStorage()
const ;
951 virtual ::LevelData& getLevelData() ;
954 virtual ::LevelData
const& getLevelData()
const ;
957 virtual ::PhotoStorage& getPhotoStorage()
const ;
960 virtual void createPhotoStorage() ;
963 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() ;
966 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager()
const ;
969 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() ;
972 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager()
const
976 virtual void save() ;
979 virtual void saveLevelData() ;
982 virtual void saveGameData() ;
985 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() ;
988 virtual ::TickingAreasManager& getTickingAreasMgr() ;
991 virtual void addTickingAreaList(
993 ::std::shared_ptr<::TickingAreaList>
const& tickingAreas
997 virtual void playSound(
998 ::SharedTypes::Legacy::LevelSoundEvent type,
1006 virtual void playSound(
1007 ::SharedTypes::Legacy::LevelSoundEvent type,
1014 virtual void playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch) ;
1017 virtual void playSound(
1019 ::SharedTypes::Legacy::LevelSoundEvent type,
1027 virtual void playSound(
1029 ::SharedTypes::Legacy::LevelSoundEvent type,
1037 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() ;
1040 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() ;
1043 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() ;
1046 virtual ::ActorEventCoordinator& getActorEventCoordinator() ;
1049 virtual ::BlockEventCoordinator& getBlockEventCoordinator() ;
1052 virtual ::ItemEventCoordinator& getItemEventCoordinator() ;
1055 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() ;
1058 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() ;
1061 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() ;
1064 virtual ::LevelEventCoordinator& getLevelEventCoordinator() ;
1067 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data) ;
1070 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data) ;
1073 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() ;
1076 virtual void handleStopSoundEvent(::std::string
const& name) ;
1079 virtual void handleStopAllSounds() ;
1082 virtual void handleStopMusicEvent() ;
1085 virtual void broadcastLevelEvent(
1086 ::SharedTypes::Legacy::LevelEvent type,
1093 virtual void broadcastLevelEvent(
1094 ::SharedTypes::Legacy::LevelEvent type,
1100 virtual void broadcastLocalEvent(
1102 ::SharedTypes::Legacy::LevelEvent type,
1108 virtual void broadcastLocalEvent(
1110 ::SharedTypes::Legacy::LevelEvent type,
1116 virtual void broadcastSoundEvent(
1118 ::SharedTypes::Legacy::LevelSoundEvent type,
1126 virtual void broadcastSoundEvent(
1128 ::SharedTypes::Legacy::LevelSoundEvent type,
1136 virtual void broadcastSoundEvent(
1138 ::SharedTypes::Legacy::LevelSoundEvent type,
1146 virtual void broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const ;
1149 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster()
const ;
1152 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) ;
1155 virtual void onChunkReload(
::Bounds const& bound) ;
1158 virtual int getActivePlayerCount()
const ;
1161 virtual int getActiveUsersCount()
const ;
1164 virtual void forEachPlayer(::std::function<
bool(
::Player&)> callback) ;
1167 virtual void forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const ;
1170 virtual void forEachUser(::std::function<
bool(
::EntityContext&)> callback) ;
1173 virtual void forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const ;
1176 virtual ::Player* findPlayer(::std::function<
bool(
::Player const&)> pred)
const ;
1179 virtual ::Player* findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const ;
1182 virtual int getUserCount()
const ;
1188 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getUsers()
const ;
1191 virtual ::std::vector<::OwnerPtr<::EntityContext>>
const& getEntities()
const ;
1200 virtual void onSubChunkLoaded(
1203 short absoluteSubChunkIndex,
1204 bool subChunkVisibilityChanged
1208 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() ;
1217 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() ;
1223 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() ;
1229 virtual ::OwnerPtr<::EntityContext> removeEntity(
::Actor& actor) ;
1232 virtual ::OwnerPtr<::EntityContext> removeEntity(
::WeakEntityRef entityRef) ;
1235 virtual void forceRemoveEntity(
::Actor& actor) ;
1238 virtual void forceRemoveEntityfromWorld(
::Actor& actor) ;
1241 virtual void forceFlushRemovedPlayers() ;
1244 virtual void loadFunctionManager() ;
1250 virtual void registerTemporaryPointer(
::_TickPtr& ptr) ;
1253 virtual void unregisterTemporaryPointer(
::_TickPtr& ptr) ;
1256 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() ;
1259 virtual bool destroyBlock(
1267 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() ;
1270 virtual void upgradeStorageVersion(::StorageVersion v) ;
1273 virtual void suspendAndSave() ;
1277 sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data) ;
1280 virtual ::Particle* addParticle(
1290 virtual void spawnParticleEffect(
1291 ::std::string
const& effectName,
1292 ::Vec3 const& spawnLocation,
1297 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() ;
1300 virtual void addParticleEffect(
1302 ::Vec3 const& emitterPosition,
1307 virtual void addTerrainParticleEffect(
1310 ::Vec3 const& emitterPosition,
1312 float velocityScalar,
1317 virtual void addTerrainSlideEffect(
1320 ::Vec3 const& emitterPosition,
1322 float velocityScalar,
1327 virtual void addBreakingItemParticleEffect(
1334 virtual void addBiomeTintedParticleEffect(
1338 ::std::optional<::mce::Color> overrideColor
1342 virtual ::ActorUniqueID getNewUniqueID() ;
1345 virtual ::ActorRuntimeID getNextRuntimeID() ;
1348 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets()
const ;
1351 virtual ::std::vector<::ChunkPos>
const& getClientTickingOffsets()
const ;
1354 virtual ::std::vector<::ChunkPos>
1355 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const ;
1358 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager()
const
1362 virtual bool isExporting()
const ;
1365 virtual void setIsExporting(
bool IsExporting) ;
1368 virtual ::SavedDataStorage& getSavedData() ;
1371 virtual ::MapItemSavedData* getMapSavedData(
::ActorUniqueID const uuid) ;
1374 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const& instance) ;
1377 virtual ::MapItemSavedData* getMapSavedData(
::CompoundTag const* instance) ;
1380 virtual void requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate) ;
1383 virtual ::ActorUniqueID expandMapByID(
::ActorUniqueID const uuid,
bool wasInit) ;
1389 virtual ::MapItemSavedData& createMapSavedData(
1393 int returnScaleLevel
1397 virtual ::MapItemSavedData& createMapSavedData(
1398 ::std::vector<::ActorUniqueID>
const& mapIds,
1401 int returnScaleLevel
1405 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder()
const ;
1408 virtual ::std::string getLevelId()
const ;
1411 virtual void setLevelId(::std::string LevelId) ;
1414 virtual ::TaskGroup& getSyncTasksGroup() ;
1417 virtual ::TaskGroup& getIOTasksGroup() ;
1420 virtual ::ResourcePackManager* getClientResourcePackManager()
const ;
1423 virtual ::ResourcePackManager* getServerResourcePackManager()
const ;
1426 virtual ::TradeTables* getTradeTables() ;
1429 virtual void decrementTagCache(
1430 ::std::string
const& tag,
1435 virtual void incrementTagCache(
1436 ::std::string
const& tag,
1441 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() ;
1444 virtual bool isEdu()
const ;
1447 virtual ::ActorFactory& getActorFactory() ;
1450 virtual ::ActorFactory
const& getActorFactory()
const ;
1453 virtual ::ActorInfoRegistry* getActorInfoRegistry() ;
1456 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
1459 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
1462 virtual ::EntitySystems& getEntitySystems() ;
1465 virtual ::WeakRef<::EntityContext> getLevelEntity() ;
1468 virtual ::WeakRef<::EntityContext const> getLevelEntity()
const ;
1471 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer()
const
1475 virtual void runCommand(
1478 ::CommandOriginSystem originSystem,
1479 ::CurrentCmdVersion
const commandVersion
1487 virtual ::PlayerCapabilities::ISharedController
const& getCapabilities()
const ;
1493 virtual ::PlayerMovementSettings
const& getPlayerMovementSettings()
const ;
1499 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1500 getPlayerMovementSettingsManager() ;
1503 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1504 getPlayerMovementSettingsManager()
const ;
1507 virtual ::TickDeathSettings
const& getTickDeathSettings()
const ;
1513 virtual bool canUseSkin(
1520 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper()
const ;
1523 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry()
const ;
1526 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() ;
1529 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() ;
1532 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient()
const ;
1535 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer()
const ;
1538 virtual void flushRunTimeLighting() ;
1541 virtual void loadBlockDefinitionGroup(
::Experiments const& experiments) ;
1544 virtual void initializeBlockDefinitionGroup() ;
1547 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() ;
1550 virtual bool isClientSideGenerationEnabled() ;
1553 virtual bool blockNetworkIdsAreHashes() ;
1556 virtual ::ItemRegistryRef getItemRegistry()
const ;
1559 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry()
const ;
1562 virtual ::Level* asLevel() ;
1565 virtual bool use3DBiomeMaps()
const ;
1568 virtual void pauseAndFlushTaskGroups() ;
1571 virtual ::DimensionManager& getDimensionManager() ;
1574 virtual ::DimensionManager
const& getDimensionManager()
const ;
1577 virtual void subChunkTickAndSendRequests() ;
1580 virtual void _subTick();
1583 virtual ::StackRefResult<::PauseManager> getPauseManager() ;
1586 virtual ::StackRefResult<::PauseManager const> getPauseManager()
const ;
1589 virtual bool isClientSide()
const ;
1592 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& getPlayerList()
const ;
1595 virtual ::std::string
const& getPlayerXUID(
::mce::UUID const& uuid)
const ;
1598 virtual ::std::string
const& getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const ;
1601 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() ;
1604 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager()
const ;
1607 virtual ::std::vector<::WeakEntityRef>
const& getActiveUsers()
const ;
1610 virtual void notifySubChunkRequestManager(
::SubChunkPacket const& packet) ;
1613 virtual ::SubChunkRequestManager* getSubChunkRequestManager() ;
1616 virtual ::std::vector<::Actor*> getRuntimeActorList()
const ;
1619 virtual ::PacketSender* getPacketSender()
const ;
1622 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback()
const ;
1628 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() ;
1631 virtual ::IRandom& getIRandom()
const ;
1634 virtual ::Random& getRandom()
const ;
1637 virtual ::Random& getThreadRandom()
const ;
1640 virtual ::HitResult& getHitResult() ;
1643 virtual ::HitResult& getLiquidHitResult() ;
1646 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() ;
1649 virtual ::std::string
const& getImmersiveReaderString()
const ;
1652 virtual void setImmersiveReaderString(::std::string newString) ;
1655 virtual ::AdventureSettings& getAdventureSettings() ;
1658 virtual ::AdventureSettings
const& getAdventureSettings()
const ;
1661 virtual ::GameRules
const& getGameRules()
const ;
1664 virtual ::GameRules& getGameRules() ;
1667 virtual bool hasStartWithMapEnabled()
const ;
1670 virtual bool isEditorWorld()
const ;
1673 virtual bool isHardcore()
const ;
1676 virtual ::Abilities& getDefaultAbilities() ;
1679 virtual ::PermissionsHandler& getDefaultPermissions() ;
1682 virtual ::PermissionsHandler
const& getDefaultPermissions()
const ;
1685 virtual bool getTearingDown()
const ;
1688 virtual void takePicture(
1697 virtual ::LevelSoundManager& getLevelSoundManager() ;
1700 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer()
const ;
1703 virtual void setSimPaused(
bool value) ;
1706 virtual bool getSimPaused() ;
1709 virtual void setFinishedInitializing() ;
1712 virtual ::LootTables& getLootTables() ;
1715 virtual void updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime) ;
1718 virtual int getNetherScale()
const ;
1721 virtual ::Scoreboard& getScoreboard() ;
1724 virtual ::Scoreboard
const& getScoreboard()
const ;
1727 virtual ::Scoreboard* tryGetScoreboard() ;
1730 virtual ::LayeredAbilities* getPlayerAbilities(
::ActorUniqueID const& playerId) ;
1736 virtual void sendAllPlayerAbilities(
::Player const& playerReference) ;
1739 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() ;
1742 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() ;
1745 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1746 getPlayerPermissionsSynchroniser() ;
1749 virtual ::Recipes& getRecipes()
const ;
1752 virtual ::BlockReducer* getBlockReducer()
const ;
1755 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry()
const ;
1758 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() ;
1761 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry()
const ;
1764 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() ;
1767 virtual ::BlockType
const& getRegisteredBorderBlock()
const ;
1770 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1771 getLevelChunkPerformanceTelemetry() ;
1774 virtual ::cereal::ReflectionCtx& cerealContext() ;
1777 virtual ::cereal::ReflectionCtx
const& cerealContext()
const ;
1780 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() ;
1783 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager()
const ;
1789 virtual ::MolangPackSettingsCache* getMolangPackSettingsCache() ;
1792 virtual ::PlayerDeathManager* _getPlayerDeathManager() ;
1795 virtual void _initializeMapDataManager();
1798 virtual ::cereal::ReflectionCtx& _cerealContext() ;
1801 virtual void _onLowMemory() ;
1808 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1809 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface>
const& soundPlayer,
1811 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1814 ::SubClientId subClientId,
1816 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1818 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>
const& entityRegistryOwner,
1821 ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> blockTypeRegistry,
1822 bool clientSideChunkGenerationEnabled,
1823 bool blockNetworkIdsAreHashes,
1825 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1827 ::std::unique_ptr<::ParticleProvider> particles
1830 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1832 MCAPI
void _initializeActorManager();
1834 MCAPI
void _initializeBiomeManager();
1836 MCAPI
void _initializeEventCoordinatorManager();
1838 MCAPI
void _initializeGameplayUserManager();
1840 MCAPI
void _initializeLevelChunkEventManager();
1842 MCAPI
void _initializeLevelEventManager();
1844 MCAPI
void _initializeParticleProvider();
1846 MCAPI
void _onAddBiomeTintedParticleEffect(
1850 ::std::optional<::mce::Color> overrideColor
1853 MCAPI
void _onAddBreakingItemParticleEffect(
1859 MCAPI
void _onAddTerrainParticleEffect(
1862 ::Vec3 const& emitterPosition,
1863 float particleCount,
1864 float velocityScalar,
1868 MCAPI
void _onAddTerrainSlideEffect(
1871 ::Vec3 const& emitterPosition,
1872 float particleCount,
1873 float velocityScalar,
1877 MCAPI
void _onAnyGameplayUsersRemoved();
1879 MCAPI
void _onChunkDiscarded(
::LevelChunk& levelChunk);
1889 MCAPI
void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
1891 MCAPI
void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
1893 MCAPI
void _onPictureTaken(
1901 MCAPI
void _onRemoveActorEntityReferences(
::Actor& actor);
1903 MCAPI
void _onSendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
1905 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1908 MCAPI
void earlyShutdownMainthread();
1910 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1912 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1914 MCAPI
void setShapeRegistry(::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> registry);
1920 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1926 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1928 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1929 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1937 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1938 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface>
const& soundPlayer,
1940 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1943 ::SubClientId subClientId,
1945 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1947 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>
const& entityRegistryOwner,
1950 ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> blockTypeRegistry,
1951 bool clientSideChunkGenerationEnabled,
1952 bool blockNetworkIdsAreHashes,
1954 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1956 ::std::unique_ptr<::ParticleProvider> particles
1969 MCAPI
bool $initialize(
1970 ::std::string
const& levelName,
1973 ::std::string
const* levelId,
1974 ::std::optional<::std::reference_wrapper<
1975 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
1976 biomeIdToResolvedData
1979 MCAPI
void $startLeaveGame();
1981 MCAPI
bool $isLeaveGameDone();
1983 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(
::DimensionType dimensionType);
1987 MCAPI ::DimensionType $getLastOrDefaultSpawnDimensionId(
::DimensionType lastDimensionId)
const;
1989 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension&)> callback);
1991 MCFOLD
void $forEachDimension(::std::function<
bool(
::Dimension const&)> callback)
const;
1993 MCAPI uint $getChunkTickRange()
const;
1995 MCAPI ::ChunkTickRangeManager
const& $getChunkTickRangeManager()
const;
1997 MCAPI ::PortalForcer& $getPortalForcer();
2001 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
2003 MCAPI
void $entityChangeDimension(
::Actor& entity,
::DimensionType toId, ::std::optional<::Vec3> entityPos);
2005 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
2007 MCFOLD ::Spawner& $getSpawner()
const;
2009 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
2011 MCFOLD ::ProjectileFactory& $getProjectileFactory()
const;
2013 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions()
const;
2015 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup()
const;
2017 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup()
const;
2019 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions()
const;
2021 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup()
const;
2023 MCFOLD ::CameraPresets
const& $getCameraPresets()
const;
2025 MCFOLD ::CameraPresets& $getCameraPresets();
2027 MCAPI ::SharedTypes::v1_21_90::CameraPreset
const* $getCameraPreset(
int presetIndex)
const;
2029 MCAPI
bool $getDisablePlayerInteractions()
const;
2031 MCAPI
void $setDisablePlayerInteractions(
bool const disable);
2033 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup()
const;
2035 MCAPI ::BehaviorFactory& $getBehaviorFactory()
const;
2037 MCAPI ::SharedTypes::Legacy::Difficulty $getDifficulty()
const;
2039 MCAPI ::DimensionConversionData $getDimensionConversionData()
const;
2041 MCAPI
float $getSpecialMultiplier(
::DimensionType dimensionType)
const;
2043 MCAPI
bool $hasCommandsEnabled()
const;
2045 MCAPI
bool $useMsaGamertagsOnly()
const;
2047 MCAPI
void $setMsaGamertagsOnly(
bool msaGamertagsOnly);
2051 MCAPI ::Actor* $putEntity(
2070 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
2072 MCAPI
void $suspendPlayer(
::Player& player);
2074 MCAPI
void $resumePlayer(
::Player& player);
2076 MCAPI
bool $isPlayerSuspended(
::Player& player)
const;
2078 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
2080 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager()
const;
2082 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
2084 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(
::WeakEntityRef entityRef);
2086 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(
::WeakEntityRef entityRef);
2090 MCAPI ::StrictEntityContext $fetchStrictEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
2092 MCAPI ::Actor* $fetchEntity(
::ActorUniqueID actorId,
bool getRemoved)
const;
2094 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher()
const;
2096 MCAPI ::Actor* $getRuntimeEntity(
::ActorRuntimeID actorId,
bool getRemoved)
const;
2098 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
2100 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager()
const;
2104 MCAPI ::Player* $getPlayer(::std::string
const& name)
const;
2106 MCAPI ::Player* $getPlayer(
::mce::UUID const& uuid)
const;
2110 MCAPI ::Player* $getPlayerByXuid(::std::string
const& xuid)
const;
2112 MCAPI ::Player* $getPlatformPlayer(::std::string
const& platformOnlineId)
const;
2114 MCAPI ::Player* $getPlayerFromServerId(::std::string
const& serverId)
const;
2118 MCAPI
int $getNumRemotePlayers()
const;
2120 MCAPI ::Player* $getPrimaryLocalPlayer()
const;
2122 MCAPI ::IMinecraftEventing& $getEventing();
2124 MCAPI ::mce::Color $getPlayerColor(
::Player const& player)
const;
2126 MCAPI ::Tick
const& $getCurrentTick()
const;
2128 MCAPI ::Tick
const $getCurrentServerTick()
const;
2130 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager()
const;
2132 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
2134 MCAPI ::VoxelShapes::VoxelShapeRegistry
const* $getShapeRegistry()
const;
2136 MCFOLD ::BiomeRegistry
const& $getBiomeRegistry()
const;
2138 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
2140 MCFOLD ::BlockPalette
const& $getBlockPalette()
const;
2142 MCFOLD ::BlockPalette& $getBlockPalette();
2144 MCFOLD ::FeatureRegistry
const& $getFeatureRegistry()
const;
2146 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
2148 MCFOLD ::FeatureTypeFactory
const& $getFeatureTypeFactory()
const;
2150 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
2152 MCFOLD ::JigsawStructureRegistry
const& $getJigsawStructureRegistry()
const;
2154 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
2156 MCFOLD ::StructureSpawnRegistry
const& $getStructureSpawnRegistry()
const;
2158 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
2160 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager>
const $getStructureManager()
const;
2162 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
2164 MCFOLD ::BiomeComponentFactory
const& $getBiomeComponentFactory()
const;
2166 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
2168 MCFOLD ::SurfaceBuilderRegistry
const& $getSurfaceBuilderRegistry()
const;
2170 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
2172 MCAPI ::BiomeManager
const& $getBiomeManager()
const;
2174 MCAPI ::BiomeManager& $getBiomeManager();
2176 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>
const& $getDimensionFactory()
const;
2178 MCFOLD ::OwnerPtrFactory<::Dimension, ::DerivedDimensionArguments&&>& $getDimensionFactory();
2180 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>
const&
2181 $getLightTextureImageBuilderFactory()
const;
2183 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
2185 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry()
const;
2187 MCFOLD ::IWorldRegistriesProvider
const& $getWorldRegistriesProvider()
const;
2189 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
2195 MCAPI
void $tickEntities();
2197 MCAPI
void $tickEntitySystems();
2203 MCAPI
bool $explode(
2207 float explosionRadius,
2210 float maxResistance,
2211 bool allowUnderwater
2218 MCAPI
void $potionSplash(
::Vec3 const& pos,
::mce::Color const& color,
bool instantaneousEffect);
2222 MCAPI ::std::unique_ptr<::Path>
2229 MCAPI ::PlayerSleepStatus $getSleepStatus()
const;
2231 MCAPI
void $updateSleepingPlayerList();
2233 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
2235 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager()
const;
2237 MCAPI
int $getTime()
const;
2239 MCAPI
void $setTime(
int time);
2241 MCAPI uint $getSeed();
2243 MCAPI ::LevelSeed64 $getLevelSeed64()
const;
2245 MCFOLD ::BlockPos
const& $getSharedSpawnPos()
const;
2247 MCAPI
void $setDefaultSpawn(
::BlockPos const& spawnPos);
2249 MCFOLD ::BlockPos
const& $getDefaultSpawn()
const;
2251 MCAPI
void $setDefaultGameType(::GameType gameType);
2253 MCAPI ::GameType $getDefaultGameType()
const;
2255 MCAPI
void $setDifficulty(::SharedTypes::Legacy::Difficulty difficulty);
2257 MCAPI
void $setMultiplayerGameIntent(
bool multiplayerGame);
2259 MCAPI
bool $getMultiplayerGameIntent()
const;
2261 MCAPI
void $setMultiplayerGame(
bool multiplayerGame);
2263 MCAPI
bool $isMultiplayerGame()
const;
2265 MCAPI
void $setLANBroadcastIntent(
bool broadcast);
2267 MCAPI
bool $getLANBroadcastIntent()
const;
2269 MCAPI
void $setLANBroadcast(
bool broadcast);
2271 MCAPI
bool $getLANBroadcast()
const;
2273 MCAPI
bool $hasXBLBroadcastIntent()
const;
2275 MCAPI
bool $hasXBLBroadcast()
const;
2277 MCAPI
bool $hasPlatformBroadcastIntent()
const;
2279 MCAPI
bool $hasPlatformBroadcast()
const;
2281 MCAPI
void $setHasLockedBehaviorPack(
bool hasLocked);
2283 MCAPI
void $setHasLockedResourcePack(
bool hasLocked);
2285 MCAPI
void $setCommandsEnabled(
bool commandsEnabled);
2287 MCAPI
void $setWorldTemplateOptionsUnlocked();
2289 MCAPI
bool $hasLevelStorage()
const;
2291 MCFOLD ::LevelStorage& $getLevelStorage();
2293 MCFOLD ::LevelStorage
const& $getLevelStorage()
const;
2295 MCFOLD ::LevelData& $getLevelData();
2297 MCFOLD ::LevelData
const& $getLevelData()
const;
2299 MCAPI ::PhotoStorage& $getPhotoStorage()
const;
2301 MCAPI
void $createPhotoStorage();
2303 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
2305 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager()
const;
2307 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
2309 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager()
const;
2313 MCAPI
void $saveLevelData();
2315 MCAPI
void $saveGameData();
2317 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
2319 MCFOLD ::TickingAreasManager& $getTickingAreasMgr();
2322 $addTickingAreaList(
::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList>
const& tickingAreas);
2324 MCAPI
void $playSound(
2325 ::SharedTypes::Legacy::LevelSoundEvent type,
2333 $playSound(::SharedTypes::Legacy::LevelSoundEvent type,
::Vec3 const& pos,
float const volume,
float const pitch);
2335 MCAPI
void $playSound(::std::string
const& name,
::Vec3 const& pos,
float volume,
float pitch);
2337 MCAPI
void $playSound(
2339 ::SharedTypes::Legacy::LevelSoundEvent type,
2346 MCAPI
void $playSound(
2348 ::SharedTypes::Legacy::LevelSoundEvent type,
2355 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2357 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2359 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2361 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2363 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2365 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2367 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2369 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2371 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2373 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2375 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2377 MCAPI
void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type,
::CompoundTag const& data);
2379 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2381 MCAPI
void $handleStopSoundEvent(::std::string
const& name);
2383 MCAPI
void $handleStopAllSounds();
2385 MCAPI
void $handleStopMusicEvent();
2387 MCAPI
void $broadcastLevelEvent(
2388 ::SharedTypes::Legacy::LevelEvent type,
2394 MCAPI
void $broadcastLevelEvent(
2395 ::SharedTypes::Legacy::LevelEvent type,
2401 $broadcastLocalEvent(
::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type,
::Vec3 const& pos,
int data);
2403 MCAPI
void $broadcastLocalEvent(
2405 ::SharedTypes::Legacy::LevelEvent type,
2410 MCAPI
void $broadcastSoundEvent(
2412 ::SharedTypes::Legacy::LevelSoundEvent type,
2419 MCAPI
void $broadcastSoundEvent(
2421 ::SharedTypes::Legacy::LevelSoundEvent type,
2428 MCAPI
void $broadcastSoundEvent(
2430 ::SharedTypes::Legacy::LevelSoundEvent type,
2437 MCAPI
void $broadcastActorEvent(
::Actor& actor, ::ActorEvent eventId,
int data)
const;
2439 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster()
const;
2441 MCAPI
void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2443 MCAPI
void $onChunkReload(
::Bounds const& bound);
2445 MCAPI
int $getActivePlayerCount()
const;
2447 MCAPI
int $getActiveUsersCount()
const;
2449 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player&)> callback);
2451 MCAPI
void $forEachPlayer(::std::function<
bool(
::Player const&)> callback)
const;
2453 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext&)> callback);
2455 MCAPI
void $forEachUser(::std::function<
bool(
::EntityContext const&)> callback)
const;
2457 MCAPI ::Player* $findPlayer(::std::function<
bool(
::Player const&)> pred)
const;
2459 MCAPI ::Player* $findPlayer(::std::function<
bool(
::WeakEntityRef const&)> pred)
const;
2461 MCAPI
int $getUserCount()
const;
2465 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getUsers()
const;
2467 MCAPI ::std::vector<::OwnerPtr<::EntityContext>>
const& $getEntities()
const;
2473 MCFOLD
void $onSubChunkLoaded(
2476 short absoluteSubChunkIndex,
2477 bool subChunkVisibilityChanged
2480 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2486 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2490 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2494 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::Actor& actor);
2496 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(
::WeakEntityRef entityRef);
2498 MCAPI
void $forceRemoveEntity(
::Actor& actor);
2500 MCAPI
void $forceRemoveEntityfromWorld(
::Actor& actor);
2502 MCAPI
void $forceFlushRemovedPlayers();
2504 MCFOLD
void $loadFunctionManager();
2508 MCAPI
void $registerTemporaryPointer(
::_TickPtr& ptr);
2510 MCAPI
void $unregisterTemporaryPointer(
::_TickPtr& ptr);
2512 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2514 MCAPI
bool $destroyBlock(
2521 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2523 MCAPI
void $upgradeStorageVersion(::StorageVersion v);
2525 MCAPI
void $suspendAndSave();
2527 MCAPI
void $sendServerLegacyParticle(::ParticleType
id,
::Vec3 const& pos,
::Vec3 const& dir,
int data);
2529 MCAPI ::Particle* $addParticle(
2539 $spawnParticleEffect(::std::string
const& effectName,
::Vec3 const& spawnLocation,
::Dimension* dimension);
2541 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2543 MCAPI
void $addParticleEffect(
2545 ::Vec3 const& emitterPosition,
2549 MCAPI
void $addTerrainParticleEffect(
2552 ::Vec3 const& emitterPosition,
2554 float velocityScalar,
2558 MCAPI
void $addTerrainSlideEffect(
2561 ::Vec3 const& emitterPosition,
2563 float velocityScalar,
2567 MCAPI
void $addBreakingItemParticleEffect(
2573 MCAPI
void $addBiomeTintedParticleEffect(
2577 ::std::optional<::mce::Color> overrideColor
2580 MCAPI ::ActorUniqueID $getNewUniqueID();
2582 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2584 MCAPI ::std::vector<::ChunkPos>
const& $getTickingOffsets()
const;
2586 MCAPI ::std::vector<::ChunkPos>
const& $getClientTickingOffsets()
const;
2588 MCAPI ::std::vector<::ChunkPos>
2589 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos>
const& centers)
const;
2591 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager()
const;
2593 MCAPI
bool $isExporting()
const;
2595 MCAPI
void $setIsExporting(
bool IsExporting);
2597 MCAPI ::SavedDataStorage& $getSavedData();
2599 MCAPI ::MapItemSavedData* $getMapSavedData(
::ActorUniqueID const uuid);
2601 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const& instance);
2603 MCFOLD ::MapItemSavedData* $getMapSavedData(
::CompoundTag const* instance);
2605 MCAPI
void $requestMapInfo(
::ActorUniqueID const uuid,
bool forceUpdate);
2607 MCAPI ::ActorUniqueID $expandMapByID(
::ActorUniqueID const uuid,
bool wasInit);
2611 MCAPI ::MapItemSavedData& $createMapSavedData(
2615 int returnScaleLevel
2618 MCAPI ::MapItemSavedData& $createMapSavedData(
2619 ::std::vector<::ActorUniqueID>
const& mapIds,
2622 int returnScaleLevel
2625 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder()
const;
2627 MCAPI ::std::string $getLevelId()
const;
2629 MCAPI
void $setLevelId(::std::string LevelId);
2631 MCFOLD ::TaskGroup& $getSyncTasksGroup();
2633 MCFOLD ::TaskGroup& $getIOTasksGroup();
2635 MCFOLD ::ResourcePackManager* $getClientResourcePackManager()
const;
2637 MCFOLD ::ResourcePackManager* $getServerResourcePackManager()
const;
2639 MCFOLD ::TradeTables* $getTradeTables();
2641 MCFOLD
void $decrementTagCache(
2642 ::std::string
const& tag,
2646 MCFOLD
void $incrementTagCache(
2647 ::std::string
const& tag,
2651 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2653 MCAPI
bool $isEdu()
const;
2655 MCFOLD ::ActorFactory& $getActorFactory();
2657 MCFOLD ::ActorFactory
const& $getActorFactory()
const;
2659 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2661 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2663 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
2665 MCAPI ::EntitySystems& $getEntitySystems();
2667 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2669 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity()
const;
2671 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer()
const;
2673 MCFOLD
void $runCommand(
2676 ::CommandOriginSystem originSystem,
2677 ::CurrentCmdVersion
const commandVersion
2682 MCAPI ::PlayerCapabilities::ISharedController
const& $getCapabilities()
const;
2686 MCAPI ::PlayerMovementSettings
const& $getPlayerMovementSettings()
const;
2690 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2692 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2693 $getPlayerMovementSettingsManager()
const;
2695 MCAPI ::TickDeathSettings
const& $getTickDeathSettings()
const;
2699 MCFOLD
bool $canUseSkin(
2705 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper()
const;
2707 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry()
const;
2709 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2711 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2713 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient()
const;
2715 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer()
const;
2717 MCAPI
void $flushRunTimeLighting();
2719 MCAPI
void $loadBlockDefinitionGroup(
::Experiments const& experiments);
2721 MCAPI
void $initializeBlockDefinitionGroup();
2723 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2725 MCAPI
bool $isClientSideGenerationEnabled();
2727 MCAPI
bool $blockNetworkIdsAreHashes();
2729 MCAPI ::ItemRegistryRef $getItemRegistry()
const;
2731 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry()
const;
2733 MCFOLD ::Level* $asLevel();
2735 MCAPI
bool $use3DBiomeMaps()
const;
2737 MCAPI
void $pauseAndFlushTaskGroups();
2739 MCFOLD ::DimensionManager& $getDimensionManager();
2741 MCFOLD ::DimensionManager
const& $getDimensionManager()
const;
2743 MCFOLD
void $subChunkTickAndSendRequests();
2745 MCAPI
void $_subTick();
2747 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2749 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager()
const;
2751 MCAPI
bool $isClientSide()
const;
2753 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const& $getPlayerList()
const;
2755 MCAPI ::std::string
const& $getPlayerXUID(
::mce::UUID const& uuid)
const;
2757 MCAPI ::std::string
const& $getPlayerPlatformOnlineId(
::mce::UUID const& uuid)
const;
2759 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2761 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager()
const;
2763 MCAPI ::std::vector<::WeakEntityRef>
const& $getActiveUsers()
const;
2767 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2769 MCAPI ::std::vector<::Actor*> $getRuntimeActorList()
const;
2771 MCFOLD ::PacketSender* $getPacketSender()
const;
2773 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback()
const;
2777 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2779 MCAPI ::IRandom& $getIRandom()
const;
2781 MCAPI ::Random& $getRandom()
const;
2783 MCFOLD ::Random& $getThreadRandom()
const;
2785 MCAPI ::HitResult& $getHitResult();
2787 MCAPI ::HitResult& $getLiquidHitResult();
2789 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2791 MCFOLD ::std::string
const& $getImmersiveReaderString()
const;
2793 MCAPI
void $setImmersiveReaderString(::std::string newString);
2795 MCAPI ::AdventureSettings& $getAdventureSettings();
2797 MCAPI ::AdventureSettings
const& $getAdventureSettings()
const;
2799 MCAPI ::GameRules
const& $getGameRules()
const;
2801 MCAPI ::GameRules& $getGameRules();
2803 MCAPI
bool $hasStartWithMapEnabled()
const;
2805 MCAPI
bool $isEditorWorld()
const;
2807 MCAPI
bool $isHardcore()
const;
2809 MCAPI ::Abilities& $getDefaultAbilities();
2811 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2813 MCAPI ::PermissionsHandler
const& $getDefaultPermissions()
const;
2815 MCFOLD
bool $getTearingDown()
const;
2817 MCAPI
void $takePicture(
2825 MCFOLD ::LevelSoundManager& $getLevelSoundManager();
2827 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer()
const;
2829 MCAPI
void $setSimPaused(
bool value);
2831 MCAPI
bool $getSimPaused();
2833 MCAPI
void $setFinishedInitializing();
2835 MCFOLD ::LootTables& $getLootTables();
2837 MCAPI
void $updateWeather(
float rainLevel,
int rainTime,
float lightningLevel,
int lightningTime);
2839 MCAPI
int $getNetherScale()
const;
2841 MCFOLD ::Scoreboard& $getScoreboard();
2843 MCFOLD ::Scoreboard
const& $getScoreboard()
const;
2845 MCFOLD ::Scoreboard* $tryGetScoreboard();
2847 MCAPI ::LayeredAbilities* $getPlayerAbilities(
::ActorUniqueID const& playerId);
2851 MCAPI
void $sendAllPlayerAbilities(
::Player const& playerReference);
2853 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2855 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2857 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2859 MCFOLD ::Recipes& $getRecipes()
const;
2861 MCFOLD ::BlockReducer* $getBlockReducer()
const;
2863 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry()
const;
2865 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2867 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry()
const;
2869 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2871 MCAPI ::BlockType
const& $getRegisteredBorderBlock()
const;
2873 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2875 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2877 MCFOLD ::cereal::ReflectionCtx
const& $cerealContext()
const;
2879 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2881 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager()
const;
2885 MCAPI ::MolangPackSettingsCache* $getMolangPackSettingsCache();
2887 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2889 MCAPI
void $_initializeMapDataManager();
2891 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2893 MCAPI
void $_onLowMemory();