Uses of Class
net.minecraftforge.fml.network.simple.SimpleChannel
-
Uses of SimpleChannel in net.minecraftforge.fml.network
Modifier and TypeFieldDescription(package private) static final SimpleChannel
FMLNetworkConstants.handshakeChannel
(package private) static final SimpleChannel
FMLNetworkConstants.playChannel
Modifier and TypeMethodDescriptionstatic SimpleChannel
NetworkInitialization.getHandshakeChannel()
static SimpleChannel
NetworkInitialization.getPlayChannel()
static SimpleChannel
NetworkRegistry.newSimpleChannel
(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions) Create a newSimpleChannel
.NetworkRegistry.ChannelBuilder.simpleChannel()
Build a newSimpleChannel
with this builder's configuration. -
Uses of SimpleChannel in net.minecraftforge.fml.network.simple
Modifier and TypeMethodDescriptionprivate static <MSG> SimpleChannel.MessageBuilder<MSG>
SimpleChannel.MessageBuilder.forType
(SimpleChannel channel, Class<MSG> type, int id, NetworkDirection networkDirection)