Package | Description |
---|---|
net.minecraft.network | |
net.minecraft.network.handshake.client |
Modifier and Type | Field and Description |
---|---|
private static EnumConnectionState[] |
EnumConnectionState.STATES_BY_ID |
Modifier and Type | Field and Description |
---|---|
static io.netty.util.AttributeKey<EnumConnectionState> |
NetworkManager.PROTOCOL_ATTRIBUTE_KEY |
private static java.util.Map<java.lang.Class<? extends Packet<?>>,EnumConnectionState> |
EnumConnectionState.STATES_BY_CLASS |
Modifier and Type | Method and Description |
---|---|
static EnumConnectionState |
EnumConnectionState.getById(int stateId) |
static EnumConnectionState |
EnumConnectionState.getFromPacket(Packet<?> packetIn) |
protected EnumConnectionState |
EnumConnectionState.registerPacket(EnumPacketDirection direction,
java.lang.Class<? extends Packet<?>> packetClass) |
static EnumConnectionState |
EnumConnectionState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumConnectionState[] |
EnumConnectionState.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(EnumConnectionState newState) |
Modifier and Type | Field and Description |
---|---|
private EnumConnectionState |
C00Handshake.requestedState |
Modifier and Type | Method and Description |
---|---|
EnumConnectionState |
C00Handshake.getRequestedState() |
Constructor and Description |
---|
C00Handshake(java.lang.String p_i47613_1_,
int p_i47613_2_,
EnumConnectionState p_i47613_3_) |
C00Handshake(java.lang.String address,
int port,
EnumConnectionState state,
boolean addFMLMarker) |