Uses of Class
net.minecraftforge.network.NetworkRegistry.ChannelBuilder
Packages that use NetworkRegistry.ChannelBuilder
-
Uses of NetworkRegistry.ChannelBuilder in net.minecraftforge.network
Methods in net.minecraftforge.network that return NetworkRegistry.ChannelBuilderModifier and TypeMethodDescriptionNetworkRegistry.ChannelBuilder.clientAcceptedVersions(Predicate<String> clientAcceptedVersions) A predicate run on the client, with thenetworkProtocolVersion(Supplier)string from the server, or the special valueNetworkRegistry.ABSENTindicating 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.ABSENTindicating the absence of the channel on the remote side.