Uses of Interface
net.minecraftforge.network.Channel.VersionTest
Packages that use Channel.VersionTest
-
Uses of Channel.VersionTest in net.minecraftforge.network
Fields in net.minecraftforge.network declared as Channel.VersionTestModifier and TypeFieldDescriptionstatic final Channel.VersionTestChannel.VersionTest.ACCEPT_MISSINGstatic final Channel.VersionTestChannel.VersionTest.ACCEPT_VANILLAprivate Channel.VersionTestChannelBuilder.clientAcceptedVersions(package private) final Channel.VersionTestNetworkInstance.clientAcceptedVersionsprivate Channel.VersionTestChannelBuilder.serverAcceptedVersions(package private) final Channel.VersionTestNetworkInstance.serverAcceptedVersionsMethods in net.minecraftforge.network that return Channel.VersionTestModifier and TypeMethodDescriptiondefault Channel.VersionTestChannel.VersionTest.and(Channel.VersionTest other) Returns a composed instance that represents a short-circuiting logical AND of this instance and another.static Channel.VersionTestChannel.VersionTest.exact(int version) private Channel.VersionTestChannelBuilder.getClientAcceptedVersions()private Channel.VersionTestChannelBuilder.getServerAcceptedVersions()default Channel.VersionTestChannel.VersionTest.negate()Returns a instance that represents the logical negation of this instance.default Channel.VersionTestChannel.VersionTest.or(Channel.VersionTest other) Returns a composed instance that represents a short-circuiting logical OR of this instance and another.Methods in net.minecraftforge.network with parameters of type Channel.VersionTestModifier and TypeMethodDescriptionChannelBuilder.acceptedVersions(Channel.VersionTest test) A predicate run on both sides, with theChannelBuilder.networkProtocolVersion(int)from the server, the channel on the remote side.default Channel.VersionTestChannel.VersionTest.and(Channel.VersionTest other) Returns a composed instance that represents a short-circuiting logical AND of this instance and another.ChannelBuilder.clientAcceptedVersions(Channel.VersionTest test) A predicate run on the client, with theChannelBuilder.networkProtocolVersion(int)from the server, the channel on the remote side.default Channel.VersionTestChannel.VersionTest.or(Channel.VersionTest other) Returns a composed instance that represents a short-circuiting logical OR of this instance and another.ChannelBuilder.serverAcceptedVersions(Channel.VersionTest test) A predicate run on the server, with theChannelBuilder.networkProtocolVersion(int)from the server, the channel on the remote side.Method parameters in net.minecraftforge.network with type arguments of type Channel.VersionTestModifier and TypeMethodDescriptionNetworkRegistry.listRejectedVanillaMods(Function<NetworkInstance, Channel.VersionTest> testFunction) Constructors in net.minecraftforge.network with parameters of type Channel.VersionTestModifierConstructorDescription(package private)NetworkInstance(ResourceLocation channelName, int networkProtocolVersion, Channel.VersionTest clientAcceptedVersions, Channel.VersionTest serverAcceptedVersions, Map<io.netty.util.AttributeKey<?>, Function<Connection, ?>> attributes, Consumer<Connection> channelHandler)