Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Minecraft Class Reference
Inheritance diagram for Minecraft:

Classes

struct  Impl

Public Member Functions

LLAPI Level * getLevel () const
Minecraft & operator= (Minecraft const &)
 Minecraft (Minecraft const &)
virtual void setSimTimePause (bool pause)
virtual void setSimTimeScale (float scale)
virtual bool getSimPaused () const
virtual bool isOnlineClient () const
virtual ::StackRefResult<::EntityRegistry > getEntityRegistry ()
virtual ::StackRefResult<::EntityRegistry const > getEntityRegistry () const
MCAPI Minecraft (::MinecraftArguments &&args)
MCAPI void _tryCatchupMovementTicks ()
MCAPI void configureGameTest (::Level &level, ::Experiments const &experiments)
MCAPI void disconnectClient (::NetworkIdentifier const &id, ::Connection::DisconnectFailReason disconnectReason)
MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandler > getServerNetworkHandler ()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager > getStructureManager ()
MCAPI bool hostMultiplayer (::std::string const &serverName, ::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity, ::KeyManager const &hostPublicKey, int maxChunkRadius, bool shouldAnnounce, ::ConnectionDefinition const &connectionDefinition, ::std::unordered_map<::PackIdVersion, ::std::string > const &packIdToContentKey, ::Scheduler &scheduler, ::TextFilteringProcessor *textFilteringProcessor, ::NetworkServerConfig const &packetHandlerConfig, ::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache, ::ServerNetworkHandlerDependencies &&serverNetworkOptions)
MCFOLD void init ()
MCAPI void initAsDedicatedServer ()
MCAPI void initCommands ()
MCAPI void startLeaveGame (bool stopNetwork)
MCAPI void unpauseServerForDimensionTransfer ()
MCAPI bool update ()
MCAPI void * $ctor (::MinecraftArguments &&args)
MCAPI void $setSimTimePause (bool pause)
MCAPI void $setSimTimeScale (float scale)
MCAPI bool $getSimPaused () const
MCAPI bool $isOnlineClient () const
MCAPI ::StackRefResult<::EntityRegistry > $getEntityRegistry ()
MCAPI ::StackRefResult<::EntityRegistry const > $getEntityRegistry () const
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void _tryCatchupMovementTicks (::EntitySystems &entitySystems, ::EntityRegistry &registry, ::std::unique_ptr<::ITickingSystem > &addMovementTickForCatchup)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::GameCallbacks & > mGameCallbacks
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing
::ll::TypedStorage< 8, 16, ::OwnerPtr<::ResourcePackManager > > mResourceLoader
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::StructureManager > > mStructureManager
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GameModuleServer > > mGameModuleServer
::ll::TypedStorage< 8, 8, ::PermissionsFile * > mPermissionsFile
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::PrivateKeyManager > > mServerKeys
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::MinecraftServiceKeyManager > > mMinecraftServiceKeys
::ll::TypedStorage< 8, 32, ::std::string const > mSaveGamePath
::ll::TypedStorage< 8, 8, ::ServerMetrics * > mServerMetrics
::ll::TypedStorage< 1, 1, bool const > mIsDedicatedServer
::ll::TypedStorage< 1, 1, bool > mCorruptionDetected
::ll::TypedStorage< 1, 1, bool > mFireOnLevelCorrupt
::ll::TypedStorage< 8, 8, double > mFrameDuration
::ll::TypedStorage< 8, 8, double > mLastFrameStart
::ll::TypedStorage< 8, 8, ::std::chrono::seconds > mMaxPlayerIdleTime
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider > > mDefaultCommandsContextProvider
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MinecraftCommands > > mCommands
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::GameSession > > mGameSession
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::GameTestLevelListener > > mGameTestLevelListener
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MinecraftGameTest > > mGameTest
::ll::TypedStorage< 8, 8, ::Timer & > mSimTimer
::ll::TypedStorage< 8, 8, ::Timer & > mRealTimer
::ll::TypedStorage< 8, 16, ::ClientOrServerNetworkSystemRef > mNetwork
::ll::TypedStorage< 8, 8, ::PacketSender & > mPacketSender
::ll::TypedStorage< 1, 1, ::SubClientId > mClientSubId
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::Minecraft::Impl > > > mImpl
::ll::TypedStorage< 8, 16, ::gsl::not_null<::OwnerPtr<::EntityRegistry > > > mEntityRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ITickingSystem > > mAddMovementTickForCatchup
::ll::TypedStorage< 8, 8, ::std::unique_ptr< ::Bedrock::PubSub::Publisher< void(::Level *), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mLevelSubscribers
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< void() const > > mRequestServerShutdown
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< ::std::unique_ptr<::ServerNetworkHandler >(::MinecraftArguments::CreateServerNetworkHandlerArgs &&)> > mCreateServerNetworkHandler
::ll::TypedStorage< 8, 64, ::brstd::move_only_function<::Bedrock::NotNullNonOwnerPtr<::FileArchiver >() const > > mGetFileArchiver
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< ::std::unique_ptr<::MinecraftCommands >(::MinecraftArguments::CreateMinecraftCommandsArgs &&) const > > mCreateMinecraftCommands
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ Minecraft()

