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.instances
Methods in net.minecraftforge.fmllegacy.network that return NetworkInstanceModifier 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 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 boolean
NetworkHooks.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 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
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 NetworkInstance
SimpleChannel.instance
private NetworkInstance
IndexedMessageCodec.networkInstance
Constructors in net.minecraftforge.fmllegacy.network.simple with parameters of type NetworkInstanceModifierConstructorDescriptionIndexedMessageCodec(NetworkInstance instance)
SimpleChannel(NetworkInstance instance)
SimpleChannel(NetworkInstance instance, Consumer<NetworkEvent.ChannelRegistrationChangeEvent> registryChangeNotify)
private
SimpleChannel(NetworkInstance instance, Optional<Consumer<NetworkEvent.ChannelRegistrationChangeEvent>> registryChangeNotify)