Package | Description |
---|---|
net.minecraftforge.fml.network | |
net.minecraftforge.fml.server |
Modifier and Type | Method and Description |
---|---|
static ConnectionType |
ConnectionType.forVersionFlag(java.lang.String vers) |
static ConnectionType |
NetworkHooks.getConnectionType(java.util.function.Supplier<NetworkManager> connection) |
static ConnectionType |
ConnectionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionType[] |
ConnectionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static void |
ServerLifecycleHooks.rejectConnection(NetworkManager manager,
ConnectionType type,
java.lang.String message) |