Uses of Class
net.minecraftforge.network.NetworkInstance
Packages that use NetworkInstance
Package
Description
-
Uses of NetworkInstance in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type NetworkInstanceModifier and TypeFieldDescriptionprivate static Map<ResourceLocation,NetworkInstance> NetworkRegistry.instancesMethods in net.minecraftforge.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 impl instanceMethods in net.minecraftforge.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.network with parameters of type NetworkInstanceModifier and TypeMethodDescriptionprivate static booleanNetworkHooks.validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, Connection manager) Method parameters in net.minecraftforge.network with type arguments of type NetworkInstanceModifier and TypeMethodDescriptionNetworkRegistry.listRejectedVanillaMods(BiFunction<NetworkInstance, String, Boolean> testFunction) private static Map<ResourceLocation,String> 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.network.event
Fields in net.minecraftforge.network.event declared as NetworkInstanceConstructors in net.minecraftforge.network.event with parameters of type NetworkInstance -
Uses of NetworkInstance in net.minecraftforge.network.simple
Fields in net.minecraftforge.network.simple declared as NetworkInstanceModifier and TypeFieldDescriptionprivate final NetworkInstanceSimpleChannel.instanceprivate final NetworkInstanceIndexedMessageCodec.networkInstanceConstructors in net.minecraftforge.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)