| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol | |
| com.github.steveice10.mc.protocol.codec | |
| com.github.steveice10.mc.protocol.data |
| Modifier and Type | Method and Description |
|---|---|
ProtocolState |
MinecraftProtocol.getState()
Gets the current
ProtocolState the client is in. |
| Modifier and Type | Method and Description |
|---|---|
void |
MinecraftProtocol.setState(ProtocolState state) |
| Modifier and Type | Method and Description |
|---|---|
PacketStateCodec |
PacketCodec.getCodec(ProtocolState protocolState) |
PacketCodec.Builder |
PacketCodec.Builder.state(ProtocolState state,
PacketStateCodec.Builder protocol) |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolState |
ProtocolState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolState[] |
ProtocolState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2022. All rights reserved.