Uses of Interface
net.minecraftforge.network.Channel.VersionTest
-
Uses of Channel.VersionTest in net.minecraftforge.network
Modifier 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
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionNetworkRegistry.listRejectedVanillaMods
(Function<NetworkInstance, Channel.VersionTest> testFunction) ModifierConstructorDescription(package private)
NetworkInstance
(ResourceLocation channelName, int networkProtocolVersion, Channel.VersionTest clientAcceptedVersions, Channel.VersionTest serverAcceptedVersions, Map<io.netty.util.AttributeKey<?>, Function<Connection, ?>> attributes, Consumer<Connection> channelHandler)