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