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.VersionTest
Channel.VersionTest.ACCEPT_MISSING
static final Channel.VersionTest
Channel.VersionTest.ACCEPT_VANILLA
private Channel.VersionTest
ChannelBuilder.clientAcceptedVersions
(package private) final Channel.VersionTest
NetworkInstance.clientAcceptedVersions
private Channel.VersionTest
ChannelBuilder.serverAcceptedVersions
(package private) final Channel.VersionTest
NetworkInstance.serverAcceptedVersions
Methods in net.minecraftforge.network that return Channel.VersionTestModifier and TypeMethodDescriptiondefault Channel.VersionTest
Channel.VersionTest.and
(Channel.VersionTest other) Returns a composed instance that represents a short-circuiting logical AND of this instance and another.static Channel.VersionTest
Channel.VersionTest.exact
(int version) private Channel.VersionTest
ChannelBuilder.getClientAcceptedVersions()
private Channel.VersionTest
ChannelBuilder.getServerAcceptedVersions()
default Channel.VersionTest
Channel.VersionTest.negate()
Returns a instance that represents the logical negation of this instance.default Channel.VersionTest
Channel.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.VersionTest
Channel.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.VersionTest
Channel.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)