Uses of Class
net.minecraft.network.NetworkManager
-
-
Uses of NetworkManager in net.minecraft.client
Fields in net.minecraft.client declared as NetworkManager Modifier and Type Field Description private NetworkManager
Minecraft. pendingConnection
-
Uses of NetworkManager in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as NetworkManager Modifier and Type Field Description private NetworkManager
ConnectingScreen. connection
-
Uses of NetworkManager in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type NetworkManager Modifier and Type Field Description private java.util.List<NetworkManager>
ServerPinger. connections
-
Uses of NetworkManager in net.minecraft.client.network.handshake
Fields in net.minecraft.client.network.handshake declared as NetworkManager Modifier and Type Field Description private NetworkManager
ClientHandshakeNetHandler. connection
Methods in net.minecraft.client.network.handshake that return NetworkManager Modifier and Type Method Description NetworkManager
ClientHandshakeNetHandler. getConnection()
Constructors in net.minecraft.client.network.handshake with parameters of type NetworkManager Constructor Description ClientHandshakeNetHandler(MinecraftServer p_i45287_1_, NetworkManager p_i45287_2_)
-
Uses of NetworkManager in net.minecraft.client.network.login
Fields in net.minecraft.client.network.login declared as NetworkManager Modifier and Type Field Description private NetworkManager
ClientLoginNetHandler. connection
Methods in net.minecraft.client.network.login that return NetworkManager Modifier and Type Method Description NetworkManager
ClientLoginNetHandler. getConnection()
Constructors in net.minecraft.client.network.login with parameters of type NetworkManager Constructor Description ClientLoginNetHandler(NetworkManager p_i49527_1_, Minecraft p_i49527_2_, Screen p_i49527_3_, java.util.function.Consumer<ITextComponent> p_i49527_4_)
-
Uses of NetworkManager in net.minecraft.client.network.play
Fields in net.minecraft.client.network.play declared as NetworkManager Modifier and Type Field Description private NetworkManager
ClientPlayNetHandler. connection
Methods in net.minecraft.client.network.play that return NetworkManager Modifier and Type Method Description NetworkManager
ClientPlayNetHandler. getConnection()
Constructors in net.minecraft.client.network.play with parameters of type NetworkManager Constructor Description ClientPlayNetHandler(Minecraft p_i46300_1_, Screen p_i46300_2_, NetworkManager p_i46300_3_, com.mojang.authlib.GameProfile p_i46300_4_)
-
Uses of NetworkManager in net.minecraft.network
Subclasses of NetworkManager in net.minecraft.network Modifier and Type Class Description class
RateLimitedNetworkManager
Fields in net.minecraft.network with type parameters of type NetworkManager Modifier and Type Field Description private java.util.function.Consumer<NetworkManager>
NetworkManager. activationHandler
private java.util.List<NetworkManager>
NetworkSystem. connections
Methods in net.minecraft.network that return NetworkManager Modifier and Type Method Description static NetworkManager
NetworkManager. connectToLocalServer(java.net.SocketAddress p_150722_0_)
static NetworkManager
NetworkManager. connectToServer(java.net.InetAddress p_181124_0_, int p_181124_1_, boolean p_181124_2_)
NetworkManager
INetHandler. getConnection()
-
Uses of NetworkManager in net.minecraft.network.handshake
Fields in net.minecraft.network.handshake declared as NetworkManager Modifier and Type Field Description private NetworkManager
ServerHandshakeNetHandler. connection
Methods in net.minecraft.network.handshake that return NetworkManager Modifier and Type Method Description NetworkManager
ServerHandshakeNetHandler. getConnection()
Constructors in net.minecraft.network.handshake with parameters of type NetworkManager Constructor Description ServerHandshakeNetHandler(MinecraftServer p_i45295_1_, NetworkManager p_i45295_2_)
-
Uses of NetworkManager in net.minecraft.network.login
Fields in net.minecraft.network.login declared as NetworkManager Modifier and Type Field Description NetworkManager
ServerLoginNetHandler. connection
Methods in net.minecraft.network.login that return NetworkManager Modifier and Type Method Description NetworkManager
ServerLoginNetHandler. getConnection()
Constructors in net.minecraft.network.login with parameters of type NetworkManager Constructor Description ServerLoginNetHandler(MinecraftServer p_i45298_1_, NetworkManager p_i45298_2_)
-
Uses of NetworkManager in net.minecraft.network.play
Fields in net.minecraft.network.play declared as NetworkManager Modifier and Type Field Description NetworkManager
ServerPlayNetHandler. connection
Methods in net.minecraft.network.play that return NetworkManager Modifier and Type Method Description NetworkManager
ServerPlayNetHandler. getConnection()
Constructors in net.minecraft.network.play with parameters of type NetworkManager Constructor Description ServerPlayNetHandler(MinecraftServer p_i1530_1_, NetworkManager p_i1530_2_, ServerPlayerEntity p_i1530_3_)
-
Uses of NetworkManager in net.minecraft.network.status
Fields in net.minecraft.network.status declared as NetworkManager Modifier and Type Field Description private NetworkManager
ServerStatusNetHandler. connection
Methods in net.minecraft.network.status that return NetworkManager Modifier and Type Method Description NetworkManager
ServerStatusNetHandler. getConnection()
Constructors in net.minecraft.network.status with parameters of type NetworkManager Constructor Description ServerStatusNetHandler(MinecraftServer p_i45299_1_, NetworkManager p_i45299_2_)
-
Uses of NetworkManager in net.minecraft.realms
Fields in net.minecraft.realms declared as NetworkManager Modifier and Type Field Description private NetworkManager
RealmsConnect. connection
-
Uses of NetworkManager in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type NetworkManager Modifier and Type Method Description void
PlayerList. placeNewPlayer(NetworkManager p_72355_1_, ServerPlayerEntity p_72355_2_)
-
Uses of NetworkManager in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as NetworkManager Modifier and Type Field Description private NetworkManager
ClientPlayerNetworkEvent. networkManager
Methods in net.minecraftforge.client.event that return NetworkManager Modifier and Type Method Description NetworkManager
ClientPlayerNetworkEvent. getNetworkManager()
Constructors in net.minecraftforge.client.event with parameters of type NetworkManager Constructor Description ClientPlayerNetworkEvent(PlayerController controller, ClientPlayerEntity player, NetworkManager networkManager)
LoggedInEvent(PlayerController controller, ClientPlayerEntity player, NetworkManager networkManager)
LoggedOutEvent(PlayerController controller, ClientPlayerEntity player, NetworkManager networkManager)
RespawnEvent(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
-
Uses of NetworkManager in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type NetworkManager Modifier and Type Method Description default void
IForgeTileEntity. onDataPacket(NetworkManager net, SUpdateTileEntityPacket pkt)
Called when you receive a TileEntityData packet for the location this TileEntity is currently in. -
Uses of NetworkManager in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util declared as NetworkManager Modifier and Type Field Description private static NetworkManager
FakePlayer.FakePlayerNetHandler. DUMMY_NETWORK_MANAGER
-
Uses of NetworkManager in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type NetworkManager Modifier and Type Method Description void
FullPotsAccessorDemo.DioriteFlowerPotTileEntity. onDataPacket(NetworkManager net, SUpdateTileEntityPacket pkt)
-
Uses of NetworkManager in net.minecraftforge.fml.client
Methods in net.minecraftforge.fml.client that return NetworkManager Modifier and Type Method Description private static NetworkManager
ClientHooks. getClientToServerNetworkManager()
Methods in net.minecraftforge.fml.client with parameters of type NetworkManager Modifier and Type Method Description static void
ClientHooks. firePlayerLogin(PlayerController pc, ClientPlayerEntity player, NetworkManager networkManager)
static void
ClientHooks. firePlayerRespawn(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
-
Uses of NetworkManager in net.minecraftforge.fml.common.network
Methods in net.minecraftforge.fml.common.network with parameters of type NetworkManager Modifier and Type Method Description static void
PacketLoggingHandler. register(NetworkManager manager)
-
Uses of NetworkManager in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network declared as NetworkManager Modifier and Type Field Description private NetworkManager
FMLHandshakeHandler. manager
private NetworkManager
PacketDispatcher.NetworkManagerDispatcher. manager
private NetworkManager
NetworkEvent.Context. networkManager
TheNetworkManager
for this message.Fields in net.minecraftforge.fml.network with type parameters of type NetworkManager Modifier and Type Field Description static PacketDistributor<java.util.List<NetworkManager>>
PacketDistributor. NMLIST
Send to the supplied list of NetworkManager instances in the Supplier
PacketDistributor.with(Supplier)
List of NetworkManagerMethods in net.minecraftforge.fml.network that return NetworkManager Modifier and Type Method Description NetworkManager
NetworkEvent.Context. getNetworkManager()
Methods in net.minecraftforge.fml.network with parameters of type NetworkManager Modifier and Type Method Description void
FMLMCRegisterPacketHandler. addChannels(java.util.Set<ResourceLocation> locations, NetworkManager manager)
(package private) boolean
NetworkInstance. dispatch(NetworkDirection side, ICustomPacket<?> packet, NetworkManager manager)
static FMLConnectionData
NetworkHooks. getConnectionData(NetworkManager mgr)
private static FMLMCRegisterPacketHandler.ChannelList
FMLMCRegisterPacketHandler. getFrom(NetworkManager manager)
static void
NetworkHooks. handleClientLoginSuccess(NetworkManager manager)
boolean
NetworkInstance. isRemotePresent(NetworkManager manager)
static boolean
NetworkHooks. isVanillaConnection(NetworkManager manager)
static boolean
NetworkHooks. onCustomPayload(ICustomPacket<?> packet, NetworkManager manager)
static void
NetworkHooks. registerClientLoginChannel(NetworkManager manager)
(package private) static void
FMLHandshakeHandler. registerHandshake(NetworkManager manager, NetworkDirection direction)
Create a new handshake instance.static void
NetworkHooks. registerServerLoginChannel(NetworkManager manager, CHandshakePacket packet)
static void
NetworkHooks. sendMCRegistryPackets(NetworkManager manager, java.lang.String direction)
void
FMLMCRegisterPacketHandler. sendRegistry(NetworkManager manager, NetworkDirection dir)
(package private) void
FMLLoginWrapper. sendServerToClientLoginPacket(ResourceLocation resourceLocation, PacketBuffer buffer, int index, NetworkManager manager)
(package private) static boolean
FMLHandshakeHandler. tickLogin(NetworkManager networkManager)
static boolean
NetworkHooks. tickNegotiation(ServerLoginNetHandler netHandlerLoginServer, NetworkManager networkManager, ServerPlayerEntity player)
static void
NetworkHooks. validatePacketDirection(NetworkDirection packetDirection, java.util.Optional<NetworkDirection> expectedDirection, NetworkManager connection)
private static boolean
NetworkHooks. validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, NetworkManager manager)
Method parameters in net.minecraftforge.fml.network with type arguments of type NetworkManager Modifier and Type Method Description static ConnectionType
NetworkHooks. getConnectionType(java.util.function.Supplier<NetworkManager> connection)
private java.util.function.Consumer<IPacket<?>>
PacketDistributor. networkManagerList(java.util.function.Supplier<java.util.List<NetworkManager>> nmListSupplier)
Constructors in net.minecraftforge.fml.network with parameters of type NetworkManager Constructor Description Context(NetworkManager netHandler, NetworkDirection networkDirection, int index)
Context(NetworkManager networkManager, NetworkDirection networkDirection, PacketDispatcher dispatcher)
FMLHandshakeHandler(NetworkManager networkManager, NetworkDirection side)
NetworkManagerDispatcher(NetworkManager manager, int packetIndex, java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)
-
Uses of NetworkManager in net.minecraftforge.fml.network.event
Methods in net.minecraftforge.fml.network.event with parameters of type NetworkManager Modifier and Type Method Description boolean
EventNetworkChannel. isRemotePresent(NetworkManager manager)
-
Uses of NetworkManager in net.minecraftforge.fml.network.simple
Methods in net.minecraftforge.fml.network.simple with parameters of type NetworkManager Modifier and Type Method Description boolean
SimpleChannel. isRemotePresent(NetworkManager manager)
Returns true if the channel is present in the given connection.<MSG> void
SimpleChannel. sendTo(MSG message, NetworkManager manager, NetworkDirection direction)
-
Uses of NetworkManager in net.minecraftforge.fml.server
Methods in net.minecraftforge.fml.server with parameters of type NetworkManager Modifier and Type Method Description static boolean
ServerLifecycleHooks. handleServerLogin(CHandshakePacket packet, NetworkManager manager)
private static void
ServerLifecycleHooks. rejectConnection(NetworkManager manager, ConnectionType type, java.lang.String message)
-
Uses of NetworkManager in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type NetworkManager Modifier and Type Field Description private static java.util.Map<java.lang.String,java.util.function.Function<NetworkManager,VanillaPacketFilter>>
NetworkFilters. instances
Methods in net.minecraftforge.network with parameters of type NetworkManager Modifier and Type Method Description private static java.util.Map<java.lang.Class<? extends IPacket<?>>,java.util.function.BiConsumer<IPacket<?>,java.util.List<? super IPacket<?>>>>
ForgeConnectionNetworkFilter. buildHandlers(NetworkManager manager)
static VanillaPacketSplitter.RemoteCompatibility
VanillaPacketSplitter. getRemoteCompatibility(NetworkManager manager)
static void
NetworkFilters. injectIfNecessary(NetworkManager manager)
protected boolean
ForgeConnectionNetworkFilter. isNecessary(NetworkManager manager)
protected boolean
VanillaConnectionNetworkFilter. isNecessary(NetworkManager manager)
protected abstract boolean
VanillaPacketFilter. isNecessary(NetworkManager manager)
Whether this filter is necessary on the given connection.static boolean
VanillaPacketSplitter. isRemoteCompatible(NetworkManager manager)
Constructors in net.minecraftforge.network with parameters of type NetworkManager Constructor Description ForgeConnectionNetworkFilter(NetworkManager manager)
-