Uses of Enum Class
net.minecraftforge.network.ConnectionType
Packages that use ConnectionType
-
Uses of ConnectionType in net.minecraftforge.network
Methods in net.minecraftforge.network that return ConnectionTypeModifier and TypeMethodDescriptionstatic ConnectionType
ConnectionType.forVersionFlag
(String vers) private static ConnectionType
NetworkHooks.getConnectionType
(io.netty.channel.Channel channel) static ConnectionType
NetworkHooks.getConnectionType
(io.netty.channel.ChannelHandlerContext context) static ConnectionType
NetworkHooks.getConnectionType
(Supplier<Connection> connection) static ConnectionType
Returns the enum constant of this class with the specified name.static ConnectionType[]
ConnectionType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ConnectionType in net.minecraftforge.server
Methods in net.minecraftforge.server with parameters of type ConnectionTypeModifier and TypeMethodDescriptionprivate static void
ServerLifecycleHooks.rejectConnection
(Connection manager, ConnectionType type, String message)