Uses of Class
net.minecraftforge.fmllegacy.network.NetworkInstance
Package
Description
-
Uses of NetworkInstance in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionprivate static Map<ResourceLocation,NetworkInstance>
NetworkRegistry.instances
Modifier and TypeMethodDescriptionprivate static NetworkInstance
NetworkRegistry.createInstance(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions)
Creates the internalNetworkInstance
that tracks the channel data.private NetworkInstance
NetworkRegistry.ChannelBuilder.createNetworkInstance()
Create the network instanceModifier and TypeMethodDescription(package private) static Optional<NetworkInstance>
NetworkRegistry.findTarget(ResourceLocation resourceLocation)
Find theNetworkInstance
, if possibleModifier and TypeMethodDescriptionprivate static boolean
NetworkHooks.validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, Connection manager)
Modifier and TypeMethodDescriptionNetworkRegistry.listRejectedVanillaMods(BiFunction<NetworkInstance,String,Boolean> testFunction)
private static boolean
NetworkRegistry.validateChannels(Map<ResourceLocation,String> incoming, String originName, BiFunction<NetworkInstance,String,Boolean> testFunction)
Tests if the map matches with the supplied predicate tester -
Uses of NetworkInstance in net.minecraftforge.fmllegacy.network.event
-
Uses of NetworkInstance in net.minecraftforge.fmllegacy.network.simple
Modifier and TypeFieldDescriptionprivate NetworkInstance
SimpleChannel.instance
private NetworkInstance
IndexedMessageCodec.networkInstance
ModifierConstructorDescriptionIndexedMessageCodec(NetworkInstance instance)
SimpleChannel(NetworkInstance instance)
SimpleChannel(NetworkInstance instance, Consumer<NetworkEvent.ChannelRegistrationChangeEvent> registryChangeNotify)
private
SimpleChannel(NetworkInstance instance, Optional<Consumer<NetworkEvent.ChannelRegistrationChangeEvent>> registryChangeNotify)