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