A C D E G H I L O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Account - Class in us.donut.mmc
-
Represents a Minecraft account.
- Account(String) - Constructor for class us.donut.mmc.Account
-
Constructs a new account with the given username.
- Account.Certificate - Class in us.donut.mmc
-
Represents a player certificate which consists of the Mojang provided key-pair used for cryptographically signing chat messages.
- asBaos() - Method in class us.donut.mmc.OutboundPacket
C
- Certificate(PrivateKey, PublicKey, byte[], long) - Constructor for class us.donut.mmc.Account.Certificate
-
Constructs a new certificate object with the given fields.
- Client - Class in us.donut.mmc
-
A minimal Minecraft client implementation which provides methods for server list pings, logins, and sending/receiving packets.
- Client() - Constructor for class us.donut.mmc.Client
-
Constructs a new client.
- Client.ClientInputStream - Class in us.donut.mmc
-
Data from a server.
- Client.ClientOutputStream - Class in us.donut.mmc
-
Data going to a server.
- ClientInputStream(InputStream) - Constructor for class us.donut.mmc.Client.ClientInputStream
-
Constructs a new ClientInputStream.
- ClientOutputStream(OutputStream) - Constructor for class us.donut.mmc.Client.ClientOutputStream
-
Constructs a new ClientOutputStream.
D
- disconnect() - Method in class us.donut.mmc.Client
-
Disconnects this client if currently connected to a server.
E
- equals(Object) - Method in class us.donut.mmc.Account.Certificate
- equals(Object) - Method in class us.donut.mmc.Account
G
- getAccessToken() - Method in class us.donut.mmc.Account
- getCertificate() - Method in class us.donut.mmc.Account
- getExpiration() - Method in class us.donut.mmc.Account.Certificate
- getPacketID() - Method in class us.donut.mmc.InboundPacket
- getPacketID() - Method in class us.donut.mmc.OutboundPacket
- getPrivateKey() - Method in class us.donut.mmc.Account.Certificate
- getPublicKey() - Method in class us.donut.mmc.Account.Certificate
- getPublicKeySig() - Method in class us.donut.mmc.Account.Certificate
- getUsername() - Method in class us.donut.mmc.Account
- getUUID() - Method in class us.donut.mmc.Account
H
- hasAccessToken() - Method in class us.donut.mmc.Account
- hasCertificate() - Method in class us.donut.mmc.Account
- hashCode() - Method in class us.donut.mmc.Account.Certificate
- hashCode() - Method in class us.donut.mmc.Account
- hasUUID() - Method in class us.donut.mmc.Account
I
- InboundPacket - Class in us.donut.mmc
-
Represents a packet coming from a server.
- InboundPacket(byte[]) - Constructor for class us.donut.mmc.InboundPacket
- isConnected() - Method in class us.donut.mmc.Client
-
Checks if this client is connected to a server.
L
- login(Account, String, int) - Method in class us.donut.mmc.Client
-
Executes the login process.
O
- OutboundPacket - Class in us.donut.mmc
-
Represents a packet going to a server.
- OutboundPacket(int) - Constructor for class us.donut.mmc.OutboundPacket
-
Constructs a new OutboundPacket with the given packet ID.
P
- ping(String, int) - Method in class us.donut.mmc.Client
-
Executes a server list ping.
R
- readString() - Method in class us.donut.mmc.Client.ClientInputStream
- readUUID() - Method in class us.donut.mmc.Client.ClientInputStream
- readVarInt() - Method in class us.donut.mmc.Client.ClientInputStream
- readVarLong() - Method in class us.donut.mmc.Client.ClientInputStream
- receive() - Method in class us.donut.mmc.Client
-
Reads a packet from the connected server (blocks until a packet is received).
S
- send(OutboundPacket) - Method in class us.donut.mmc.Client
-
Sends a packet to the connected server.
- setAccessToken(String) - Method in class us.donut.mmc.Account
- setCertificate(Account.Certificate) - Method in class us.donut.mmc.Account
- setUsername(String) - Method in class us.donut.mmc.Account
- setUUID(UUID) - Method in class us.donut.mmc.Account
T
- toString() - Method in class us.donut.mmc.Account
U
- us.donut.mmc - package us.donut.mmc
W
- writeString(String) - Method in class us.donut.mmc.Client.ClientOutputStream
- writeUUID(UUID) - Method in class us.donut.mmc.Client.ClientOutputStream
- writeVarInt(int) - Method in class us.donut.mmc.Client.ClientOutputStream
- writeVarLong(long) - Method in class us.donut.mmc.Client.ClientOutputStream
All Classes All Packages