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