LeviLamina
Loading...
Searching...
No Matches
Level.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/comprehensive/ParticleType.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/deps/core/utility/AutomaticID.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/core/utility/UniqueOwnerPointer.h"
12#include "mc/deps/core/utility/pub_sub/Subscription.h"
13#include "mc/deps/game_refs/OwnerPtr.h"
14#include "mc/deps/game_refs/StackRefResult.h"
15#include "mc/deps/game_refs/WeakRef.h"
16#include "mc/deps/shared_types/legacy/Difficulty.h"
17#include "mc/deps/shared_types/legacy/LevelEvent.h"
18#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
19#include "mc/network/GamePublishSetting.h"
20#include "mc/platform/Result.h"
21#include "mc/server/commands/CurrentCmdVersion.h"
22#include "mc/util/Factory.h"
23#include "mc/util/IDType.h"
24#include "mc/util/OwnerPtrFactory.h"
25#include "mc/util/TagRegistry.h"
26#include "mc/world/actor/ActorEvent.h"
27#include "mc/world/item/registry/ItemRegistryRef.h"
28#include "mc/world/level/ActorValidationError.h"
29#include "mc/world/level/BlockSourceListener.h"
30#include "mc/world/level/CommandOriginSystem.h"
31#include "mc/world/level/GameType.h"
32#include "mc/world/level/ILevel.h"
33#include "mc/world/level/IWorldRegistriesProvider.h"
34#include "mc/world/level/storage/StorageVersion.h"
35
36// auto generated forward declare list
37// clang-format off
38class Abilities;
39class Actor;
47class ActorFactory;
48class ActorFetcher;
51class ActorManager;
52class ActorRuntimeID;
59class BehaviorFactory;
61class BiomeManager;
62class BiomeRegistry;
63class Block;
67class BlockPalette;
68class BlockPos;
69class BlockReducer;
70class BlockSource;
72class BlockType;
75class CameraPresets;
76class CameraRegistry;
79class ChunkPos;
80class ChunkSource;
83class ChunkViewSource;
86class Command;
87class CommandOrigin;
88class CompoundTag;
90class Dimension;
97class EntityContext;
98class EntityRegistry;
99class EntitySystems;
102class Experiments;
103class Explosion;
104class FeatureRegistry;
106class GameRules;
108class HashedString;
109class HitResult;
110class HitResultWrapper;
113class ILevelRandom;
115class IRandom;
120class LayeredAbilities;
122class LevelChunk;
128class LevelData;
131class LevelListener;
132class LevelSeed64;
133class LevelSettings;
135class LevelStorage;
139class LootTables;
140class MapItemSavedData;
141class Mob;
144class NetEventCallback;
147class PacketSender;
148class Particle;
149class ParticleProvider;
150class Path;
151class PauseManager;
154class PhotoManager;
155class PhotoStorage;
156class Player;
162class PlayerListEntry;
171class PortalForcer;
174class Random;
175class Recipes;
177class SavedDataStorage;
178class Scheduler;
179class Scoreboard;
182class SerializedSkin;
189class Spawner;
190class StartGamePacket;
192class StructureManager;
194class SubChunkManager;
195class SubChunkPacket;
198class TagCacheManager;
199class TaskGroup;
200class TempEPtrManager;
203class TickTimeManager;
204class TickingAreaList;
206class TradeTables;
210class UniqueIDManager;
213class Vec3;
215class WeakEntityRef;
216class WeatherManager;
217class _TickPtr;
218struct ActorUniqueID;
219struct AdventureSettings;
220struct Bounds;
222struct LevelTagIDType;
223struct LevelTagSetIDType;
224struct NetworkPermissions;
226struct PlayerSleepStatus;
228struct ScreenshotOptions;
229struct Tick;
230struct TickDeathSettings;
231namespace PlayerCapabilities { struct ISharedController; }
232namespace PositionTrackingDB { class PositionTrackingDBClient; }
233namespace PositionTrackingDB { class PositionTrackingDBServer; }
234namespace VoxelShapes { class VoxelShapeRegistry; }
235namespace cereal { struct ReflectionCtx; }
236namespace cg { class ImageBuffer; }
237namespace mce { class Color; }
238namespace mce { class UUID; }
239// clang-format on
240
241class ServerLevel;
242
244public:
245 [[nodiscard]] ServerLevel& asServer() { return *reinterpret_cast<ServerLevel*>(this); }
246
247public:
248 // Level inner types define
249 using RegionSet = ::std::unordered_set<::BlockSource*>;
250
251public:
252 // member variables
253 // NOLINTBEGIN
254 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender> const> mPacketSender;
255 ::ll::TypedStorage<
256 8,
257 16,
258 ::gsl::not_null<
260 mTagRegistry;
261 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorInfoRegistry>> mActorInfoRegistry;
262 ::ll::TypedStorage<8, 24, ::std::vector<::LevelListener*>> mListeners;
263 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
264 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData> const> mLevelData;
265 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockSource*>> mRegions;
266 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mLinkedAssetValidator;
267 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorDefinitionGroup>> mEntityDefinitions;
268 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationGroup>> mActorAnimationGroup;
269 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorAnimationControllerGroup>> mActorAnimationControllerGroup;
270 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockDefinitionGroup>> mBlockDefinitions;
271 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimPatternRegistry>> mTrimPatternRegistry;
272 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::TrimMaterialRegistry>> mTrimMaterialRegistry;
273 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Spawner>> mMobSpawner;
274 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProjectileFactory>> mProjectileFactory;
275 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PropertyGroupManager>> mActorPropertyGroups;
276 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraPresets>> mCameraPresets;
277 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BehaviorFactory>> mBehaviorFactory;
278 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AutomationBehaviorTreeGroup>> mAutomationBehaviorTreeDefinitions;
279 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPalette>> mGlobalBlockPalette;
280 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Recipes>> mRecipes;
281 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockReducer>> mBlockReducer;
282 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NpcDialogueStorage>> mNpcDialogueStorage;
283 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InternalComponentRegistry>> mInternalComponentRegistry;
284 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PortalForcer>>> mPortalForcer;
285 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
286 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockTypeRegistry;
287 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IUnknownBlockTypeRegistry>> mUnknownBlockTypeRegistry;
288 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BossEventSubscriptionManager>> mBossEventSubscriptionManager;
289 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ContainerRegistry>> const> mContainerRegistry;
290 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::HitResultWrapper>>> mHitResultWrapper;
291 ::ll::TypedStorage<8, 32, ::std::string> mImmersiveReaderString;
292 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::ILevelRandom>>> mLevelRandom;
293 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::NetEventCallback>> mNetEventCallback;
294 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
295 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
296 ::ll::TypedStorage<1, 1, bool> mIsExporting;
297 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
298 ::ll::TypedStorage<1, 1, bool> mSimPaused;
299 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mMainThreadTaskGroup;
300 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
301 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
302 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
303 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TickingAreasManager>> mTickingAreasMgr;
304 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TempEPtrManager>>> mTempEPtrManager;
305 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PhotoItemSavedDataCollection>> mPhotoItemSavedDataCollection;
306 ::ll::TypedStorage<1, 1, bool> mTearingDown;
307 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
308 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EventCoordinatorManager>>>
309 mEventCoordinatorManager;
310 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelSoundManager>> mLevelSoundManager;
311 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
312 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkPerformanceTelemetry>>>
313 mLevelChunkPerformanceTelemetry;
314 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTables>> mLootTables;
315 ::ll::TypedStorage<8, 8, ::BlockType const*> mRegisteredBorderBlock;
316 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::JigsawStructureRegistry>>>
317 mJigsawStructureRegistry;
318 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::StructureSpawnRegistry>>>
319 mStructureSpawnRegistry;
320 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionFactory>>> mDimensionFactory;
321 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::DimensionManager>>> mDimensionManager;
322 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mLevelEntity;
323 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner>> mEntityRegistryOwner;
324 ::ll::TypedStorage<8, 16, ::OwnerPtr<::PauseManager>> mPauseManager;
325 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntitySystemsManager>>> mEntitySystemsManager;
326 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureRegistry>> mFeatureRegistry;
327 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FeatureTypeFactory>> mFeatureTypeFactory;
328 ::ll::TypedStorage<8, 64, ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>>
329 mLightTextureImageBuilderFactory;
330 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::EducationSettingsManager>>>
331 mEducationSettingsManager;
332 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerCapabilities::ISharedController>> mCapabilities;
333 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockActorLevelListener>> mBlockActorLevelListener;
334 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaActorEventListenerManager>> mVanillaActorEventListenerManager;
335 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PositionTrackingDB::PositionTrackingDBClient>>
336 mPositionTrackerDBClient;
337 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenEnabled;
338 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
339 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeManager>> mBiomeManager;
340 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorGarbageCollector>>>
341 mActorGarbageCollector;
342 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorManager>>> mActorManager;
343 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveActorEntityReferences;
344 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::AutonomousActorManager>>>
345 mAutonomousActorManager;
346 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFetcher>>> mActorFetcher;
347 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::GameplayUserManager>>>
348 mGameplayUserManager;
349 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserAddedSubscription;
350 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnGameplayUserRemovedSubscription;
351 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAnyGameplayUsersRemovedSubscription;
352 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scoreboard>> mScoreboard;
353 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorRuntimeIDManager>>>
354 mActorRuntimeIDManager;
355 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationReceiver>> mPlayerLocationReceiver;
356 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::PlayerLocationSender>> mPlayerLocationSender;
357 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerListManager>>> mPlayerListManager;
358 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerTickManager>>> mPlayerTickManager;
359 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ServerParticleManager>>>
360 mServerParticleManager;
361 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ParticleProvider>>> mParticleProvider;
362 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSendServerLegacyParticleSubscription;
363 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainParticleEffectSubscription;
364 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddTerrainSlideEffectSubscription;
365 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBreakingItemParticleEffectSubscription;
366 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnAddBiomeTintedParticleEffectSubscription;
367 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickRangeManager>>>
368 mChunkTickRangeManager;
369 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkViewTrackerManager>>>
370 mChunkViewTrackerManager;
371 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ActorEventBroadcaster> const> mActorEventBroadcaster;
372 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::cereal::ReflectionCtx>>> mCerealContext;
373 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorFactory>>> mActorFactory;
374 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::LoadingScreenIdManager>> mLoadingScreenIdManager;
375 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerDimensionTransferManager>>>
376 mPlayerDimensionTransferManager;
377 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelCrashDumpManager>> const>
378 mLevelCrashDumpManager;
379 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::UniqueIDManager>>> mUniqueIDManager;
380 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnPictureTakenSubscription;
381 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PhotoManager>>> mPhotoManager;
382 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelEventManager>>> mLevelEventManager;
383 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventDataSubscription;
384 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelEventCompoundTagSubscription;
385 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ChunkTickOffsetManager>>>
386 mChunkTickOffsetManager;
387 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerMovementSettingsManager>>>
388 mPlayerMovementSettingsManager;
389 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeathSettingsManager>>>
390 mTickDeathSettingsManager;
391 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerAbilitiesManager>>>
392 mPlayerAbilitiesManager;
393 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsManager>>>
394 mPlayerPermissionsManager;
395 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::PlayerPermissionsSynchroniser>>>
396 mPlayerPermissionsSynchroniser;
397 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelChunkEventManager>>>
398 mLevelChunkEventManager;
399 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkLoadedSubscription;
400 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkReloadedSubscription;
401 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
402 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::ActorDimensionTransferManager>>>
403 mActorDimensionTransferManager;
404 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelBlockDestroyer>>>
405 mLevelBlockDestroyer;
406 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::TickDeltaTimeManager>>>
407 mTickDeltaTimeManager;
408 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::TickTimeManager>>> mTickTimeManager;
409 ::ll::TypedStorage<8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::BlockSourceValidityManager>>>
410 mBlockSourceValidityManager;
411 ::ll::TypedStorage<8, 16, ::OwnerPtr<::LevelChunkSaveManager>> mLevelChunkSaveManager;
412 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::WeatherManager>>> mWeatherManager;
413 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mHandleLowMemoryOnTick;
414 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
415 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
416 // NOLINTEND
417
418public:
419 // prevent constructor by default
420 Level& operator=(Level const&);
421 Level(Level const&);
422 Level();
423
424public:
425 // virtual functions
426 // NOLINTBEGIN
427 // vIndex: 0
428 virtual ~Level() /*override*/;
429
430 // vIndex: 1
431 virtual bool initialize(
432 ::std::string const& levelName,
433 ::LevelSettings const& levelSettings,
434 ::Experiments const& experiments,
435 ::std::string const* levelId
436 ) /*override*/;
437
438 // vIndex: 2
439 virtual void startLeaveGame() /*override*/;
440
441 // vIndex: 3
442 virtual bool isLeaveGameDone() /*override*/;
443
444 // vIndex: 4
445 virtual ::WeakRef<::Dimension> getOrCreateDimension(::DimensionType dimensionType) /*override*/;
446
447 // vIndex: 5
448 virtual ::WeakRef<::Dimension> getDimension(::DimensionType id) const /*override*/;
449
450 // vIndex: 6
451 virtual ::DimensionType getLastOrDefaultSpawnDimensionId(::DimensionType lastDimensionId) const /*override*/;
452
453 // vIndex: 8
454 virtual void forEachDimension(::std::function<bool(::Dimension&)> callback) /*override*/;
455
456 // vIndex: 7
457 virtual void forEachDimension(::std::function<bool(::Dimension const&)> callback) const /*override*/;
458
459 // vIndex: 11
460 virtual uint getChunkTickRange() const /*override*/;
461
462 // vIndex: 12
463 virtual ::ChunkTickRangeManager const& getChunkTickRangeManager() const /*override*/;
464
465 // vIndex: 13
466 virtual ::PortalForcer& getPortalForcer() /*override*/;
467
468 // vIndex: 14
469 virtual void requestPlayerChangeDimension(::Player& player, ::ChangeDimensionRequest&& changeRequest) /*override*/;
470
471 // vIndex: 15
472 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager>
473 getPlayerDimensionTransferManager() /*override*/;
474
475 // vIndex: 16
476 virtual void
477 entityChangeDimension(::Actor& entity, ::DimensionType toId, ::std::optional<::Vec3> entityPos) /*override*/;
478
479 // vIndex: 17
480 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager>
481 getActorDimensionTransferManager() /*override*/;
482
483 // vIndex: 18
484 virtual ::Spawner& getSpawner() const /*override*/;
485
486 // vIndex: 19
487 virtual ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager>
488 getBossEventSubscriptionManager() /*override*/;
489
490 // vIndex: 20
491 virtual ::ProjectileFactory& getProjectileFactory() const /*override*/;
492
493 // vIndex: 21
494 virtual ::ActorDefinitionGroup* getEntityDefinitions() const /*override*/;
495
496 // vIndex: 22
497 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> getActorAnimationGroup() const /*override*/;
498
499 // vIndex: 23
500 virtual ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> getActorAnimationControllerGroup() const
501 /*override*/;
502
503 // vIndex: 24
504 virtual ::BlockDefinitionGroup* getBlockDefinitions() const /*override*/;
505
506 // vIndex: 25
507 virtual ::PropertyGroupManager& getActorPropertyGroup() const /*override*/;
508
509 // vIndex: 27
510 virtual ::CameraPresets const& getCameraPresets() const /*override*/;
511
512 // vIndex: 26
513 virtual ::CameraPresets& getCameraPresets() /*override*/;
514
515 // vIndex: 28
516 virtual bool getDisablePlayerInteractions() const /*override*/;
517
518 // vIndex: 29
519 virtual void setDisablePlayerInteractions(bool const disable) /*override*/;
520
521 // vIndex: 30
522 virtual ::AutomationBehaviorTreeGroup& getAutomationBehaviorTreeGroup() const /*override*/;
523
524 // vIndex: 31
525 virtual ::BehaviorFactory& getBehaviorFactory() const /*override*/;
526
527 // vIndex: 32
528 virtual ::SharedTypes::Legacy::Difficulty getDifficulty() const /*override*/;
529
530 // vIndex: 34
531 virtual ::DimensionConversionData getDimensionConversionData() const /*override*/;
532
533 // vIndex: 35
534 virtual float getSpecialMultiplier(::DimensionType dimensionType) const /*override*/;
535
536 // vIndex: 36
537 virtual bool hasCommandsEnabled() const /*override*/;
538
539 // vIndex: 37
540 virtual bool useMsaGamertagsOnly() const /*override*/;
541
542 // vIndex: 38
543 virtual void setMsaGamertagsOnly(bool msaGamertagsOnly) /*override*/;
544
545 // vIndex: 39
546 virtual ::Actor* addEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
547
548 // vIndex: 45
549 virtual ::Actor* putEntity(
550 ::BlockSource& region,
552 ::ActorRuntimeID runtimeId,
554 ) /*override*/;
555
556 // vIndex: 44
557 virtual ::Actor*
558 putEntity(::BlockSource& region, ::ActorUniqueID id, ::OwnerPtr<::EntityContext> entity) /*override*/;
559
560 // vIndex: 40
561 virtual ::Actor* addGlobalEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
562
563 // vIndex: 41
564 virtual ::Actor* addAutonomousEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity) /*override*/;
565
566 // vIndex: 42
567 virtual void addUser(::OwnerPtr<::EntityContext> userEntity) /*override*/;
568
569 // vIndex: 43
570 virtual ::Actor* addDisplayEntity(::BlockSource&, ::OwnerPtr<::EntityContext>) /*override*/;
571
572 // vIndex: 46
573 virtual void removeDisplayEntity(::WeakEntityRef) /*override*/;
574
575 // vIndex: 47
576 virtual ::Bedrock::NonOwnerPointer<::DisplayActorManager> getDisplayActorManager() /*override*/;
577
578 // vIndex: 48
579 virtual void suspendPlayer(::Player& player) /*override*/;
580
581 // vIndex: 49
582 virtual void resumePlayer(::Player& player) /*override*/;
583
584 // vIndex: 50
585 virtual bool isPlayerSuspended(::Player& player) const /*override*/;
586
587 // vIndex: 52
588 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> getGameplayUserManager() /*override*/;
589
590 // vIndex: 51
591 virtual ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> getGameplayUserManager() const /*override*/;
592
593 // vIndex: 53
594 virtual ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> getPlayerLocationReceiver() /*override*/;
595
596 // vIndex: 54
597 virtual ::OwnerPtr<::EntityContext> removeActorAndTakeEntity(::WeakEntityRef entityRef) /*override*/;
598
599 // vIndex: 55
600 virtual ::OwnerPtr<::EntityContext> removeActorFromWorldAndTakeEntity(::WeakEntityRef entityRef) /*override*/;
601
602 // vIndex: 56
603 virtual ::OwnerPtr<::EntityContext> takeEntity(::WeakEntityRef entityRef, ::LevelChunk& lc) /*override*/;
604
605 // vIndex: 57
606 virtual ::StrictEntityContext fetchStrictEntity(::ActorUniqueID actorId, bool getRemoved) const /*override*/;
607
608 // vIndex: 58
609 virtual ::Actor* fetchEntity(::ActorUniqueID actorId, bool getRemoved) const /*override*/;
610
611 // vIndex: 59
612 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> getActorFetcher() const /*override*/;
613
614 // vIndex: 60
615 virtual ::Actor* getRuntimeEntity(::ActorRuntimeID actorId, bool getRemoved) const /*override*/;
616
617 // vIndex: 62
618 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> getActorRuntimeIDManager() /*override*/;
619
620 // vIndex: 61
621 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> getActorRuntimeIDManager() const /*override*/;
622
623 // vIndex: 63
624 virtual ::Mob* getMob(::ActorUniqueID mobId) const /*override*/;
625
626 // vIndex: 66
627 virtual ::Player* getPlayer(::std::string const& name) const /*override*/;
628
629 // vIndex: 65
630 virtual ::Player* getPlayer(::mce::UUID const& uuid) const /*override*/;
631
632 // vIndex: 64
633 virtual ::Player* getPlayer(::ActorUniqueID entityID) const /*override*/;
634
635 // vIndex: 67
636 virtual ::Player* getPlayerByXuid(::std::string const& xuid) const /*override*/;
637
638 // vIndex: 68
639 virtual ::Player* getPlatformPlayer(::std::string const& platformOnlineId) const /*override*/;
640
641 // vIndex: 69
642 virtual ::Player* getPlayerFromServerId(::std::string const& serverId) const /*override*/;
643
644 // vIndex: 70
645 virtual ::Player* getRuntimePlayer(::ActorRuntimeID runtimeId) const /*override*/;
646
647 // vIndex: 71
648 virtual int getNumRemotePlayers() const /*override*/;
649
650 // vIndex: 72
651 virtual ::Player* getPrimaryLocalPlayer() const /*override*/;
652
653 // vIndex: 73
654 virtual ::IMinecraftEventing& getEventing() /*override*/;
655
656 // vIndex: 74
657 virtual ::mce::Color getPlayerColor(::Player const& player) const /*override*/;
658
659 // vIndex: 75
660 virtual ::Tick const& getCurrentTick() const /*override*/;
661
662 // vIndex: 76
663 virtual ::Tick const getCurrentServerTick() const /*override*/;
664
665 // vIndex: 77
666 virtual ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> getTickDeltaTimeManager() const /*override*/;
667
668 // vIndex: 391
669 virtual ::ArmorTrimUnloader* getArmorTrimUnloader();
670
671 // vIndex: 78
672 virtual ::VoxelShapes::VoxelShapeRegistry const* getShapeRegistry() const /*override*/;
673
674 // vIndex: 80
675 virtual ::BiomeRegistry const& getBiomeRegistry() const /*override*/;
676
677 // vIndex: 79
678 virtual ::BiomeRegistry& getBiomeRegistry() /*override*/;
679
680 // vIndex: 82
681 virtual ::BlockPalette const& getBlockPalette() const /*override*/;
682
683 // vIndex: 81
684 virtual ::BlockPalette& getBlockPalette() /*override*/;
685
686 // vIndex: 84
687 virtual ::FeatureRegistry const& getFeatureRegistry() const /*override*/;
688
689 // vIndex: 83
690 virtual ::FeatureRegistry& getFeatureRegistry() /*override*/;
691
692 // vIndex: 86
693 virtual ::FeatureTypeFactory const& getFeatureTypeFactory() const /*override*/;
694
695 // vIndex: 85
696 virtual ::FeatureTypeFactory& getFeatureTypeFactory() /*override*/;
697
698 // vIndex: 88
699 virtual ::JigsawStructureRegistry const& getJigsawStructureRegistry() const /*override*/;
700
701 // vIndex: 87
702 virtual ::JigsawStructureRegistry& getJigsawStructureRegistry() /*override*/;
703
704 // vIndex: 90
705 virtual ::StructureSpawnRegistry const& getStructureSpawnRegistry() const /*override*/;
706
707 // vIndex: 89
708 virtual ::StructureSpawnRegistry& getStructureSpawnRegistry() /*override*/;
709
710 // vIndex: 92
711 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> const getStructureManager() const /*override*/;
712
713 // vIndex: 91
714 virtual ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager() /*override*/;
715
716 // vIndex: 94
717 virtual ::BiomeComponentFactory const& getBiomeComponentFactory() const /*override*/;
718
719 // vIndex: 93
720 virtual ::BiomeComponentFactory& getBiomeComponentFactory() /*override*/;
721
722 // vIndex: 96
723 virtual ::SurfaceBuilderRegistry const& getSurfaceBuilderRegistry() const /*override*/;
724
725 // vIndex: 95
726 virtual ::SurfaceBuilderRegistry& getSurfaceBuilderRegistry() /*override*/;
727
728 // vIndex: 98
729 virtual ::BiomeManager const& getBiomeManager() const /*override*/;
730
731 // vIndex: 97
732 virtual ::BiomeManager& getBiomeManager() /*override*/;
733
734 // vIndex: 100
735 virtual ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&> const& getDimensionFactory() const /*override*/;
736
737 // vIndex: 99
738 virtual ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>& getDimensionFactory() /*override*/;
739
740 // vIndex: 102
741 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&> const&
742 getLightTextureImageBuilderFactory() const /*override*/;
743
744 // vIndex: 101
745 virtual ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>&
746 getLightTextureImageBuilderFactory() /*override*/;
747
748 // vIndex: 33
749 virtual ::InternalComponentRegistry& getInternalComponentRegistry() const /*override*/;
750
751 // vIndex: 104
752 virtual ::IWorldRegistriesProvider const& getWorldRegistriesProvider() const /*override*/;
753
754 // vIndex: 103
755 virtual ::IWorldRegistriesProvider& getWorldRegistriesProvider() /*override*/;
756
757 // vIndex: 105
758 virtual void addListener(::LevelListener& listener) /*override*/;
759
760 // vIndex: 106
761 virtual void removeListener(::LevelListener& listener) /*override*/;
762
763 // vIndex: 107
764 virtual void tickEntities() /*override*/;
765
766 // vIndex: 108
767 virtual void tickEntitySystems() /*override*/;
768
769 // vIndex: 111
770 virtual void onPlayerDeath(::Player& player, ::ActorDamageSource const& source) /*override*/;
771
772 // vIndex: 112
773 virtual void tick() /*override*/;
774
775 // vIndex: 114
776 virtual bool explode(
777 ::BlockSource& region,
778 ::Actor* source,
779 ::Vec3 const& pos,
780 float explosionRadius,
781 bool fire,
782 bool breaksBlocks,
783 float maxResistance,
784 bool allowUnderwater
785 ) /*override*/;
786
787 // vIndex: 113
788 virtual bool explode(::Explosion& explosion) /*override*/;
789
790 // vIndex: 117
791 virtual void denyEffect(::BlockSource& region, ::Vec3 const& pos) /*override*/;
792
793 // vIndex: 118
794 virtual void potionSplash(::Vec3 const& pos, ::mce::Color const& color, bool instantaneousEffect) /*override*/;
795
796 // vIndex: 119
797 virtual bool extinguishFire(::BlockSource& region, ::BlockPos const& pos, uchar face, ::Actor* source) /*override*/;
798
799 // vIndex: 121
800 virtual ::std::unique_ptr<::Path>
801 findPath(::Actor& from, int xBest, int yBest, int zBest, ::NavigationComponent& navigation) /*override*/;
802
803 // vIndex: 120
804 virtual ::std::unique_ptr<::Path>
805 findPath(::Actor& from, ::Actor const& to, ::NavigationComponent& navigation) /*override*/;
806
807 // vIndex: 123
808 virtual void setSleepStatus(::PlayerSleepStatus const& status) /*override*/;
809
810 // vIndex: 124
811 virtual ::PlayerSleepStatus getSleepStatus() const /*override*/;
812
813 // vIndex: 122
814 virtual void updateSleepingPlayerList() /*override*/;
815
816 // vIndex: 393
817 virtual ::PlayerSleepManager const& getPlayerSleepManager() const = 0;
818
819 // vIndex: 392
820 virtual ::PlayerSleepManager& getPlayerSleepManager() = 0;
821
822 // vIndex: 158
823 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> getServerPlayerSleepManager() /*override*/;
824
825 // vIndex: 157
826 virtual ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> getServerPlayerSleepManager() const
827 /*override*/;
828
829 // vIndex: 125
830 virtual int getTime() const /*override*/;
831
832 // vIndex: 126
833 virtual void setTime(int time) /*override*/;
834
835 // vIndex: 127
836 virtual uint getSeed() /*override*/;
837
838 // vIndex: 128
839 virtual ::LevelSeed64 getLevelSeed64() const /*override*/;
840
841 // vIndex: 129
842 virtual ::BlockPos const& getSharedSpawnPos() const /*override*/;
843
844 // vIndex: 130
845 virtual void setDefaultSpawn(::BlockPos const& spawnPos) /*override*/;
846
847 // vIndex: 131
848 virtual ::BlockPos const& getDefaultSpawn() const /*override*/;
849
850 // vIndex: 132
851 virtual void setDefaultGameType(::GameType) /*override*/;
852
853 // vIndex: 133
854 virtual ::GameType getDefaultGameType() const /*override*/;
855
856 // vIndex: 134
857 virtual void setDifficulty(::SharedTypes::Legacy::Difficulty) /*override*/;
858
859 // vIndex: 135
860 virtual void setMultiplayerGameIntent(bool multiplayerGame) /*override*/;
861
862 // vIndex: 136
863 virtual bool getMultiplayerGameIntent() const /*override*/;
864
865 // vIndex: 137
866 virtual void setMultiplayerGame(bool multiplayerGame) /*override*/;
867
868 // vIndex: 138
869 virtual bool isMultiplayerGame() const /*override*/;
870
871 // vIndex: 139
872 virtual void setLANBroadcastIntent(bool broadcast) /*override*/;
873
874 // vIndex: 140
875 virtual bool getLANBroadcastIntent() const /*override*/;
876
877 // vIndex: 141
878 virtual void setLANBroadcast(bool broadcast) /*override*/;
879
880 // vIndex: 142
881 virtual bool getLANBroadcast() const /*override*/;
882
883 // vIndex: 143
884 virtual void setXBLBroadcastIntent(::Social::GamePublishSetting) /*override*/;
885
886 // vIndex: 144
887 virtual ::Social::GamePublishSetting getXBLBroadcastIntent() const /*override*/;
888
889 // vIndex: 145
890 virtual bool hasXBLBroadcastIntent() const /*override*/;
891
892 // vIndex: 146
893 virtual void setXBLBroadcastMode(::Social::GamePublishSetting) /*override*/;
894
895 // vIndex: 147
896 virtual ::Social::GamePublishSetting getXBLBroadcastMode() const /*override*/;
897
898 // vIndex: 148
899 virtual bool hasXBLBroadcast() const /*override*/;
900
901 // vIndex: 149
902 virtual void setPlatformBroadcastIntent(::Social::GamePublishSetting) /*override*/;
903
904 // vIndex: 150
905 virtual ::Social::GamePublishSetting getPlatformBroadcastIntent() const /*override*/;
906
907 // vIndex: 151
908 virtual bool hasPlatformBroadcastIntent() const /*override*/;
909
910 // vIndex: 152
911 virtual void setPlatformBroadcastMode(::Social::GamePublishSetting) /*override*/;
912
913 // vIndex: 153
914 virtual ::Social::GamePublishSetting getPlatformBroadcastMode() const /*override*/;
915
916 // vIndex: 154
917 virtual bool hasPlatformBroadcast() const /*override*/;
918
919 // vIndex: 155
920 virtual void setHasLockedBehaviorPack(bool hasLocked) /*override*/;
921
922 // vIndex: 156
923 virtual void setHasLockedResourcePack(bool hasLocked) /*override*/;
924
925 // vIndex: 159
926 virtual void setCommandsEnabled(bool commandsEnabled) /*override*/;
927
928 // vIndex: 160
929 virtual void setWorldTemplateOptionsUnlocked() /*override*/;
930
931 // vIndex: 161
932 virtual bool hasLevelStorage() const /*override*/;
933
934 // vIndex: 163
935 virtual ::LevelStorage& getLevelStorage() /*override*/;
936
937 // vIndex: 162
938 virtual ::LevelStorage const& getLevelStorage() const /*override*/;
939
940 // vIndex: 165
941 virtual ::LevelData& getLevelData() /*override*/;
942
943 // vIndex: 164
944 virtual ::LevelData const& getLevelData() const /*override*/;
945
946 // vIndex: 166
947 virtual ::PhotoStorage& getPhotoStorage() const /*override*/;
948
949 // vIndex: 167
950 virtual void createPhotoStorage() /*override*/;
951
952 // vIndex: 169
953 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> getPhotoManager() /*override*/;
954
955 // vIndex: 168
956 virtual ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> getPhotoManager() const /*override*/;
957
958 // vIndex: 171
959 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> getEducationSettingsManager() /*override*/;
960
961 // vIndex: 170
962 virtual ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> getEducationSettingsManager() const
963 /*override*/;
964
965 // vIndex: 172
966 virtual void save() /*override*/;
967
968 // vIndex: 173
969 virtual void saveLevelData() /*override*/;
970
971 // vIndex: 174
972 virtual void saveGameData() /*override*/;
973
974 // vIndex: 175
975 virtual ::std::shared_ptr<void*> requestTimedStorageDeferment() /*override*/;
976
977 // vIndex: 176
978 virtual ::TickingAreasManager& getTickingAreasMgr() /*override*/;
979
980 // vIndex: 177
981 virtual void addTickingAreaList(
982 ::DimensionType dimensionId,
983 ::std::shared_ptr<::TickingAreaList> const& tickingAreas
984 ) /*override*/;
985
986 // vIndex: 183
987 virtual void playSound(
988 ::SharedTypes::Legacy::LevelSoundEvent type,
989 ::Vec3 const& pos,
990 int data,
991 ::ActorSoundIdentifier const& actorSoundIdentifier,
992 bool isGlobal
993 ) /*override*/;
994
995 // vIndex: 182
996 virtual void playSound(
997 ::SharedTypes::Legacy::LevelSoundEvent type,
998 ::Vec3 const& pos,
999 float const volume,
1000 float const pitch
1001 ) /*override*/;
1002
1003 // vIndex: 181
1004 virtual void playSound(::std::string const& name, ::Vec3 const& pos, float volume, float pitch) /*override*/;
1005
1006 // vIndex: 180
1007 virtual void playSound(
1008 ::IConstBlockSource const& region,
1009 ::SharedTypes::Legacy::LevelSoundEvent type,
1010 ::Vec3 const& pos,
1011 int data,
1012 ::ActorSoundIdentifier const& actorSoundIdentifier,
1013 bool isGlobal
1014 ) /*override*/;
1015
1016 // vIndex: 179
1017 virtual void playSound(
1018 ::DimensionType dimension,
1019 ::SharedTypes::Legacy::LevelSoundEvent type,
1020 ::Vec3 const& pos,
1021 int data,
1022 ::ActorSoundIdentifier const& actorSoundIdentifier,
1023 bool isGlobal
1024 ) /*override*/;
1025
1026 // vIndex: 184
1027 virtual ::PlayerEventCoordinator& getRemotePlayerEventCoordinator() /*override*/;
1028
1029 // vIndex: 185
1030 virtual ::ServerPlayerEventCoordinator& getServerPlayerEventCoordinator() /*override*/;
1031
1032 // vIndex: 186
1033 virtual ::ClientPlayerEventCoordinator& getClientPlayerEventCoordinator() /*override*/;
1034
1035 // vIndex: 187
1036 virtual ::ActorEventCoordinator& getActorEventCoordinator() /*override*/;
1037
1038 // vIndex: 188
1039 virtual ::BlockEventCoordinator& getBlockEventCoordinator() /*override*/;
1040
1041 // vIndex: 189
1042 virtual ::ItemEventCoordinator& getItemEventCoordinator() /*override*/;
1043
1044 // vIndex: 190
1045 virtual ::ServerNetworkEventCoordinator& getServerNetworkEventCoordinator() /*override*/;
1046
1047 // vIndex: 191
1048 virtual ::ScriptingEventCoordinator& getScriptingEventCoordinator() /*override*/;
1049
1050 // vIndex: 192
1051 virtual ::ScriptDeferredEventCoordinator& getScriptDeferredEventCoordinator() /*override*/;
1052
1053 // vIndex: 193
1054 virtual ::LevelEventCoordinator& getLevelEventCoordinator() /*override*/;
1055
1056 // vIndex: 195
1057 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data) /*override*/;
1058
1059 // vIndex: 194
1060 virtual void handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data) /*override*/;
1061
1062 // vIndex: 196
1063 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> getLevelEventManager() /*override*/;
1064
1065 // vIndex: 197
1066 virtual void handleStopSoundEvent(::std::string const& name) /*override*/;
1067
1068 // vIndex: 198
1069 virtual void handleStopAllSounds() /*override*/;
1070
1071 // vIndex: 199
1072 virtual void handleStopMusicEvent() /*override*/;
1073
1074 // vIndex: 201
1075 virtual void broadcastLevelEvent(
1076 ::SharedTypes::Legacy::LevelEvent type,
1077 ::Vec3 const& pos,
1078 int data,
1079 ::UserEntityIdentifierComponent const* userIdentifier
1080 ) /*override*/;
1081
1082 // vIndex: 200
1083 virtual void broadcastLevelEvent(
1084 ::SharedTypes::Legacy::LevelEvent type,
1085 ::CompoundTag const& tag,
1086 ::UserEntityIdentifierComponent const* userIdentifier
1087 ) /*override*/;
1088
1089 // vIndex: 203
1090 virtual void broadcastLocalEvent(
1091 ::BlockSource& region,
1092 ::SharedTypes::Legacy::LevelEvent type,
1093 ::Vec3 const& pos,
1094 int data
1095 ) /*override*/;
1096
1097 // vIndex: 202
1098 virtual void broadcastLocalEvent(
1099 ::BlockSource& region,
1100 ::SharedTypes::Legacy::LevelEvent type,
1101 ::Vec3 const& pos,
1102 ::Block const& block
1103 ) /*override*/;
1104
1105 // vIndex: 206
1106 virtual void broadcastSoundEvent(
1107 ::BlockSource& region,
1108 ::SharedTypes::Legacy::LevelSoundEvent type,
1109 ::Vec3 const& pos,
1110 ::Block const& block,
1111 ::ActorSoundIdentifier const& actorSoundIdentifier,
1112 bool isGlobal
1113 ) /*override*/;
1114
1115 // vIndex: 205
1116 virtual void broadcastSoundEvent(
1117 ::BlockSource& region,
1118 ::SharedTypes::Legacy::LevelSoundEvent type,
1119 ::Vec3 const& pos,
1120 int data,
1121 ::ActorSoundIdentifier const& actorSoundIdentifier,
1122 bool isGlobal
1123 ) /*override*/;
1124
1125 // vIndex: 204
1126 virtual void broadcastSoundEvent(
1127 ::Dimension& dimension,
1128 ::SharedTypes::Legacy::LevelSoundEvent type,
1129 ::Vec3 const& pos,
1130 int data,
1131 ::ActorSoundIdentifier const& actorSoundIdentifier,
1132 bool isGlobal
1133 ) /*override*/;
1134
1135 // vIndex: 207
1136 virtual void broadcastActorEvent(::Actor& actor, ::ActorEvent eventId, int data) const /*override*/;
1137
1138 // vIndex: 208
1139 virtual ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> getActorEventBroadcaster() const /*override*/;
1140
1141 // vIndex: 209
1142 virtual void addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource) /*override*/;
1143
1144 // vIndex: 210
1145 virtual void onChunkReload(::Bounds const& bound) /*override*/;
1146
1147 // vIndex: 212
1148 virtual int getActivePlayerCount() const /*override*/;
1149
1150 // vIndex: 213
1151 virtual int getActiveUsersCount() const /*override*/;
1152
1153 // vIndex: 215
1154 virtual void forEachPlayer(::std::function<bool(::Player&)> callback) /*override*/;
1155
1156 // vIndex: 214
1157 virtual void forEachPlayer(::std::function<bool(::Player const&)> callback) const /*override*/;
1158
1159 // vIndex: 217
1160 virtual void forEachUser(::std::function<bool(::EntityContext&)> callback) /*override*/;
1161
1162 // vIndex: 216
1163 virtual void forEachUser(::std::function<bool(::EntityContext const&)> callback) const /*override*/;
1164
1165 // vIndex: 219
1166 virtual ::Player* findPlayer(::std::function<bool(::Player const&)> pred) const /*override*/;
1167
1168 // vIndex: 218
1169 virtual ::Player* findPlayer(::std::function<bool(::WeakEntityRef const&)> pred) const /*override*/;
1170
1171 // vIndex: 220
1172 virtual int getUserCount() const /*override*/;
1173
1174 // vIndex: 221
1175 virtual int countUsersWithMatchingNetworkId(::NetworkIdentifier const& networkId) const /*override*/;
1176
1177 // vIndex: 222
1178 virtual ::std::vector<::OwnerPtr<::EntityContext>> const& getUsers() const /*override*/;
1179
1180 // vIndex: 223
1181 virtual ::std::vector<::OwnerPtr<::EntityContext>> const& getEntities() const /*override*/;
1182
1183 // vIndex: 1
1184 virtual void onSourceCreated(::BlockSource& source) /*override*/;
1185
1186 // vIndex: 2
1187 virtual void onSourceDestroyed(::BlockSource& source) /*override*/;
1188
1189 // vIndex: 224
1190 virtual void onSubChunkLoaded(
1191 ::ChunkSource& source,
1192 ::LevelChunk& lc,
1193 short absoluteSubChunkIndex,
1194 bool subChunkVisibilityChanged
1195 ) /*override*/;
1196
1197 // vIndex: 225
1198 virtual ::Bedrock::NonOwnerPointer<::SubChunkManager> getSubChunkManager() /*override*/;
1199
1200 // vIndex: 226
1201 virtual void onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
1202
1203 // vIndex: 211
1204 virtual void onChunkReloaded(::ChunkSource& source, ::LevelChunk& lc) /*override*/;
1205
1206 // vIndex: 229
1207 virtual ::LevelChunkMetaDataManager* getLevelChunkMetaDataManager() /*override*/;
1208
1209 // vIndex: 227
1210 virtual void onChunkDiscarded(::LevelChunk& lc) /*override*/;
1211
1212 // vIndex: 228
1213 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> getLevelChunkEventManager() /*override*/;
1214
1215 // vIndex: 230
1216 virtual void queueEntityDestruction(::OwnerPtr<::EntityContext> entity) /*override*/;
1217
1218 // vIndex: 232
1219 virtual ::OwnerPtr<::EntityContext> removeEntity(::Actor& actor) /*override*/;
1220
1221 // vIndex: 231
1222 virtual ::OwnerPtr<::EntityContext> removeEntity(::WeakEntityRef entityRef) /*override*/;
1223
1224 // vIndex: 233
1225 virtual void forceRemoveEntity(::Actor& actor) /*override*/;
1226
1227 // vIndex: 234
1228 virtual void forceRemoveEntityfromWorld(::Actor& actor) /*override*/;
1229
1230 // vIndex: 235
1231 virtual void forceFlushRemovedPlayers() /*override*/;
1232
1233 // vIndex: 236
1234 virtual void loadFunctionManager() /*override*/;
1235
1236 // vIndex: 237
1237 virtual void levelCleanupQueueEntityRemoval(::OwnerPtr<::EntityContext> entity) /*override*/;
1238
1239 // vIndex: 238
1240 virtual void registerTemporaryPointer(::_TickPtr& ptr) /*override*/;
1241
1242 // vIndex: 239
1243 virtual void unregisterTemporaryPointer(::_TickPtr& ptr) /*override*/;
1244
1245 // vIndex: 240
1246 virtual ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> getTempEPtrManager() /*override*/;
1247
1248 // vIndex: 241
1249 virtual bool destroyBlock(::BlockSource& region, ::BlockPos const& pos, bool dropResources) /*override*/;
1250
1251 // vIndex: 242
1252 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> getLevelBlockDestroyer() /*override*/;
1253
1254 // vIndex: 243
1255 virtual void upgradeStorageVersion(::StorageVersion v) /*override*/;
1256
1257 // vIndex: 244
1258 virtual void suspendAndSave() /*override*/;
1259
1260 // vIndex: 178
1261 virtual void
1262 sendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data) /*override*/;
1263
1264 // vIndex: 245
1265 virtual ::Particle* addParticle(
1266 ::ParticleType id,
1267 ::Vec3 const& pos,
1268 ::Vec3 const& dir,
1269 int data,
1270 ::CompoundTag const* tag,
1271 bool isGlobal
1272 ) /*override*/;
1273
1274 // vIndex: 115
1275 virtual void spawnParticleEffect(
1276 ::std::string const& effectName,
1277 ::Vec3 const& spawnLocation,
1278 ::Dimension* dimension
1279 ) /*override*/;
1280
1281 // vIndex: 116
1282 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> getServerParticleManager() /*override*/;
1283
1284 // vIndex: 246
1285 virtual void addParticleEffect(
1286 ::HashedString const& effect,
1287 ::Vec3 const& emitterPosition,
1288 ::MolangVariableMap const& molangVariables
1289 ) /*override*/;
1290
1291 // vIndex: 247
1292 virtual void addTerrainParticleEffect(
1293 ::BlockPos const& pos,
1294 ::Block const& block,
1295 ::Vec3 const& emitterPosition,
1296 float intensity,
1297 float velocityScalar,
1298 float emitterRadius
1299 ) /*override*/;
1300
1301 // vIndex: 248
1302 virtual void addTerrainSlideEffect(
1303 ::BlockPos const& pos,
1304 ::Block const& block,
1305 ::Vec3 const& emitterPosition,
1306 float intensity,
1307 float velocityScalar,
1308 float emitterRadius
1309 ) /*override*/;
1310
1311 // vIndex: 249
1312 virtual void addBreakingItemParticleEffect(
1313 ::Vec3 const& pos,
1314 ::BreakingItemParticleData const& data,
1315 ::ResolvedItemIconInfo const& textureInfo
1316 ) /*override*/;
1317
1318 // vIndex: 250
1319 virtual void addBiomeTintedParticleEffect(
1320 ::HashedString const& effect,
1321 ::BlockPos const& pos,
1322 ::Block const& block,
1323 ::std::optional<::mce::Color> overrideColor
1324 ) /*override*/;
1325
1326 // vIndex: 251
1327 virtual ::ActorUniqueID getNewUniqueID() /*override*/;
1328
1329 // vIndex: 252
1330 virtual ::ActorRuntimeID getNextRuntimeID() /*override*/;
1331
1332 // vIndex: 253
1333 virtual ::std::vector<::ChunkPos> const& getTickingOffsets() const /*override*/;
1334
1335 // vIndex: 254
1336 virtual ::std::vector<::ChunkPos> const& getClientTickingOffsets() const /*override*/;
1337
1338 // vIndex: 255
1339 virtual ::std::vector<::ChunkPos>
1340 getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos> const& centers) const /*override*/;
1341
1342 // vIndex: 256
1343 virtual ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> getChunkTickOffsetManager() const
1344 /*override*/;
1345
1346 // vIndex: 257
1347 virtual bool isExporting() const /*override*/;
1348
1349 // vIndex: 258
1350 virtual void setIsExporting(bool IsExporting) /*override*/;
1351
1352 // vIndex: 259
1353 virtual ::SavedDataStorage& getSavedData() /*override*/;
1354
1355 // vIndex: 262
1356 virtual ::MapItemSavedData* getMapSavedData(::ActorUniqueID const uuid) /*override*/;
1357
1358 // vIndex: 261
1359 virtual ::MapItemSavedData* getMapSavedData(::CompoundTag const& instance) /*override*/;
1360
1361 // vIndex: 260
1362 virtual ::MapItemSavedData* getMapSavedData(::CompoundTag const* instance) /*override*/;
1363
1364 // vIndex: 263
1365 virtual void requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate) /*override*/;
1366
1367 // vIndex: 264
1368 virtual ::ActorUniqueID expandMapByID(::ActorUniqueID const uuid, bool wasInit) /*override*/;
1369
1370 // vIndex: 265
1371 virtual bool copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid) /*override*/;
1372
1373 // vIndex: 267
1374 virtual ::MapItemSavedData& createMapSavedData(
1375 ::ActorUniqueID const& uuid,
1376 ::BlockPos const& origin,
1377 ::DimensionType dimension,
1378 int returnScaleLevel
1379 ) /*override*/;
1380
1381 // vIndex: 266
1382 virtual ::MapItemSavedData& createMapSavedData(
1383 ::std::vector<::ActorUniqueID> const& mapIds,
1384 ::BlockPos const& origin,
1385 ::DimensionType dimension,
1386 int returnScaleLevel
1387 ) /*override*/;
1388
1389 // vIndex: 268
1390 virtual ::Core::PathBuffer<::std::string> getScreenshotsFolder() const /*override*/;
1391
1392 // vIndex: 269
1393 virtual ::std::string getLevelId() const /*override*/;
1394
1395 // vIndex: 270
1396 virtual void setLevelId(::std::string LevelId) /*override*/;
1397
1398 // vIndex: 271
1399 virtual ::TaskGroup& getSyncTasksGroup() /*override*/;
1400
1401 // vIndex: 272
1402 virtual ::TaskGroup& getIOTasksGroup() /*override*/;
1403
1404 // vIndex: 273
1405 virtual ::ResourcePackManager* getClientResourcePackManager() const /*override*/;
1406
1407 // vIndex: 274
1408 virtual ::ResourcePackManager* getServerResourcePackManager() const /*override*/;
1409
1410 // vIndex: 275
1411 virtual ::TradeTables* getTradeTables() /*override*/;
1412
1413 // vIndex: 276
1414 virtual void decrementTagCache(
1415 ::std::string const& tag,
1417 ) /*override*/;
1418
1419 // vIndex: 277
1420 virtual void incrementTagCache(
1421 ::std::string const& tag,
1423 ) /*override*/;
1424
1425 // vIndex: 278
1426 virtual ::Bedrock::NonOwnerPointer<::TagCacheManager> getTagCacheManager() /*override*/;
1427
1428 // vIndex: 279
1429 virtual bool isEdu() const /*override*/;
1430
1431 // vIndex: 281
1432 virtual ::ActorFactory& getActorFactory() /*override*/;
1433
1434 // vIndex: 280
1435 virtual ::ActorFactory const& getActorFactory() const /*override*/;
1436
1437 // vIndex: 282
1438 virtual ::ActorInfoRegistry* getActorInfoRegistry() /*override*/;
1439
1440 // vIndex: 284
1441 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() /*override*/;
1442
1443 // vIndex: 283
1444 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry() const /*override*/;
1445
1446 // vIndex: 285
1447 virtual ::EntitySystems& getEntitySystems() /*override*/;
1448
1449 // vIndex: 287
1450 virtual ::WeakRef<::EntityContext> getLevelEntity() /*override*/;
1451
1452 // vIndex: 286
1453 virtual ::WeakRef<::EntityContext const> getLevelEntity() const /*override*/;
1454
1455 // vIndex: 288
1456 virtual ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> tryGetVolumeEntityManagerServer() const
1457 /*override*/;
1458
1459 // vIndex: 290
1460 virtual void runCommand(
1461 ::HashedString const& commandStr,
1462 ::CommandOrigin& origin,
1463 ::CommandOriginSystem originSystem,
1464 ::CurrentCmdVersion const commandVersion
1465 ) /*override*/;
1466
1467 // vIndex: 289
1468 virtual void
1469 runCommand(::Command& command, ::CommandOrigin& origin, ::CommandOriginSystem originSystem) /*override*/;
1470
1471 // vIndex: 291
1472 virtual ::PlayerCapabilities::ISharedController const& getCapabilities() const /*override*/;
1473
1474 // vIndex: 292
1475 virtual ::TagRegistry<::IDType<::LevelTagIDType>, ::IDType<::LevelTagSetIDType>>& getTagRegistry() /*override*/;
1476
1477 // vIndex: 293
1478 virtual ::PlayerMovementSettings const& getPlayerMovementSettings() const /*override*/;
1479
1480 // vIndex: 294
1481 virtual void setPlayerMovementSettings(::PlayerMovementSettings const& settings) /*override*/;
1482
1483 // vIndex: 296
1484 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager>
1485 getPlayerMovementSettingsManager() /*override*/;
1486
1487 // vIndex: 295
1488 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
1489 getPlayerMovementSettingsManager() const /*override*/;
1490
1491 // vIndex: 297
1492 virtual ::TickDeathSettings const& getTickDeathSettings() const /*override*/;
1493
1494 // vIndex: 298
1495 virtual void setTickDeathSettings(::TickDeathSettings const& settings) /*override*/;
1496
1497 // vIndex: 299
1498 virtual bool canUseSkin(
1499 ::SerializedSkin const& skin,
1500 ::NetworkIdentifier const& networkIdentifier,
1501 ::ActorUniqueID const& playerId
1502 ) const /*override*/;
1503
1504 // vIndex: 300
1505 virtual ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> getTrustedSkinHelper() const /*override*/;
1506
1507 // vIndex: 376
1508 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry() const /*override*/;
1509
1510 // vIndex: 375
1511 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() /*override*/;
1512
1513 // vIndex: 377
1514 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() /*override*/;
1515
1516 // vIndex: 301
1517 virtual ::PositionTrackingDB::PositionTrackingDBClient* getPositionTrackerDBClient() const /*override*/;
1518
1519 // vIndex: 302
1520 virtual ::PositionTrackingDB::PositionTrackingDBServer* getPositionTrackerDBServer() const /*override*/;
1521
1522 // vIndex: 303
1523 virtual void flushRunTimeLighting() /*override*/;
1524
1525 // vIndex: 304
1526 virtual void loadBlockDefinitionGroup(::Experiments const& experiments) /*override*/;
1527
1528 // vIndex: 305
1529 virtual void initializeBlockDefinitionGroup() /*override*/;
1530
1531 // vIndex: 306
1532 virtual ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> getUnknownBlockTypeRegistry() /*override*/;
1533
1534 // vIndex: 378
1535 virtual bool isClientSideGenerationEnabled() /*override*/;
1536
1537 // vIndex: 379
1538 virtual bool blockNetworkIdsAreHashes() /*override*/;
1539
1540 // vIndex: 380
1541 virtual ::ItemRegistryRef getItemRegistry() const /*override*/;
1542
1543 // vIndex: 381
1544 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> getBlockTypeRegistry() const /*override*/;
1545
1546 // vIndex: 373
1547 virtual ::Level* asLevel() /*override*/;
1548
1549 // vIndex: 366
1550 virtual bool use3DBiomeMaps() const /*override*/;
1551
1552 // vIndex: 367
1553 virtual void addBlockSourceForValidityTracking(::BlockSource* region) /*override*/;
1554
1555 // vIndex: 368
1556 virtual void removeBlockSourceFromValidityTracking(::BlockSource* region) /*override*/;
1557
1558 // vIndex: 369
1559 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockSourceValidityManager> getBlockSourceValidityManager() /*override*/;
1560
1561 // vIndex: 382
1562 virtual void pauseAndFlushTaskGroups() /*override*/;
1563
1564 // vIndex: 10
1565 virtual ::DimensionManager& getDimensionManager() /*override*/;
1566
1567 // vIndex: 9
1568 virtual ::DimensionManager const& getDimensionManager() const /*override*/;
1569
1570 // vIndex: 385
1571 virtual void subChunkTickAndSendRequests() /*override*/;
1572
1573 // vIndex: 394
1574 virtual void _subTick();
1575
1576 // vIndex: 110
1577 virtual ::StackRefResult<::PauseManager> getPauseManager() /*override*/;
1578
1579 // vIndex: 109
1580 virtual ::StackRefResult<::PauseManager const> getPauseManager() const /*override*/;
1581
1582 // vIndex: 307
1583 virtual bool isClientSide() const /*override*/;
1584
1585 // vIndex: 308
1586 virtual ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const& getPlayerList() const /*override*/;
1587
1588 // vIndex: 309
1589 virtual ::std::string const& getPlayerXUID(::mce::UUID const& uuid) const /*override*/;
1590
1591 // vIndex: 310
1592 virtual ::std::string const& getPlayerPlatformOnlineId(::mce::UUID const& uuid) const /*override*/;
1593
1594 // vIndex: 312
1595 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> getPlayerListManager() /*override*/;
1596
1597 // vIndex: 311
1598 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> getPlayerListManager() const /*override*/;
1599
1600 // vIndex: 313
1601 virtual ::std::vector<::WeakEntityRef> const& getActiveUsers() const /*override*/;
1602
1603 // vIndex: 315
1604 virtual void notifySubChunkRequestManager(::SubChunkPacket const& packet) /*override*/;
1605
1606 // vIndex: 316
1607 virtual ::SubChunkRequestManager* getSubChunkRequestManager() /*override*/;
1608
1609 // vIndex: 314
1610 virtual ::std::vector<::Actor*> getRuntimeActorList() const /*override*/;
1611
1612 // vIndex: 317
1613 virtual ::PacketSender* getPacketSender() const /*override*/;
1614
1615 // vIndex: 318
1616 virtual ::Bedrock::NonOwnerPointer<::NetEventCallback> getNetEventCallback() const /*override*/;
1617
1618 // vIndex: 319
1619 virtual void setNetEventCallback(::Bedrock::NonOwnerPointer<::NetEventCallback> val) /*override*/;
1620
1621 // vIndex: 320
1622 virtual ::gsl::not_null<::StackRefResult<::ILevelRandom>> getILevelRandom() /*override*/;
1623
1624 // vIndex: 321
1625 virtual ::IRandom& getIRandom() const /*override*/;
1626
1627 // vIndex: 322
1628 virtual ::Random& getRandom() const /*override*/;
1629
1630 // vIndex: 323
1631 virtual ::Random& getThreadRandom() const /*override*/;
1632
1633 // vIndex: 324
1634 virtual ::HitResult& getHitResult() /*override*/;
1635
1636 // vIndex: 325
1637 virtual ::HitResult& getLiquidHitResult() /*override*/;
1638
1639 // vIndex: 326
1640 virtual ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> getHitResultWrapper() /*override*/;
1641
1642 // vIndex: 327
1643 virtual ::std::string const& getImmersiveReaderString() const /*override*/;
1644
1645 // vIndex: 328
1646 virtual void setImmersiveReaderString(::std::string newString) /*override*/;
1647
1648 // vIndex: 330
1649 virtual ::AdventureSettings& getAdventureSettings() /*override*/;
1650
1651 // vIndex: 329
1652 virtual ::AdventureSettings const& getAdventureSettings() const /*override*/;
1653
1654 // vIndex: 332
1655 virtual ::GameRules const& getGameRules() const /*override*/;
1656
1657 // vIndex: 331
1658 virtual ::GameRules& getGameRules() /*override*/;
1659
1660 // vIndex: 333
1661 virtual bool hasStartWithMapEnabled() const /*override*/;
1662
1663 // vIndex: 334
1664 virtual bool isEditorWorld() const /*override*/;
1665
1666 // vIndex: 335
1667 virtual bool isHardcore() const /*override*/;
1668
1669 // vIndex: 336
1670 virtual ::Abilities& getDefaultAbilities() /*override*/;
1671
1672 // vIndex: 338
1673 virtual ::PermissionsHandler& getDefaultPermissions() /*override*/;
1674
1675 // vIndex: 337
1676 virtual ::PermissionsHandler const& getDefaultPermissions() const /*override*/;
1677
1678 // vIndex: 339
1679 virtual bool getTearingDown() const /*override*/;
1680
1681 // vIndex: 340
1682 virtual void takePicture(
1683 ::cg::ImageBuffer& outImage,
1684 ::Actor* camera,
1685 ::Actor* target,
1686 ::ScreenshotOptions& screenshotOptions,
1687 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
1688 ) /*override*/;
1689
1690 // vIndex: 341
1691 virtual ::LevelSoundManager& getLevelSoundManager() /*override*/;
1692
1693 // vIndex: 342
1694 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> getSoundPlayer() const /*override*/;
1695
1696 // vIndex: 343
1697 virtual void setSimPaused(bool value) /*override*/;
1698
1699 // vIndex: 344
1700 virtual bool getSimPaused() /*override*/;
1701
1702 // vIndex: 345
1703 virtual void setFinishedInitializing() /*override*/;
1704
1705 // vIndex: 346
1706 virtual ::LootTables& getLootTables() /*override*/;
1707
1708 // vIndex: 347
1709 virtual void updateWeather(float rainLevel, int rainTime, float lightningLevel, int lightningTime) /*override*/;
1710
1711 // vIndex: 348
1712 virtual int getNetherScale() const /*override*/;
1713
1714 // vIndex: 350
1715 virtual ::Scoreboard& getScoreboard() /*override*/;
1716
1717 // vIndex: 349
1718 virtual ::Scoreboard const& getScoreboard() const /*override*/;
1719
1720 // vIndex: 351
1721 virtual ::Scoreboard* tryGetScoreboard() /*override*/;
1722
1723 // vIndex: 352
1724 virtual ::LayeredAbilities* getPlayerAbilities(::ActorUniqueID const& playerId) /*override*/;
1725
1726 // vIndex: 353
1727 virtual void setPlayerAbilities(::ActorUniqueID const& playerId, ::LayeredAbilities const& abilities) /*override*/;
1728
1729 // vIndex: 354
1730 virtual void sendAllPlayerAbilities(::Player const& playerReference) /*override*/;
1731
1732 // vIndex: 355
1733 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> getPlayerAbilitiesManager() /*override*/;
1734
1735 // vIndex: 356
1736 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> getPlayerPermissionsManager() /*override*/;
1737
1738 // vIndex: 357
1739 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser>
1740 getPlayerPermissionsSynchroniser() /*override*/;
1741
1742 // vIndex: 358
1743 virtual ::Recipes& getRecipes() const /*override*/;
1744
1745 // vIndex: 359
1746 virtual ::BlockReducer* getBlockReducer() const /*override*/;
1747
1748 // vIndex: 361
1749 virtual ::std::weak_ptr<::TrimPatternRegistry const> getTrimPatternRegistry() const /*override*/;
1750
1751 // vIndex: 360
1752 virtual ::std::weak_ptr<::TrimPatternRegistry> getTrimPatternRegistry() /*override*/;
1753
1754 // vIndex: 363
1755 virtual ::std::weak_ptr<::TrimMaterialRegistry const> getTrimMaterialRegistry() const /*override*/;
1756
1757 // vIndex: 362
1758 virtual ::std::weak_ptr<::TrimMaterialRegistry> getTrimMaterialRegistry() /*override*/;
1759
1760 // vIndex: 364
1761 virtual ::BlockType const& getRegisteredBorderBlock() const /*override*/;
1762
1763 // vIndex: 365
1764 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry>
1765 getLevelChunkPerformanceTelemetry() /*override*/;
1766
1767 // vIndex: 384
1768 virtual ::cereal::ReflectionCtx& cerealContext() /*override*/;
1769
1770 // vIndex: 383
1771 virtual ::cereal::ReflectionCtx const& cerealContext() const /*override*/;
1772
1773 // vIndex: 371
1774 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> getChunkGenerationManager() /*override*/;
1775
1776 // vIndex: 370
1777 virtual ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> getChunkGenerationManager() const /*override*/;
1778
1779 // vIndex: 386
1780 virtual void digestServerBlockProperties(::StartGamePacket const& packet) /*override*/;
1781
1782 // vIndex: 387
1783 virtual ::PlayerDeathManager* _getPlayerDeathManager() /*override*/;
1784
1785 // vIndex: 395
1786 virtual void _initializeMapDataManager();
1787
1788 // vIndex: 389
1789 virtual ::cereal::ReflectionCtx& _cerealContext() /*override*/;
1790
1791 // vIndex: 390
1792 virtual void _onLowMemory() /*override*/;
1793 // NOLINTEND
1794
1795public:
1796 // member functions
1797 // NOLINTBEGIN
1798 MCAPI Level(
1799 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1800 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> const& soundPlayer,
1802 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1803 ::IMinecraftEventing& eventing,
1804 bool isClientSide,
1805 ::SubClientId subClientId,
1806 ::Scheduler& callbackContext,
1807 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1808 ::ResourcePackManager& addOnResourcePackManager,
1809 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner> const& entityRegistryOwner,
1810 ::WeakRef<::EntityContext> levelEntity,
1811 ::ItemRegistryRef itemRegistry,
1812 ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> blockTypeRegistry,
1813 bool clientSideChunkGenerationEnabled,
1814 bool blockNetworkIdsAreHashes,
1815 ::NetworkPermissions const& networkPermissions,
1816 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1818 );
1819
1820 MCAPI ::Bedrock::UniqueOwnerPointer<::PhotoManager> _createPhotoManager();
1821
1822 MCAPI void _initializeActorManager();
1823
1824 MCAPI void _initializeBiomeManager();
1825
1826 MCAPI void _initializeEventCoordinatorManager();
1827
1828 MCAPI void _initializeGameplayUserManager();
1829
1830 MCAPI void _initializeLevelChunkEventManager();
1831
1832 MCAPI void _initializeLevelEventManager();
1833
1834 MCAPI void _initializeParticleProvider();
1835
1836 MCAPI void _onAddBiomeTintedParticleEffect(
1837 ::HashedString const& effect,
1838 ::BlockPos const& pos,
1839 ::Block const& block,
1840 ::std::optional<::mce::Color> overrideColor
1841 );
1842
1843 MCAPI void _onAddBreakingItemParticleEffect(
1844 ::Vec3 const& pos,
1845 ::BreakingItemParticleData const& data,
1846 ::ResolvedItemIconInfo const& textureInfo
1847 );
1848
1849 MCAPI void _onAddTerrainParticleEffect(
1850 ::BlockPos const& pos,
1851 ::Block const& block,
1852 ::Vec3 const& emitterPosition,
1853 float particleCount,
1854 float velocityScalar,
1855 float emitterRadius
1856 );
1857
1858 MCAPI void _onAddTerrainSlideEffect(
1859 ::BlockPos const& pos,
1860 ::Block const& block,
1861 ::Vec3 const& emitterPosition,
1862 float particleCount,
1863 float velocityScalar,
1864 float emitterRadius
1865 );
1866
1867 MCAPI void _onAnyGameplayUsersRemoved();
1868
1869 MCAPI void _onChunkDiscarded(::LevelChunk& levelChunk);
1870
1871 MCAPI void _onChunkLoaded(::ChunkSource& chunkSource, ::LevelChunk& levelChunk, int);
1872
1873 MCAPI void _onChunkReloaded(::ChunkSource& chunkSource, ::LevelChunk& levelChunk);
1874
1875 MCAPI void _onGameplayUserAdded(::EntityContext& entity);
1876
1877 MCAPI void _onGameplayUserRemoved(::EntityContext& entity);
1878
1879 MCAPI void _onLevelEventCompoundTag(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data);
1880
1881 MCAPI void _onLevelEventData(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
1882
1883 MCAPI void _onPictureTaken(
1884 ::cg::ImageBuffer& outImage,
1885 ::Actor* camera,
1886 ::Actor* target,
1887 ::ScreenshotOptions& screenshotOptions,
1888 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
1889 );
1890
1891 MCAPI void _onRemoveActorEntityReferences(::Actor& actor);
1892
1893 MCAPI void _onSendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data);
1894
1895 MCAPI ::Bedrock::Result<::Actor*, ::ActorValidationError>
1896 addEntityWithError(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
1897
1898 MCAPI void earlyShutdownMainthread();
1899
1900 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorManager> getActorManager();
1901
1902 MCAPI ::ServerLevelEventCoordinator& getServerLevelEventCoordinator();
1903
1904 MCAPI void setShapeRegistry(::std::shared_ptr<::VoxelShapes::VoxelShapeRegistry> registry);
1905 // NOLINTEND
1906
1907public:
1908 // static functions
1909 // NOLINTBEGIN
1910 MCAPI static ::std::unique_ptr<::LevelStorageManager> _createLevelStorageManager(
1912 ::Scheduler& scheduler,
1913 ::IMinecraftEventing& eventing
1914 );
1915
1916 MCAPI static ::std::unique_ptr<::PlayerLimboActorManager> _createPlayerLimboActorManager(
1917 ::LevelStorageManager* levelStorageManager,
1918 ::Bedrock::NotNullNonOwnerPtr<::ActorManager> actorManager,
1919 ::Bedrock::NotNullNonOwnerPtr<::ActorFactory> actorFactory
1920 );
1921 // NOLINTEND
1922
1923public:
1924 // constructor thunks
1925 // NOLINTBEGIN
1926 MCAPI void* $ctor(
1927 ::Bedrock::NotNullNonOwnerPtr<::PacketSender> packetSender,
1928 ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> const& soundPlayer,
1930 ::Bedrock::NotNullNonOwnerPtr<::LevelData> levelData,
1931 ::IMinecraftEventing& eventing,
1932 bool isClientSide,
1933 ::SubClientId subClientId,
1934 ::Scheduler& callbackContext,
1935 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
1936 ::ResourcePackManager& addOnResourcePackManager,
1937 ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner> const& entityRegistryOwner,
1938 ::WeakRef<::EntityContext> levelEntity,
1939 ::ItemRegistryRef itemRegistry,
1940 ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> blockTypeRegistry,
1941 bool clientSideChunkGenerationEnabled,
1942 bool blockNetworkIdsAreHashes,
1943 ::NetworkPermissions const& networkPermissions,
1944 ::std::optional<::DimensionDefinitionGroup> dimensionDefinitionGroup,
1946 );
1947 // NOLINTEND
1948
1949public:
1950 // destructor thunk
1951 // NOLINTBEGIN
1952 MCAPI void $dtor();
1953 // NOLINTEND
1954
1955public:
1956 // virtual function thunks
1957 // NOLINTBEGIN
1958 MCAPI bool $initialize(
1959 ::std::string const& levelName,
1960 ::LevelSettings const& levelSettings,
1961 ::Experiments const& experiments,
1962 ::std::string const* levelId
1963 );
1964
1965 MCAPI void $startLeaveGame();
1966
1967 MCAPI bool $isLeaveGameDone();
1968
1969 MCAPI ::WeakRef<::Dimension> $getOrCreateDimension(::DimensionType dimensionType);
1970
1971 MCAPI ::WeakRef<::Dimension> $getDimension(::DimensionType id) const;
1972
1973 MCAPI ::DimensionType $getLastOrDefaultSpawnDimensionId(::DimensionType lastDimensionId) const;
1974
1975 MCFOLD void $forEachDimension(::std::function<bool(::Dimension&)> callback);
1976
1977 MCFOLD void $forEachDimension(::std::function<bool(::Dimension const&)> callback) const;
1978
1979 MCAPI uint $getChunkTickRange() const;
1980
1981 MCAPI ::ChunkTickRangeManager const& $getChunkTickRangeManager() const;
1982
1983 MCAPI ::PortalForcer& $getPortalForcer();
1984
1985 MCAPI void $requestPlayerChangeDimension(::Player& player, ::ChangeDimensionRequest&& changeRequest);
1986
1987 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerDimensionTransferManager> $getPlayerDimensionTransferManager();
1988
1989 MCAPI void $entityChangeDimension(::Actor& entity, ::DimensionType toId, ::std::optional<::Vec3> entityPos);
1990
1991 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorDimensionTransferManager> $getActorDimensionTransferManager();
1992
1993 MCFOLD ::Spawner& $getSpawner() const;
1994
1995 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BossEventSubscriptionManager> $getBossEventSubscriptionManager();
1996
1997 MCFOLD ::ProjectileFactory& $getProjectileFactory() const;
1998
1999 MCFOLD ::ActorDefinitionGroup* $getEntityDefinitions() const;
2000
2001 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationGroup> $getActorAnimationGroup() const;
2002
2003 MCAPI ::Bedrock::NonOwnerPointer<::ActorAnimationControllerGroup> $getActorAnimationControllerGroup() const;
2004
2005 MCAPI ::BlockDefinitionGroup* $getBlockDefinitions() const;
2006
2007 MCFOLD ::PropertyGroupManager& $getActorPropertyGroup() const;
2008
2009 MCFOLD ::CameraPresets const& $getCameraPresets() const;
2010
2011 MCFOLD ::CameraPresets& $getCameraPresets();
2012
2013 MCAPI bool $getDisablePlayerInteractions() const;
2014
2015 MCAPI void $setDisablePlayerInteractions(bool const disable);
2016
2017 MCFOLD ::AutomationBehaviorTreeGroup& $getAutomationBehaviorTreeGroup() const;
2018
2019 MCAPI ::BehaviorFactory& $getBehaviorFactory() const;
2020
2021 MCAPI ::DimensionConversionData $getDimensionConversionData() const;
2022
2023 MCAPI float $getSpecialMultiplier(::DimensionType dimensionType) const;
2024
2025 MCAPI bool $hasCommandsEnabled() const;
2026
2027 MCAPI bool $useMsaGamertagsOnly() const;
2028
2029 MCAPI void $setMsaGamertagsOnly(bool msaGamertagsOnly);
2030
2031 MCAPI ::Actor* $addEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
2032
2033 MCAPI ::Actor* $putEntity(
2034 ::BlockSource& region,
2035 ::ActorUniqueID id,
2036 ::ActorRuntimeID runtimeId,
2038 );
2039
2040 MCAPI ::Actor* $putEntity(::BlockSource& region, ::ActorUniqueID id, ::OwnerPtr<::EntityContext> entity);
2041
2042 MCAPI ::Actor* $addGlobalEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
2043
2044 MCAPI ::Actor* $addAutonomousEntity(::BlockSource& region, ::OwnerPtr<::EntityContext> entity);
2045
2046 MCAPI void $addUser(::OwnerPtr<::EntityContext> userEntity);
2047
2048 MCAPI ::Actor* $addDisplayEntity(::BlockSource&, ::OwnerPtr<::EntityContext>);
2049
2050 MCFOLD void $removeDisplayEntity(::WeakEntityRef);
2051
2052 MCFOLD ::Bedrock::NonOwnerPointer<::DisplayActorManager> $getDisplayActorManager();
2053
2054 MCAPI void $suspendPlayer(::Player& player);
2055
2056 MCAPI void $resumePlayer(::Player& player);
2057
2058 MCAPI bool $isPlayerSuspended(::Player& player) const;
2059
2060 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager> $getGameplayUserManager();
2061
2062 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::GameplayUserManager const> $getGameplayUserManager() const;
2063
2064 MCAPI ::Bedrock::NonOwnerPointer<::PlayerLocationReceiver> $getPlayerLocationReceiver();
2065
2066 MCAPI ::OwnerPtr<::EntityContext> $removeActorAndTakeEntity(::WeakEntityRef entityRef);
2067
2068 MCAPI ::OwnerPtr<::EntityContext> $removeActorFromWorldAndTakeEntity(::WeakEntityRef entityRef);
2069
2070 MCAPI ::OwnerPtr<::EntityContext> $takeEntity(::WeakEntityRef entityRef, ::LevelChunk& lc);
2071
2072 MCAPI ::StrictEntityContext $fetchStrictEntity(::ActorUniqueID actorId, bool getRemoved) const;
2073
2074 MCAPI ::Actor* $fetchEntity(::ActorUniqueID actorId, bool getRemoved) const;
2075
2076 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActorFetcher const> $getActorFetcher() const;
2077
2078 MCAPI ::Actor* $getRuntimeEntity(::ActorRuntimeID actorId, bool getRemoved) const;
2079
2080 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager> $getActorRuntimeIDManager();
2081
2082 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::ActorRuntimeIDManager const> $getActorRuntimeIDManager() const;
2083
2084 MCAPI ::Mob* $getMob(::ActorUniqueID mobId) const;
2085
2086 MCAPI ::Player* $getPlayer(::std::string const& name) const;
2087
2088 MCAPI ::Player* $getPlayer(::mce::UUID const& uuid) const;
2089
2090 MCAPI ::Player* $getPlayer(::ActorUniqueID entityID) const;
2091
2092 MCAPI ::Player* $getPlayerByXuid(::std::string const& xuid) const;
2093
2094 MCAPI ::Player* $getPlatformPlayer(::std::string const& platformOnlineId) const;
2095
2096 MCAPI ::Player* $getPlayerFromServerId(::std::string const& serverId) const;
2097
2098 MCAPI ::Player* $getRuntimePlayer(::ActorRuntimeID runtimeId) const;
2099
2100 MCAPI int $getNumRemotePlayers() const;
2101
2102 MCAPI ::Player* $getPrimaryLocalPlayer() const;
2103
2104 MCAPI ::IMinecraftEventing& $getEventing();
2105
2106 MCAPI ::mce::Color $getPlayerColor(::Player const& player) const;
2107
2108 MCAPI ::Tick const& $getCurrentTick() const;
2109
2110 MCAPI ::Tick const $getCurrentServerTick() const;
2111
2112 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TickDeltaTimeManager const> $getTickDeltaTimeManager() const;
2113
2114 MCFOLD ::ArmorTrimUnloader* $getArmorTrimUnloader();
2115
2116 MCAPI ::VoxelShapes::VoxelShapeRegistry const* $getShapeRegistry() const;
2117
2118 MCFOLD ::BiomeRegistry const& $getBiomeRegistry() const;
2119
2120 MCFOLD ::BiomeRegistry& $getBiomeRegistry();
2121
2122 MCFOLD ::BlockPalette const& $getBlockPalette() const;
2123
2124 MCFOLD ::BlockPalette& $getBlockPalette();
2125
2126 MCFOLD ::FeatureRegistry const& $getFeatureRegistry() const;
2127
2128 MCFOLD ::FeatureRegistry& $getFeatureRegistry();
2129
2130 MCFOLD ::FeatureTypeFactory const& $getFeatureTypeFactory() const;
2131
2132 MCFOLD ::FeatureTypeFactory& $getFeatureTypeFactory();
2133
2134 MCFOLD ::JigsawStructureRegistry const& $getJigsawStructureRegistry() const;
2135
2136 MCFOLD ::JigsawStructureRegistry& $getJigsawStructureRegistry();
2137
2138 MCFOLD ::StructureSpawnRegistry const& $getStructureSpawnRegistry() const;
2139
2140 MCFOLD ::StructureSpawnRegistry& $getStructureSpawnRegistry();
2141
2142 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> const $getStructureManager() const;
2143
2144 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> $getStructureManager();
2145
2146 MCFOLD ::BiomeComponentFactory const& $getBiomeComponentFactory() const;
2147
2148 MCFOLD ::BiomeComponentFactory& $getBiomeComponentFactory();
2149
2150 MCFOLD ::SurfaceBuilderRegistry const& $getSurfaceBuilderRegistry() const;
2151
2152 MCFOLD ::SurfaceBuilderRegistry& $getSurfaceBuilderRegistry();
2153
2154 MCAPI ::BiomeManager const& $getBiomeManager() const;
2155
2156 MCAPI ::BiomeManager& $getBiomeManager();
2157
2158 MCFOLD ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&> const& $getDimensionFactory() const;
2159
2160 MCFOLD ::OwnerPtrFactory<::Dimension, ::ILevel&, ::Scheduler&>& $getDimensionFactory();
2161
2162 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&> const&
2163 $getLightTextureImageBuilderFactory() const;
2164
2165 MCFOLD ::Factory<::BaseLightTextureImageBuilder, ::Level&, ::Scheduler&>& $getLightTextureImageBuilderFactory();
2166
2167 MCAPI ::InternalComponentRegistry& $getInternalComponentRegistry() const;
2168
2169 MCFOLD ::IWorldRegistriesProvider const& $getWorldRegistriesProvider() const;
2170
2171 MCFOLD ::IWorldRegistriesProvider& $getWorldRegistriesProvider();
2172
2173 MCAPI void $addListener(::LevelListener& listener);
2174
2175 MCAPI void $removeListener(::LevelListener& listener);
2176
2177 MCAPI void $tickEntities();
2178
2179 MCAPI void $tickEntitySystems();
2180
2181 MCAPI void $onPlayerDeath(::Player& player, ::ActorDamageSource const& source);
2182
2183 MCAPI void $tick();
2184
2185 MCAPI bool $explode(
2186 ::BlockSource& region,
2187 ::Actor* source,
2188 ::Vec3 const& pos,
2189 float explosionRadius,
2190 bool fire,
2191 bool breaksBlocks,
2192 float maxResistance,
2193 bool allowUnderwater
2194 );
2195
2196 MCAPI bool $explode(::Explosion& explosion);
2197
2198 MCAPI void $denyEffect(::BlockSource& region, ::Vec3 const& pos);
2199
2200 MCAPI void $potionSplash(::Vec3 const& pos, ::mce::Color const& color, bool instantaneousEffect);
2201
2202 MCAPI bool $extinguishFire(::BlockSource& region, ::BlockPos const& pos, uchar face, ::Actor* source);
2203
2204 MCAPI ::std::unique_ptr<::Path>
2205 $findPath(::Actor& from, int xBest, int yBest, int zBest, ::NavigationComponent& navigation);
2206
2207 MCAPI ::std::unique_ptr<::Path> $findPath(::Actor& from, ::Actor const& to, ::NavigationComponent& navigation);
2208
2209 MCAPI void $setSleepStatus(::PlayerSleepStatus const& status);
2210
2211 MCAPI ::PlayerSleepStatus $getSleepStatus() const;
2212
2213 MCAPI void $updateSleepingPlayerList();
2214
2215 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager> $getServerPlayerSleepManager();
2216
2217 MCFOLD ::Bedrock::NonOwnerPointer<::ServerPlayerSleepManager const> $getServerPlayerSleepManager() const;
2218
2219 MCAPI int $getTime() const;
2220
2221 MCAPI void $setTime(int time);
2222
2223 MCAPI uint $getSeed();
2224
2225 MCAPI ::LevelSeed64 $getLevelSeed64() const;
2226
2227 MCFOLD ::BlockPos const& $getSharedSpawnPos() const;
2228
2229 MCAPI void $setDefaultSpawn(::BlockPos const& spawnPos);
2230
2231 MCFOLD ::BlockPos const& $getDefaultSpawn() const;
2232
2233 MCAPI ::GameType $getDefaultGameType() const;
2234
2235 MCAPI void $setMultiplayerGameIntent(bool multiplayerGame);
2236
2237 MCAPI bool $getMultiplayerGameIntent() const;
2238
2239 MCAPI void $setMultiplayerGame(bool multiplayerGame);
2240
2241 MCAPI bool $isMultiplayerGame() const;
2242
2243 MCAPI void $setLANBroadcastIntent(bool broadcast);
2244
2245 MCAPI bool $getLANBroadcastIntent() const;
2246
2247 MCAPI void $setLANBroadcast(bool broadcast);
2248
2249 MCAPI bool $getLANBroadcast() const;
2250
2251 MCAPI ::Social::GamePublishSetting $getXBLBroadcastIntent() const;
2252
2253 MCAPI bool $hasXBLBroadcastIntent() const;
2254
2255 MCAPI ::Social::GamePublishSetting $getXBLBroadcastMode() const;
2256
2257 MCAPI bool $hasXBLBroadcast() const;
2258
2259 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastIntent() const;
2260
2261 MCAPI bool $hasPlatformBroadcastIntent() const;
2262
2263 MCAPI ::Social::GamePublishSetting $getPlatformBroadcastMode() const;
2264
2265 MCAPI bool $hasPlatformBroadcast() const;
2266
2267 MCAPI void $setHasLockedBehaviorPack(bool hasLocked);
2268
2269 MCAPI void $setHasLockedResourcePack(bool hasLocked);
2270
2271 MCAPI void $setCommandsEnabled(bool commandsEnabled);
2272
2273 MCAPI void $setWorldTemplateOptionsUnlocked();
2274
2275 MCAPI bool $hasLevelStorage() const;
2276
2277 MCFOLD ::LevelStorage& $getLevelStorage();
2278
2279 MCFOLD ::LevelStorage const& $getLevelStorage() const;
2280
2281 MCFOLD ::LevelData& $getLevelData();
2282
2283 MCFOLD ::LevelData const& $getLevelData() const;
2284
2285 MCAPI ::PhotoStorage& $getPhotoStorage() const;
2286
2287 MCAPI void $createPhotoStorage();
2288
2289 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager> $getPhotoManager();
2290
2291 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PhotoManager const> $getPhotoManager() const;
2292
2293 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager> $getEducationSettingsManager();
2294
2295 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::EducationSettingsManager const> $getEducationSettingsManager() const;
2296
2297 MCAPI void $save();
2298
2299 MCAPI void $saveLevelData();
2300
2301 MCAPI void $saveGameData();
2302
2303 MCAPI ::std::shared_ptr<void*> $requestTimedStorageDeferment();
2304
2305 MCFOLD ::TickingAreasManager& $getTickingAreasMgr();
2306
2307 MCAPI void
2308 $addTickingAreaList(::DimensionType dimensionId, ::std::shared_ptr<::TickingAreaList> const& tickingAreas);
2309
2310 MCAPI void $playSound(
2311 ::SharedTypes::Legacy::LevelSoundEvent type,
2312 ::Vec3 const& pos,
2313 int data,
2314 ::ActorSoundIdentifier const& actorSoundIdentifier,
2315 bool isGlobal
2316 );
2317
2318 MCAPI void
2319 $playSound(::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const& pos, float const volume, float const pitch);
2320
2321 MCAPI void $playSound(::std::string const& name, ::Vec3 const& pos, float volume, float pitch);
2322
2323 MCAPI void $playSound(
2324 ::IConstBlockSource const& region,
2325 ::SharedTypes::Legacy::LevelSoundEvent type,
2326 ::Vec3 const& pos,
2327 int data,
2328 ::ActorSoundIdentifier const& actorSoundIdentifier,
2329 bool isGlobal
2330 );
2331
2332 MCAPI void $playSound(
2333 ::DimensionType dimension,
2334 ::SharedTypes::Legacy::LevelSoundEvent type,
2335 ::Vec3 const& pos,
2336 int data,
2337 ::ActorSoundIdentifier const& actorSoundIdentifier,
2338 bool isGlobal
2339 );
2340
2341 MCAPI ::PlayerEventCoordinator& $getRemotePlayerEventCoordinator();
2342
2343 MCAPI ::ServerPlayerEventCoordinator& $getServerPlayerEventCoordinator();
2344
2345 MCAPI ::ClientPlayerEventCoordinator& $getClientPlayerEventCoordinator();
2346
2347 MCAPI ::ActorEventCoordinator& $getActorEventCoordinator();
2348
2349 MCAPI ::BlockEventCoordinator& $getBlockEventCoordinator();
2350
2351 MCAPI ::ItemEventCoordinator& $getItemEventCoordinator();
2352
2353 MCAPI ::ServerNetworkEventCoordinator& $getServerNetworkEventCoordinator();
2354
2355 MCAPI ::ScriptingEventCoordinator& $getScriptingEventCoordinator();
2356
2357 MCAPI ::ScriptDeferredEventCoordinator& $getScriptDeferredEventCoordinator();
2358
2359 MCAPI ::LevelEventCoordinator& $getLevelEventCoordinator();
2360
2361 MCAPI void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
2362
2363 MCAPI void $handleLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const& data);
2364
2365 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelEventManager> $getLevelEventManager();
2366
2367 MCAPI void $handleStopSoundEvent(::std::string const& name);
2368
2369 MCAPI void $handleStopAllSounds();
2370
2371 MCAPI void $handleStopMusicEvent();
2372
2373 MCAPI void $broadcastLevelEvent(
2374 ::SharedTypes::Legacy::LevelEvent type,
2375 ::Vec3 const& pos,
2376 int data,
2377 ::UserEntityIdentifierComponent const* userIdentifier
2378 );
2379
2380 MCAPI void $broadcastLevelEvent(
2381 ::SharedTypes::Legacy::LevelEvent type,
2382 ::CompoundTag const& tag,
2383 ::UserEntityIdentifierComponent const* userIdentifier
2384 );
2385
2386 MCAPI void
2387 $broadcastLocalEvent(::BlockSource& region, ::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
2388
2389 MCAPI void $broadcastLocalEvent(
2390 ::BlockSource& region,
2391 ::SharedTypes::Legacy::LevelEvent type,
2392 ::Vec3 const& pos,
2393 ::Block const& block
2394 );
2395
2396 MCAPI void $broadcastSoundEvent(
2397 ::BlockSource& region,
2398 ::SharedTypes::Legacy::LevelSoundEvent type,
2399 ::Vec3 const& pos,
2400 ::Block const& block,
2401 ::ActorSoundIdentifier const& actorSoundIdentifier,
2402 bool isGlobal
2403 );
2404
2405 MCAPI void $broadcastSoundEvent(
2406 ::BlockSource& region,
2407 ::SharedTypes::Legacy::LevelSoundEvent type,
2408 ::Vec3 const& pos,
2409 int data,
2410 ::ActorSoundIdentifier const& actorSoundIdentifier,
2411 bool isGlobal
2412 );
2413
2414 MCAPI void $broadcastSoundEvent(
2415 ::Dimension& dimension,
2416 ::SharedTypes::Legacy::LevelSoundEvent type,
2417 ::Vec3 const& pos,
2418 int data,
2419 ::ActorSoundIdentifier const& actorSoundIdentifier,
2420 bool isGlobal
2421 );
2422
2423 MCAPI void $broadcastActorEvent(::Actor& actor, ::ActorEvent eventId, int data) const;
2424
2425 MCAPI ::Bedrock::NonOwnerPointer<::ActorEventBroadcaster const> $getActorEventBroadcaster() const;
2426
2427 MCAPI void $addChunkViewTracker(::std::weak_ptr<::ChunkViewSource> chunkViewSource);
2428
2429 MCAPI void $onChunkReload(::Bounds const& bound);
2430
2431 MCAPI int $getActivePlayerCount() const;
2432
2433 MCAPI int $getActiveUsersCount() const;
2434
2435 MCAPI void $forEachPlayer(::std::function<bool(::Player&)> callback);
2436
2437 MCAPI void $forEachPlayer(::std::function<bool(::Player const&)> callback) const;
2438
2439 MCAPI void $forEachUser(::std::function<bool(::EntityContext&)> callback);
2440
2441 MCAPI void $forEachUser(::std::function<bool(::EntityContext const&)> callback) const;
2442
2443 MCAPI ::Player* $findPlayer(::std::function<bool(::Player const&)> pred) const;
2444
2445 MCAPI ::Player* $findPlayer(::std::function<bool(::WeakEntityRef const&)> pred) const;
2446
2447 MCAPI int $getUserCount() const;
2448
2449 MCAPI int $countUsersWithMatchingNetworkId(::NetworkIdentifier const& networkId) const;
2450
2451 MCAPI ::std::vector<::OwnerPtr<::EntityContext>> const& $getUsers() const;
2452
2453 MCAPI ::std::vector<::OwnerPtr<::EntityContext>> const& $getEntities() const;
2454
2455 MCAPI void $onSourceCreated(::BlockSource& source);
2456
2457 MCAPI void $onSourceDestroyed(::BlockSource& source);
2458
2459 MCFOLD void $onSubChunkLoaded(
2460 ::ChunkSource& source,
2461 ::LevelChunk& lc,
2462 short absoluteSubChunkIndex,
2463 bool subChunkVisibilityChanged
2464 );
2465
2466 MCFOLD ::Bedrock::NonOwnerPointer<::SubChunkManager> $getSubChunkManager();
2467
2468 MCAPI void $onChunkLoaded(::ChunkSource& source, ::LevelChunk& lc);
2469
2470 MCAPI void $onChunkReloaded(::ChunkSource& source, ::LevelChunk& lc);
2471
2472 MCFOLD ::LevelChunkMetaDataManager* $getLevelChunkMetaDataManager();
2473
2474 MCAPI void $onChunkDiscarded(::LevelChunk& lc);
2475
2476 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkEventManager> $getLevelChunkEventManager();
2477
2478 MCAPI void $queueEntityDestruction(::OwnerPtr<::EntityContext> entity);
2479
2480 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(::Actor& actor);
2481
2482 MCAPI ::OwnerPtr<::EntityContext> $removeEntity(::WeakEntityRef entityRef);
2483
2484 MCAPI void $forceRemoveEntity(::Actor& actor);
2485
2486 MCAPI void $forceRemoveEntityfromWorld(::Actor& actor);
2487
2488 MCAPI void $forceFlushRemovedPlayers();
2489
2490 MCFOLD void $loadFunctionManager();
2491
2492 MCAPI void $levelCleanupQueueEntityRemoval(::OwnerPtr<::EntityContext> entity);
2493
2494 MCAPI void $registerTemporaryPointer(::_TickPtr& ptr);
2495
2496 MCAPI void $unregisterTemporaryPointer(::_TickPtr& ptr);
2497
2498 MCAPI ::Bedrock::NotNullNonOwnerPtr<::TempEPtrManager> $getTempEPtrManager();
2499
2500 MCAPI bool $destroyBlock(::BlockSource& region, ::BlockPos const& pos, bool dropResources);
2501
2502 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelBlockDestroyer> $getLevelBlockDestroyer();
2503
2504 MCAPI void $upgradeStorageVersion(::StorageVersion v);
2505
2506 MCAPI void $suspendAndSave();
2507
2508 MCAPI void $sendServerLegacyParticle(::ParticleType id, ::Vec3 const& pos, ::Vec3 const& dir, int data);
2509
2510 MCAPI ::Particle* $addParticle(
2511 ::ParticleType id,
2512 ::Vec3 const& pos,
2513 ::Vec3 const& dir,
2514 int data,
2515 ::CompoundTag const* tag,
2516 bool isGlobal
2517 );
2518
2519 MCAPI void
2520 $spawnParticleEffect(::std::string const& effectName, ::Vec3 const& spawnLocation, ::Dimension* dimension);
2521
2522 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ServerParticleManager> $getServerParticleManager();
2523
2524 MCAPI void $addParticleEffect(
2525 ::HashedString const& effect,
2526 ::Vec3 const& emitterPosition,
2527 ::MolangVariableMap const& molangVariables
2528 );
2529
2530 MCAPI void $addTerrainParticleEffect(
2531 ::BlockPos const& pos,
2532 ::Block const& block,
2533 ::Vec3 const& emitterPosition,
2534 float intensity,
2535 float velocityScalar,
2536 float emitterRadius
2537 );
2538
2539 MCAPI void $addTerrainSlideEffect(
2540 ::BlockPos const& pos,
2541 ::Block const& block,
2542 ::Vec3 const& emitterPosition,
2543 float intensity,
2544 float velocityScalar,
2545 float emitterRadius
2546 );
2547
2548 MCAPI void $addBreakingItemParticleEffect(
2549 ::Vec3 const& pos,
2550 ::BreakingItemParticleData const& data,
2551 ::ResolvedItemIconInfo const& textureInfo
2552 );
2553
2554 MCAPI void $addBiomeTintedParticleEffect(
2555 ::HashedString const& effect,
2556 ::BlockPos const& pos,
2557 ::Block const& block,
2558 ::std::optional<::mce::Color> overrideColor
2559 );
2560
2561 MCAPI ::ActorUniqueID $getNewUniqueID();
2562
2563 MCAPI ::ActorRuntimeID $getNextRuntimeID();
2564
2565 MCAPI ::std::vector<::ChunkPos> const& $getTickingOffsets() const;
2566
2567 MCAPI ::std::vector<::ChunkPos> const& $getClientTickingOffsets() const;
2568
2569 MCAPI ::std::vector<::ChunkPos>
2570 $getSortedPositionsFromClientOffsets(::std::vector<::ChunkPos> const& centers) const;
2571
2572 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ChunkTickOffsetManager const> $getChunkTickOffsetManager() const;
2573
2574 MCAPI bool $isExporting() const;
2575
2576 MCAPI void $setIsExporting(bool IsExporting);
2577
2578 MCAPI ::SavedDataStorage& $getSavedData();
2579
2580 MCAPI ::MapItemSavedData* $getMapSavedData(::ActorUniqueID const uuid);
2581
2582 MCFOLD ::MapItemSavedData* $getMapSavedData(::CompoundTag const& instance);
2583
2584 MCFOLD ::MapItemSavedData* $getMapSavedData(::CompoundTag const* instance);
2585
2586 MCAPI void $requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate);
2587
2588 MCAPI ::ActorUniqueID $expandMapByID(::ActorUniqueID const uuid, bool wasInit);
2589
2590 MCAPI bool $copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid);
2591
2592 MCAPI ::MapItemSavedData& $createMapSavedData(
2593 ::ActorUniqueID const& uuid,
2594 ::BlockPos const& origin,
2595 ::DimensionType dimension,
2596 int returnScaleLevel
2597 );
2598
2599 MCAPI ::MapItemSavedData& $createMapSavedData(
2600 ::std::vector<::ActorUniqueID> const& mapIds,
2601 ::BlockPos const& origin,
2602 ::DimensionType dimension,
2603 int returnScaleLevel
2604 );
2605
2606 MCAPI ::Core::PathBuffer<::std::string> $getScreenshotsFolder() const;
2607
2608 MCAPI ::std::string $getLevelId() const;
2609
2610 MCAPI void $setLevelId(::std::string LevelId);
2611
2612 MCFOLD ::TaskGroup& $getSyncTasksGroup();
2613
2614 MCFOLD ::TaskGroup& $getIOTasksGroup();
2615
2616 MCFOLD ::ResourcePackManager* $getClientResourcePackManager() const;
2617
2618 MCFOLD ::ResourcePackManager* $getServerResourcePackManager() const;
2619
2620 MCFOLD ::TradeTables* $getTradeTables();
2621
2622 MCFOLD void $decrementTagCache(
2623 ::std::string const& tag,
2625 );
2626
2627 MCFOLD void $incrementTagCache(
2628 ::std::string const& tag,
2630 );
2631
2632 MCFOLD ::Bedrock::NonOwnerPointer<::TagCacheManager> $getTagCacheManager();
2633
2634 MCAPI bool $isEdu() const;
2635
2636 MCFOLD ::ActorFactory& $getActorFactory();
2637
2638 MCFOLD ::ActorFactory const& $getActorFactory() const;
2639
2640 MCFOLD ::ActorInfoRegistry* $getActorInfoRegistry();
2641
2642 MCAPI ::StackRefResult<::EntityRegistry> $getEntityRegistry();
2643
2644 MCAPI ::StackRefResult<::EntityRegistry const> $getEntityRegistry() const;
2645
2646 MCAPI ::EntitySystems& $getEntitySystems();
2647
2648 MCFOLD ::WeakRef<::EntityContext> $getLevelEntity();
2649
2650 MCFOLD ::WeakRef<::EntityContext const> $getLevelEntity() const;
2651
2652 MCFOLD ::Bedrock::NonOwnerPointer<::VolumeEntityManagerServer> $tryGetVolumeEntityManagerServer() const;
2653
2654 MCFOLD void $runCommand(
2655 ::HashedString const& commandStr,
2656 ::CommandOrigin& origin,
2657 ::CommandOriginSystem originSystem,
2658 ::CurrentCmdVersion const commandVersion
2659 );
2660
2661 MCFOLD void $runCommand(::Command& command, ::CommandOrigin& origin, ::CommandOriginSystem originSystem);
2662
2663 MCAPI ::PlayerCapabilities::ISharedController const& $getCapabilities() const;
2664
2665 MCFOLD ::TagRegistry<::IDType<::LevelTagIDType>, ::IDType<::LevelTagSetIDType>>& $getTagRegistry();
2666
2667 MCAPI ::PlayerMovementSettings const& $getPlayerMovementSettings() const;
2668
2669 MCAPI void $setPlayerMovementSettings(::PlayerMovementSettings const& settings);
2670
2671 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager> $getPlayerMovementSettingsManager();
2672
2673 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerMovementSettingsManager const>
2674 $getPlayerMovementSettingsManager() const;
2675
2676 MCAPI ::TickDeathSettings const& $getTickDeathSettings() const;
2677
2678 MCAPI void $setTickDeathSettings(::TickDeathSettings const& settings);
2679
2680 MCFOLD bool $canUseSkin(
2681 ::SerializedSkin const& skin,
2682 ::NetworkIdentifier const& networkIdentifier,
2683 ::ActorUniqueID const& playerId
2684 ) const;
2685
2686 MCFOLD ::Bedrock::NonOwnerPointer<::TrustedSkinHelper const> $getTrustedSkinHelper() const;
2687
2688 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry() const;
2689
2690 MCFOLD ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
2691
2692 MCFOLD ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
2693
2694 MCAPI ::PositionTrackingDB::PositionTrackingDBClient* $getPositionTrackerDBClient() const;
2695
2696 MCFOLD ::PositionTrackingDB::PositionTrackingDBServer* $getPositionTrackerDBServer() const;
2697
2698 MCAPI void $flushRunTimeLighting();
2699
2700 MCAPI void $loadBlockDefinitionGroup(::Experiments const& experiments);
2701
2702 MCAPI void $initializeBlockDefinitionGroup();
2703
2704 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry> $getUnknownBlockTypeRegistry();
2705
2706 MCAPI bool $isClientSideGenerationEnabled();
2707
2708 MCAPI bool $blockNetworkIdsAreHashes();
2709
2710 MCAPI ::ItemRegistryRef $getItemRegistry() const;
2711
2712 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry> $getBlockTypeRegistry() const;
2713
2714 MCFOLD ::Level* $asLevel();
2715
2716 MCAPI bool $use3DBiomeMaps() const;
2717
2718 MCAPI void $addBlockSourceForValidityTracking(::BlockSource* region);
2719
2720 MCAPI void $removeBlockSourceFromValidityTracking(::BlockSource* region);
2721
2722 MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockSourceValidityManager> $getBlockSourceValidityManager();
2723
2724 MCAPI void $pauseAndFlushTaskGroups();
2725
2726 MCFOLD ::DimensionManager& $getDimensionManager();
2727
2728 MCFOLD ::DimensionManager const& $getDimensionManager() const;
2729
2730 MCFOLD void $subChunkTickAndSendRequests();
2731
2732 MCAPI void $_subTick();
2733
2734 MCFOLD ::StackRefResult<::PauseManager> $getPauseManager();
2735
2736 MCFOLD ::StackRefResult<::PauseManager const> $getPauseManager() const;
2737
2738 MCAPI bool $isClientSide() const;
2739
2740 MCAPI ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const& $getPlayerList() const;
2741
2742 MCAPI ::std::string const& $getPlayerXUID(::mce::UUID const& uuid) const;
2743
2744 MCAPI ::std::string const& $getPlayerPlatformOnlineId(::mce::UUID const& uuid) const;
2745
2746 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager> $getPlayerListManager();
2747
2748 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::PlayerListManager const> $getPlayerListManager() const;
2749
2750 MCAPI ::std::vector<::WeakEntityRef> const& $getActiveUsers() const;
2751
2752 MCFOLD void $notifySubChunkRequestManager(::SubChunkPacket const& packet);
2753
2754 MCFOLD ::SubChunkRequestManager* $getSubChunkRequestManager();
2755
2756 MCAPI ::std::vector<::Actor*> $getRuntimeActorList() const;
2757
2758 MCFOLD ::PacketSender* $getPacketSender() const;
2759
2760 MCAPI ::Bedrock::NonOwnerPointer<::NetEventCallback> $getNetEventCallback() const;
2761
2762 MCAPI void $setNetEventCallback(::Bedrock::NonOwnerPointer<::NetEventCallback> val);
2763
2764 MCAPI ::gsl::not_null<::StackRefResult<::ILevelRandom>> $getILevelRandom();
2765
2766 MCAPI ::IRandom& $getIRandom() const;
2767
2768 MCAPI ::Random& $getRandom() const;
2769
2770 MCFOLD ::Random& $getThreadRandom() const;
2771
2772 MCAPI ::HitResult& $getHitResult();
2773
2774 MCAPI ::HitResult& $getLiquidHitResult();
2775
2776 MCAPI ::Bedrock::NotNullNonOwnerPtr<::HitResultWrapper> $getHitResultWrapper();
2777
2778 MCFOLD ::std::string const& $getImmersiveReaderString() const;
2779
2780 MCAPI void $setImmersiveReaderString(::std::string newString);
2781
2782 MCAPI ::AdventureSettings& $getAdventureSettings();
2783
2784 MCAPI ::AdventureSettings const& $getAdventureSettings() const;
2785
2786 MCAPI ::GameRules const& $getGameRules() const;
2787
2788 MCAPI ::GameRules& $getGameRules();
2789
2790 MCAPI bool $hasStartWithMapEnabled() const;
2791
2792 MCAPI bool $isEditorWorld() const;
2793
2794 MCAPI bool $isHardcore() const;
2795
2796 MCAPI ::Abilities& $getDefaultAbilities();
2797
2798 MCAPI ::PermissionsHandler& $getDefaultPermissions();
2799
2800 MCAPI ::PermissionsHandler const& $getDefaultPermissions() const;
2801
2802 MCFOLD bool $getTearingDown() const;
2803
2804 MCAPI void $takePicture(
2805 ::cg::ImageBuffer& outImage,
2806 ::Actor* camera,
2807 ::Actor* target,
2808 ::ScreenshotOptions& screenshotOptions,
2809 ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)> completedScreenshotCallback
2810 );
2811
2812 MCFOLD ::LevelSoundManager& $getLevelSoundManager();
2813
2814 MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface> $getSoundPlayer() const;
2815
2816 MCAPI void $setSimPaused(bool value);
2817
2818 MCAPI bool $getSimPaused();
2819
2820 MCAPI void $setFinishedInitializing();
2821
2822 MCAPI ::LootTables& $getLootTables();
2823
2824 MCAPI void $updateWeather(float rainLevel, int rainTime, float lightningLevel, int lightningTime);
2825
2826 MCAPI int $getNetherScale() const;
2827
2828 MCFOLD ::Scoreboard& $getScoreboard();
2829
2830 MCFOLD ::Scoreboard const& $getScoreboard() const;
2831
2832 MCFOLD ::Scoreboard* $tryGetScoreboard();
2833
2834 MCAPI ::LayeredAbilities* $getPlayerAbilities(::ActorUniqueID const& playerId);
2835
2836 MCAPI void $setPlayerAbilities(::ActorUniqueID const& playerId, ::LayeredAbilities const& abilities);
2837
2838 MCAPI void $sendAllPlayerAbilities(::Player const& playerReference);
2839
2840 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerAbilitiesManager> $getPlayerAbilitiesManager();
2841
2842 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsManager> $getPlayerPermissionsManager();
2843
2844 MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerPermissionsSynchroniser> $getPlayerPermissionsSynchroniser();
2845
2846 MCFOLD ::Recipes& $getRecipes() const;
2847
2848 MCFOLD ::BlockReducer* $getBlockReducer() const;
2849
2850 MCFOLD ::std::weak_ptr<::TrimPatternRegistry const> $getTrimPatternRegistry() const;
2851
2852 MCFOLD ::std::weak_ptr<::TrimPatternRegistry> $getTrimPatternRegistry();
2853
2854 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry const> $getTrimMaterialRegistry() const;
2855
2856 MCFOLD ::std::weak_ptr<::TrimMaterialRegistry> $getTrimMaterialRegistry();
2857
2858 MCAPI ::BlockType const& $getRegisteredBorderBlock() const;
2859
2860 MCAPI ::Bedrock::NotNullNonOwnerPtr<::LevelChunkPerformanceTelemetry> $getLevelChunkPerformanceTelemetry();
2861
2862 MCFOLD ::cereal::ReflectionCtx& $cerealContext();
2863
2864 MCFOLD ::cereal::ReflectionCtx const& $cerealContext() const;
2865
2866 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager> $getChunkGenerationManager();
2867
2868 MCFOLD ::Bedrock::NonOwnerPointer<::ChunkGenerationManager const> $getChunkGenerationManager() const;
2869
2870 MCAPI void $digestServerBlockProperties(::StartGamePacket const& packet);
2871
2872 MCFOLD ::PlayerDeathManager* $_getPlayerDeathManager();
2873
2874 MCAPI void $_initializeMapDataManager();
2875
2876 MCFOLD ::cereal::ReflectionCtx& $_cerealContext();
2877
2878 MCAPI void $_onLowMemory();
2879 // NOLINTEND
2880
2881public:
2882 // vftables
2883 // NOLINTBEGIN
2885
2886 MCNAPI static void** $vftableForBlockSourceListener();
2887
2888 MCNAPI static void** $vftableForILevel();
2889 // NOLINTEND
2890};
Definition Abilities.h:15
Definition ActorAnimationControllerGroup.h:23
Definition ActorAnimationGroup.h:22
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:32
Definition ActorDimensionTransferManager.h:19
Definition ActorEventBroadcaster.h:5
Definition ActorEventCoordinator.h:21
Definition ActorFactory.h:33
Definition ActorFetcher.h:15
Definition ActorGarbageCollector.h:13
Definition ActorInfoRegistry.h:10
Definition ActorManager.h:29
Definition ActorRuntimeIDManager.h:17
Definition ActorRuntimeID.h:5
Definition ActorSoundIdentifier.h:16
Definition Actor.h:102
Definition ArmorTrimUnloader.h:5
Definition AutomaticID.h:6
Definition AutomationBehaviorTreeGroup.h:11
Definition AutonomousActorManager.h:26
Definition BaseLightTextureImageBuilder.h:12
Definition NonOwnerPointer.h:9
Definition UniqueOwnerPointer.h:11
Definition BehaviorFactory.h:13
Definition BiomeComponentFactory.h:22
Definition BiomeManager.h:27
Definition BiomeRegistry.h:35
Definition BlockActorLevelListener.h:14
Definition BlockDefinitionGroup.h:39
Definition BlockEventCoordinator.h:21
Definition BlockPalette.h:19
Definition BlockPos.h:17
Definition BlockReducer.h:12
Definition BlockSourceListener.h:18
Definition BlockSourceValidityManager.h:15
Definition BlockSource.h:66
Definition BlockTypeRegistry.h:28
Definition BlockType.h:84
Definition Block.h:37
Definition BossEventSubscriptionManager.h:17
Definition CameraPresets.h:22
Definition CameraRegistry.h:5
Definition ChangeDimensionRequest.h:15
Definition ChunkGenerationManager.h:17
Definition ChunkPos.h:11
Definition ChunkSource.h:34
Definition ChunkTickOffsetManager.h:10
Definition ChunkTickRangeManager.h:18
Definition ChunkViewSource.h:22
Definition ChunkViewTrackerManager.h:16
Definition ClientPlayerEventCoordinator.h:8
Definition CommandOrigin.h:32
Definition Command.h:17
Definition CompoundTag.h:13
Definition ContainerRegistry.h:28
Definition DimensionConversionData.h:8
Definition DimensionDefinitionGroup.h:18
Definition DimensionFactory.h:23
Definition DimensionManager.h:24
Definition Dimension.h:83
Definition DisplayActorManager.h:5
Definition EducationSettingsManager.h:10
Definition EntityContext.h:16
Definition EntityRegistry.h:10
Definition EntitySystemsManager.h:16
Definition EntitySystems.h:24
Definition EventCoordinatorManager.h:25
Definition Experiments.h:14
Definition Explosion.h:23
Definition FeatureRegistry.h:18
Definition FeatureTypeFactory.h:20
Definition GameRules.h:22
Definition GameplayUserManager.h:22
Definition HashedString.h:5
Definition HitResultWrapper.h:13
Definition HitResult.h:17
Definition IConstBlockSource.h:24
Definition IEntityRegistryOwner.h:14
Definition ILevelRandom.h:11
Definition ILevel.h:207
Definition IMinecraftEventing.h:147
Definition IRandom.h:13
Definition IUnknownBlockTypeRegistry.h:14
Definition IWorldRegistriesProvider.h:26
Definition InternalComponentRegistry.h:13
Definition ItemEventCoordinator.h:19
Definition ItemRegistryRef.h:34
Definition JigsawStructureRegistry.h:23
Definition LayeredAbilities.h:18
Definition LevelBlockDestroyer.h:5
Definition LevelChunkEventManager.h:18
Definition LevelChunkMetaDataManager.h:23
Definition LevelChunkPerformanceTelemetry.h:14
Definition LevelChunkSaveManager.h:22
Definition LevelChunk.h:77
Definition LevelCrashDumpManager.h:9
Definition LevelData.h:49
Definition LevelEventCoordinator.h:25
Definition LevelEventManager.h:23
Definition LevelListener.h:28
Definition LevelSeed64.h:5
Definition LevelSettings.h:38
Definition LevelSoundManager.h:22
Definition LevelStorageManager.h:27
Definition LevelStorage.h:25
Definition Level.h:243
static MCAPI void ** $vftableForILevel()
static MCAPI void ** $vftableForBlockSourceListener()
static MCAPI void ** $vftableForIWorldRegistriesProvider()
Definition LinkedAssetValidator.h:8
Definition LoadingScreenIdManager.h:5
Definition LootTables.h:11
Definition MapItemSavedData.h:33
Definition Mob.h:47
Definition MolangVariableMap.h:16
Definition NavigationComponent.h:22
Definition NetEventCallback.h:242
Definition NetworkIdentifier.h:10
Definition NpcDialogueStorage.h:14
Definition OwnerPtr.h:7
Definition PacketSender.h:17
Definition ParticleProvider.h:19
Definition Particle.h:15
Definition Path.h:16
Definition PauseManager.h:9
Definition PermissionsHandler.h:14
Definition PhotoItemSavedDataCollection.h:11
Definition PhotoManager.h:19
Definition PhotoStorage.h:10
Definition PlayerAbilitiesManager.h:19
Definition PlayerDeathManager.h:20
Definition PlayerDimensionTransferManager.h:26
Definition PlayerEventCoordinator.h:22
Definition PlayerLimboActorManager.h:21
Definition PlayerListEntry.h:20
Definition PlayerListManager.h:23
Definition PlayerLocationReceiver.h:5
Definition PlayerLocationSender.h:18
Definition PlayerMovementSettingsManager.h:14
Definition PlayerPermissionsManager.h:21
Definition PlayerPermissionsSynchroniser.h:5
Definition PlayerSleepManager.h:9
Definition PlayerTickManager.h:16
Definition Player.h:123
Definition PortalForcer.h:25
Definition ProjectileFactory.h:16
Definition PropertyGroupManager.h:12
Definition Random.h:10
Definition Recipes.h:35
Definition ResourcePackManager.h:24
Definition SavedDataStorage.h:11
Definition Scheduler.h:13
Definition Scoreboard.h:34
Definition ScriptDeferredEventCoordinator.h:18
Definition ScriptingEventCoordinator.h:14
Definition SerializedSkin.h:16
Definition ServerLevelEventCoordinator.h:15
Definition ServerLevel.h:61
Definition ServerNetworkEventCoordinator.h:17
Definition ServerParticleManager.h:5
Definition ServerPlayerEventCoordinator.h:8
Definition ServerPlayerSleepManager.h:22
Definition SoundPlayerInterface.h:20
Definition Spawner.h:40
Definition StartGamePacket.h:29
Definition StrictEntityContext.h:8
Definition StructureManager.h:43
Definition StructureSpawnRegistry.h:14
Definition SubChunkManager.h:24
Definition SubChunkPacket.h:19
Definition SubChunkRequestManager.h:16
Definition SurfaceBuilderRegistry.h:13
Definition TagCacheManager.h:17
Definition TagRegistry.h:9
Definition TaskGroup.h:48
Definition TempEPtrManager.h:10
Definition TickDeathSettingsManager.h:10
Definition TickDeltaTimeManager.h:5
Definition TickTimeManager.h:11
Definition TickingAreaList.h:15
Definition TickingAreasManager.h:29
Definition TradeTables.h:19
Definition TrimMaterialRegistry.h:11
Definition TrimPatternRegistry.h:11
Definition TrustedSkinHelper.h:5
Definition UniqueIDManager.h:13
Definition UserEntityIdentifierComponent.h:12
Definition VanillaActorEventListenerManager.h:12
Definition Vec3.h:10
Definition VolumeEntityManagerServer.h:20
Definition WeakEntityRef.h:14
Definition WeakRef.h:8
Definition WeatherManager.h:18
Definition _TickPtr.h:5
Definition ImageBuffer.h:12
Definition Color.h:13
Definition UUID.h:7
Definition ActorUniqueID.h:5
Definition AdventureSettings.h:5
Definition Bounds.h:8
Definition BreakingItemParticleData.h:5
Definition IDType.h:6
Definition LevelTagIDType.h:5
Definition LevelTagSetIDType.h:5
Definition NetworkPermissions.h:5
Definition PlayerMovementSettings.h:9
Definition PlayerSleepStatus.h:5
Definition ResolvedItemIconInfo.h:8
Definition ScreenshotOptions.h:5
Definition TickDeathSettings.h:5
Definition Tick.h:5