Uses of Class
net.minecraftforge.network.NetworkRegistry.ChannelBuilder
-
Uses of NetworkRegistry.ChannelBuilder in net.minecraftforge.network
Modifier and TypeMethodDescriptionNetworkRegistry.ChannelBuilder.clientAcceptedVersions
(Predicate<String> clientAcceptedVersions) A predicate run on the client, with thenetworkProtocolVersion(Supplier)
string from the server, or the special valueNetworkRegistry.ABSENT
indicating the absence of the channel on the remote side.NetworkRegistry.ChannelBuilder.named
(ResourceLocation channelName) The name of the channel.NetworkRegistry.ChannelBuilder.networkProtocolVersion
(Supplier<String> networkProtocolVersion) The impl protocol string for this channel.NetworkRegistry.ChannelBuilder.serverAcceptedVersions
(Predicate<String> serverAcceptedVersions) A predicate run on the server, with thenetworkProtocolVersion(Supplier)
string from the server, or the special valueNetworkRegistry.ABSENT
indicating the absence of the channel on the remote side.