Uses of Class
net.minecraftforge.fmllegacy.network.NetworkInstance
Packages that use NetworkInstance
Package
Description
-
Uses of NetworkInstance in net.minecraftforge.fmllegacy.network
Fields in net.minecraftforge.fmllegacy.network with type parameters of type NetworkInstanceModifier and TypeFieldDescriptionprivate static Map<ResourceLocation,NetworkInstance>NetworkRegistry.instancesMethods in net.minecraftforge.fmllegacy.network that return NetworkInstanceModifier and TypeMethodDescriptionprivate static NetworkInstanceNetworkRegistry.createInstance(ResourceLocation name, Supplier<String> networkProtocolVersion, Predicate<String> clientAcceptedVersions, Predicate<String> serverAcceptedVersions)Creates the internalNetworkInstancethat tracks the channel data.private NetworkInstanceNetworkRegistry.ChannelBuilder.createNetworkInstance()Create the network instanceMethods in net.minecraftforge.fmllegacy.network that return types with arguments of type NetworkInstanceModifier and TypeMethodDescription(package private) static Optional<NetworkInstance>NetworkRegistry.findTarget(ResourceLocation resourceLocation)Find theNetworkInstance, if possibleMethods in net.minecraftforge.fmllegacy.network with parameters of type NetworkInstanceModifier and TypeMethodDescriptionprivate static booleanNetworkHooks.validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, Connection manager)Method parameters in net.minecraftforge.fmllegacy.network with type arguments of type NetworkInstanceModifier and TypeMethodDescriptionNetworkRegistry.listRejectedVanillaMods(BiFunction<NetworkInstance,String,Boolean> testFunction)private static booleanNetworkRegistry.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
Fields in net.minecraftforge.fmllegacy.network.event declared as NetworkInstanceConstructors in net.minecraftforge.fmllegacy.network.event with parameters of type NetworkInstance -
Uses of NetworkInstance in net.minecraftforge.fmllegacy.network.simple
Fields in net.minecraftforge.fmllegacy.network.simple declared as NetworkInstanceModifier and TypeFieldDescriptionprivate NetworkInstanceSimpleChannel.instanceprivate NetworkInstanceIndexedMessageCodec.networkInstanceConstructors in net.minecraftforge.fmllegacy.network.simple with parameters of type NetworkInstanceModifierConstructorDescriptionIndexedMessageCodec(NetworkInstance instance)SimpleChannel(NetworkInstance instance)SimpleChannel(NetworkInstance instance, Consumer<NetworkEvent.ChannelRegistrationChangeEvent> registryChangeNotify)privateSimpleChannel(NetworkInstance instance, Optional<Consumer<NetworkEvent.ChannelRegistrationChangeEvent>> registryChangeNotify)