Package | Description |
---|---|
net.minecraft.network | |
net.minecraft.network.handshake.client |
Modifier and Type | Field and Description |
---|---|
private static ProtocolType[] |
ProtocolType.STATES_BY_ID |
Modifier and Type | Field and Description |
---|---|
static io.netty.util.AttributeKey<ProtocolType> |
NetworkManager.PROTOCOL_ATTRIBUTE_KEY |
private static java.util.Map<java.lang.Class<? extends IPacket<?>>,ProtocolType> |
ProtocolType.STATES_BY_CLASS |
Modifier and Type | Method and Description |
---|---|
static ProtocolType |
ProtocolType.getById(int stateId) |
static ProtocolType |
ProtocolType.getFromPacket(IPacket<?> packetIn) |
static ProtocolType |
ProtocolType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
ProtocolType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkManager.setConnectionState(ProtocolType newState) |
Modifier and Type | Field and Description |
---|---|
private ProtocolType |
CHandshakePacket.requestedState |
Modifier and Type | Method and Description |
---|---|
ProtocolType |
CHandshakePacket.getRequestedState() |
Constructor and Description |
---|
CHandshakePacket(java.lang.String p_i47613_1_,
int p_i47613_2_,
ProtocolType p_i47613_3_) |