Uses of Class
net.minecraft.network.NetworkManager
Package
Description
-
Uses of NetworkManager in net.minecraft.client
-
Uses of NetworkManager in net.minecraft.client.gui.screen
-
Uses of NetworkManager in net.minecraft.client.network
-
Uses of NetworkManager in net.minecraft.client.network.handshake
Modifier and TypeFieldDescriptionprivate final NetworkManager
ClientHandshakeNetHandler.connection
ModifierConstructorDescriptionClientHandshakeNetHandler
(MinecraftServer p_i45287_1_, NetworkManager p_i45287_2_) -
Uses of NetworkManager in net.minecraft.client.network.login
ModifierConstructorDescriptionClientLoginNetHandler
(NetworkManager p_i49527_1_, Minecraft p_i49527_2_, Screen p_i49527_3_, Consumer<ITextComponent> p_i49527_4_) -
Uses of NetworkManager in net.minecraft.client.network.play
ModifierConstructorDescriptionClientPlayNetHandler
(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
Modifier and TypeFieldDescriptionprivate Consumer<NetworkManager>
NetworkManager.activationHandler
private final List<NetworkManager>
NetworkSystem.connections
Modifier and TypeMethodDescriptionstatic NetworkManager
NetworkManager.connectToLocalServer
(SocketAddress p_150722_0_) static NetworkManager
NetworkManager.connectToServer
(InetAddress p_181124_0_, int p_181124_1_, boolean p_181124_2_) INetHandler.getConnection()
-
Uses of NetworkManager in net.minecraft.network.handshake
Modifier and TypeFieldDescriptionprivate final NetworkManager
ServerHandshakeNetHandler.connection
ModifierConstructorDescriptionServerHandshakeNetHandler
(MinecraftServer p_i45295_1_, NetworkManager p_i45295_2_) -
Uses of NetworkManager in net.minecraft.network.login
ModifierConstructorDescriptionServerLoginNetHandler
(MinecraftServer p_i45298_1_, NetworkManager p_i45298_2_) -
Uses of NetworkManager in net.minecraft.network.play
ModifierConstructorDescriptionServerPlayNetHandler
(MinecraftServer p_i1530_1_, NetworkManager p_i1530_2_, ServerPlayerEntity p_i1530_3_) -
Uses of NetworkManager in net.minecraft.network.status
ModifierConstructorDescriptionServerStatusNetHandler
(MinecraftServer p_i45299_1_, NetworkManager p_i45299_2_) -
Uses of NetworkManager in net.minecraft.realms
-
Uses of NetworkManager in net.minecraft.server.management
Modifier and TypeMethodDescriptionvoid
PlayerList.placeNewPlayer
(NetworkManager p_72355_1_, ServerPlayerEntity p_72355_2_) -
Uses of NetworkManager in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final NetworkManager
ClientPlayerNetworkEvent.networkManager
ModifierConstructorDescription(package private)
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
Modifier and TypeMethodDescriptiondefault 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
Modifier and TypeFieldDescriptionprivate static final NetworkManager
FakePlayer.FakePlayerNetHandler.DUMMY_NETWORK_MANAGER
-
Uses of NetworkManager in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.DioriteFlowerPotTileEntity.onDataPacket
(NetworkManager net, SUpdateTileEntityPacket pkt) -
Uses of NetworkManager in net.minecraftforge.fml.client
Modifier and TypeMethodDescriptionprivate static NetworkManager
ClientHooks.getClientToServerNetworkManager()
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionstatic void
PacketLoggingHandler.register
(NetworkManager manager) -
Uses of NetworkManager in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionprivate final NetworkManager
FMLHandshakeHandler.manager
private final NetworkManager
PacketDispatcher.NetworkManagerDispatcher.manager
private final NetworkManager
NetworkEvent.Context.networkManager
TheNetworkManager
for this message.Modifier and TypeFieldDescriptionstatic final PacketDistributor<List<NetworkManager>>
PacketDistributor.NMLIST
Send to the supplied list of NetworkManager instances in the Supplier
PacketDistributor.with(Supplier)
List of NetworkManagerModifier and TypeMethodDescriptionvoid
FMLMCRegisterPacketHandler.addChannels
(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, 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, Optional<NetworkDirection> expectedDirection, NetworkManager connection) private static boolean
NetworkHooks.validateSideForProcessing
(ICustomPacket<?> packet, NetworkInstance ni, NetworkManager manager) Modifier and TypeMethodDescriptionstatic ConnectionType
NetworkHooks.getConnectionType
(Supplier<NetworkManager> connection) PacketDistributor.networkManagerList
(Supplier<List<NetworkManager>> nmListSupplier) ModifierConstructorDescription(package private)
Context
(NetworkManager netHandler, NetworkDirection networkDirection, int index) (package private)
Context
(NetworkManager networkManager, NetworkDirection networkDirection, PacketDispatcher dispatcher) private
FMLHandshakeHandler
(NetworkManager networkManager, NetworkDirection side) (package private)
NetworkManagerDispatcher
(NetworkManager manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer>, ResourceLocation, ICustomPacket<?>> customPacketSupplier) -
Uses of NetworkManager in net.minecraftforge.fml.network.event
Modifier and TypeMethodDescriptionboolean
EventNetworkChannel.isRemotePresent
(NetworkManager manager) -
Uses of NetworkManager in net.minecraftforge.fml.network.simple
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionstatic boolean
ServerLifecycleHooks.handleServerLogin
(CHandshakePacket packet, NetworkManager manager) private static void
ServerLifecycleHooks.rejectConnection
(NetworkManager manager, ConnectionType type, String message) -
Uses of NetworkManager in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate static final Map<String,
Function<NetworkManager, VanillaPacketFilter>> NetworkFilters.instances
Modifier and TypeMethodDescriptionForgeConnectionNetworkFilter.buildHandlers
(NetworkManager manager) 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)