Class QuickPlay
java.lang.Object
net.minecraft.client.quickplay.QuickPlay
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconnect(Minecraft minecraft, GameConfig.QuickPlayVariant quickPlayVariant, RealmsClient realmsClient) private static @Nullable StringgetLatestSingleplayerWorld(LevelStorageSource levelSource) private static voidjoinMultiplayerWorld(Minecraft minecraft, String serverAddressString) private static voidjoinRealmsWorld(Minecraft minecraft, RealmsClient realmsClient, String identifier) private static voidjoinSingleplayerWorld(Minecraft minecraft, @Nullable String identifier)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ERROR_TITLE
-
INVALID_IDENTIFIER
-
REALM_CONNECT
-
REALM_PERMISSION
-
TO_TITLE
-
TO_WORLD_LIST
-
TO_REALMS_LIST
-
-
Constructor Details
-
QuickPlay
public QuickPlay()
-
-
Method Details
-
connect
public static void connect(Minecraft minecraft, GameConfig.QuickPlayVariant quickPlayVariant, RealmsClient realmsClient) -
getLatestSingleplayerWorld
-
joinSingleplayerWorld
-
joinMultiplayerWorld
-
joinRealmsWorld
private static void joinRealmsWorld(Minecraft minecraft, RealmsClient realmsClient, String identifier)
-