MCAPI Minecraft::Minecraft ( ::MinecraftArguments && args)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getEntityRegistry() [1/2]

virtual ::StackRefResult<::EntityRegistry > Minecraft::getEntityRegistry ( )
virtual

Implements IEntityRegistryOwner.

◆ getEntityRegistry() [2/2]

virtual ::StackRefResult<::EntityRegistry const > Minecraft::getEntityRegistry ( ) const
virtual

Implements IEntityRegistryOwner.

◆ _tryCatchupMovementTicks() [1/2]

MCAPI void Minecraft::_tryCatchupMovementTicks ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ configureGameTest()

MCAPI void Minecraft::configureGameTest ( ::Level & level,
::Experiments const & experiments )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ disconnectClient()

MCAPI void Minecraft::disconnectClient ( ::NetworkIdentifier const & id,
::Connection::DisconnectFailReason disconnectReason )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getStructureManager()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager > Minecraft::getStructureManager ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ hostMultiplayer()

MCAPI bool Minecraft::hostMultiplayer ( ::std::string const & serverName,
::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity,
::KeyManager const & hostPublicKey,
int maxChunkRadius,
bool shouldAnnounce,
::ConnectionDefinition const & connectionDefinition,
::std::unordered_map<::PackIdVersion, ::std::string > const & packIdToContentKey,
::Scheduler & scheduler,
::TextFilteringProcessor * textFilteringProcessor,
::NetworkServerConfig const & packetHandlerConfig,
::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache,
::ServerNetworkHandlerDependencies && serverNetworkOptions )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initAsDedicatedServer()

MCAPI void Minecraft::initAsDedicatedServer ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initCommands()

MCAPI void Minecraft::initCommands ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ startLeaveGame()

MCAPI void Minecraft::startLeaveGame ( bool stopNetwork)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ unpauseServerForDimensionTransfer()

MCAPI void Minecraft::unpauseServerForDimensionTransfer ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryCatchupMovementTicks() [2/2]

MCAPI void Minecraft::_tryCatchupMovementTicks ( ::EntitySystems & entitySystems,
::EntityRegistry & registry,
::std::unique_ptr<::ITickingSystem > & addMovementTickForCatchup )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * Minecraft::$ctor ( ::MinecraftArguments && args)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setSimTimePause()

MCAPI void Minecraft::$setSimTimePause ( bool pause)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setSimTimeScale()

MCAPI void Minecraft::$setSimTimeScale ( float scale)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getSimPaused()

MCAPI bool Minecraft::$getSimPaused ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isOnlineClient()

MCAPI bool Minecraft::$isOnlineClient ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getEntityRegistry() [1/2]

MCAPI ::StackRefResult<::EntityRegistry > Minecraft::$getEntityRegistry ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getEntityRegistry() [2/2]

MCAPI ::StackRefResult<::EntityRegistry const > Minecraft::$getEntityRegistry ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: