| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol | |
| com.github.steveice10.mc.protocol.codec |
| Constructor and Description |
|---|
MinecraftProtocol(PacketCodec codec)
Constructs a new MinecraftProtocol instance for making status queries.
|
MinecraftProtocol(@NonNull PacketCodec codec,
@NonNull com.github.steveice10.mc.auth.data.GameProfile profile,
String accessToken)
Constructs a new MinecraftProtocol instance for logging in.
|
MinecraftProtocol(@NonNull PacketCodec codec,
@NonNull String username)
Constructs a new MinecraftProtocol instance for logging in using offline mode.
|
| Modifier and Type | Field and Description |
|---|---|
static PacketCodec |
MinecraftCodec.CODEC |
| Modifier and Type | Method and Description |
|---|---|
PacketCodec |
PacketCodec.Builder.build() |
Copyright © 2022. All rights reserved.