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