Uses of Class
net.minecraftforge.fml.network.NetworkInstance
-
Packages that use NetworkInstance Package Description net.minecraftforge.fml.network net.minecraftforge.fml.network.event net.minecraftforge.fml.network.simple -
-
Uses of NetworkInstance in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network with type parameters of type NetworkInstance Modifier and Type Field Description private static java.util.Map<ResourceLocation,NetworkInstance>
NetworkRegistry. instances
Methods in net.minecraftforge.fml.network that return NetworkInstance Modifier and Type Method Description private static NetworkInstance
NetworkRegistry. createInstance(ResourceLocation name, java.util.function.Supplier<java.lang.String> networkProtocolVersion, java.util.function.Predicate<java.lang.String> clientAcceptedVersions, java.util.function.Predicate<java.lang.String> serverAcceptedVersions)
Creates the internalNetworkInstance
that tracks the channel data.private NetworkInstance
NetworkRegistry.ChannelBuilder. createNetworkInstance()
Create the network instanceMethods in net.minecraftforge.fml.network that return types with arguments of type NetworkInstance Modifier and Type Method Description (package private) static java.util.Optional<NetworkInstance>
NetworkRegistry. findTarget(ResourceLocation resourceLocation)
Find theNetworkInstance
, if possibleMethods in net.minecraftforge.fml.network with parameters of type NetworkInstance Modifier and Type Method Description private static boolean
NetworkHooks. validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, NetworkManager manager)
Method parameters in net.minecraftforge.fml.network with type arguments of type NetworkInstance Modifier and Type Method Description (package private) static java.util.List<java.lang.String>
NetworkRegistry. listRejectedVanillaMods(java.util.function.BiFunction<NetworkInstance,java.lang.String,java.lang.Boolean> testFunction)
private static boolean
NetworkRegistry. validateChannels(java.util.Map<ResourceLocation,java.lang.String> incoming, java.lang.String originName, java.util.function.BiFunction<NetworkInstance,java.lang.String,java.lang.Boolean> testFunction)
Tests if the map matches with the supplied predicate tester -
Uses of NetworkInstance in net.minecraftforge.fml.network.event
Fields in net.minecraftforge.fml.network.event declared as NetworkInstance Modifier and Type Field Description private NetworkInstance
EventNetworkChannel. instance
Constructors in net.minecraftforge.fml.network.event with parameters of type NetworkInstance Constructor Description EventNetworkChannel(NetworkInstance instance)
-
Uses of NetworkInstance in net.minecraftforge.fml.network.simple
Fields in net.minecraftforge.fml.network.simple declared as NetworkInstance Modifier and Type Field Description private NetworkInstance
SimpleChannel. instance
private NetworkInstance
IndexedMessageCodec. networkInstance
Constructors in net.minecraftforge.fml.network.simple with parameters of type NetworkInstance Constructor Description IndexedMessageCodec(NetworkInstance instance)
SimpleChannel(NetworkInstance instance)
SimpleChannel(NetworkInstance instance, java.util.function.Consumer<NetworkEvent.ChannelRegistrationChangeEvent> registryChangeNotify)
SimpleChannel(NetworkInstance instance, java.util.Optional<java.util.function.Consumer<NetworkEvent.ChannelRegistrationChangeEvent>> registryChangeNotify)
-