Uses of Class
net.minecraft.network.Connection
Packages that use Connection
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
- 
Uses of Connection in net.minecraft.clientFields in net.minecraft.client declared as Connection
- 
Uses of Connection in net.minecraft.client.gui.screensFields in net.minecraft.client.gui.screens declared as Connection
- 
Uses of Connection in net.minecraft.client.gui.screens.multiplayerFields in net.minecraft.client.gui.screens.multiplayer declared as ConnectionConstructors in net.minecraft.client.gui.screens.multiplayer with parameters of type Connection
- 
Uses of Connection in net.minecraft.client.multiplayerFields in net.minecraft.client.multiplayer declared as ConnectionModifier and TypeFieldDescriptionfinal ConnectionClientCommonPacketListenerImpl.connectionprivate final ConnectionClientHandshakePacketListenerImpl.connectionFields in net.minecraft.client.multiplayer with type parameters of type ConnectionMethods in net.minecraft.client.multiplayer that return ConnectionModifier and TypeMethodDescriptionClientCommonPacketListenerImpl.getConnection()ClientPacketListener.getConnection()Constructors in net.minecraft.client.multiplayer with parameters of type ConnectionModifierConstructorDescriptionprotectedClientCommonPacketListenerImpl(Minecraft p_295454_, Connection p_294773_, CommonListenerCookie p_294647_) ClientConfigurationPacketListenerImpl(Minecraft p_295262_, Connection p_296339_, CommonListenerCookie p_294706_) ClientHandshakePacketListenerImpl(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_) ClientPacketListener(Minecraft p_253924_, Connection p_253614_, CommonListenerCookie p_295121_) 
- 
Uses of Connection in net.minecraft.client.resources.serverMethods in net.minecraft.client.resources.server with parameters of type ConnectionModifier and TypeMethodDescriptionvoidDownloadedPackSource.configureForServerControl(Connection p_314502_, ServerPackManager.PackPromptStatus p_314463_) private static PackLoadFeedbackDownloadedPackSource.createPackResponseSender(Connection p_314519_) 
- 
Uses of Connection in net.minecraft.networkSubclasses of Connection in net.minecraft.networkFields in net.minecraft.network with type parameters of type ConnectionModifier and TypeFieldDescriptionprivate final Queue<Consumer<Connection>>Connection.pendingActionsMethods in net.minecraft.network that return ConnectionModifier and TypeMethodDescriptionstatic ConnectionConnection.connectToLocalServer(SocketAddress p_129494_) static ConnectionConnection.connectToServer(InetSocketAddress p_178301_, boolean p_178302_, SampleLogger p_298674_) Methods in net.minecraft.network with parameters of type ConnectionModifier and TypeMethodDescriptionstatic io.netty.channel.ChannelFutureConnection.connect(InetSocketAddress p_290034_, boolean p_290035_, Connection p_290031_) Method parameters in net.minecraft.network with type arguments of type ConnectionModifier and TypeMethodDescriptionvoidConnection.runOnceConnected(Consumer<Connection> p_294674_) 
- 
Uses of Connection in net.minecraft.realmsFields in net.minecraft.realms declared as Connection
- 
Uses of Connection in net.minecraft.server.networkFields in net.minecraft.server.network declared as ConnectionModifier and TypeFieldDescriptionprivate final ConnectionMemoryServerHandshakePacketListenerImpl.connectionfinal ConnectionServerCommonPacketListenerImpl.connectionprivate final ConnectionServerHandshakePacketListenerImpl.connection(package private) final ConnectionServerLoginPacketListenerImpl.connectionprivate final ConnectionServerStatusPacketListenerImpl.connectionFields in net.minecraft.server.network with type parameters of type ConnectionModifier and TypeFieldDescription(package private) final List<Connection>ServerConnectionListener.connectionsMethods in net.minecraft.server.network that return ConnectionMethods in net.minecraft.server.network that return types with arguments of type ConnectionConstructors in net.minecraft.server.network with parameters of type ConnectionModifierConstructorDescriptionMemoryServerHandshakePacketListenerImpl(MinecraftServer p_9691_, Connection p_9692_) ServerCommonPacketListenerImpl(MinecraftServer p_295057_, Connection p_294822_, CommonListenerCookie p_301980_) ServerConfigurationPacketListenerImpl(MinecraftServer p_294645_, Connection p_295787_, CommonListenerCookie p_302003_) ServerGamePacketListenerImpl(MinecraftServer p_9770_, Connection p_9771_, ServerPlayer p_9772_, CommonListenerCookie p_301978_) ServerHandshakePacketListenerImpl(MinecraftServer p_9969_, Connection p_9970_) ServerLoginPacketListenerImpl(MinecraftServer p_10027_, Connection p_10028_) ServerStatusPacketListenerImpl(ServerStatus p_272864_, Connection p_273586_) ServerStatusPacketListenerImpl(ServerStatus p_272864_, Connection p_273586_, @Nullable String statusCache) 
- 
Uses of Connection in net.minecraft.server.playersMethods in net.minecraft.server.players with parameters of type ConnectionModifier and TypeMethodDescriptionvoidPlayerList.placeNewPlayer(Connection p_11262_, ServerPlayer p_11263_, CommonListenerCookie p_301988_) 
- 
Uses of Connection in net.neoforged.neoforge.clientMethods in net.neoforged.neoforge.client with parameters of type ConnectionModifier and TypeMethodDescriptionstatic voidClientHooks.firePlayerLogin(MultiPlayerGameMode pc, LocalPlayer player, Connection networkManager) static voidClientHooks.firePlayerRespawn(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager) 
- 
Uses of Connection in net.neoforged.neoforge.client.eventFields in net.neoforged.neoforge.client.event declared as ConnectionMethods in net.neoforged.neoforge.client.event that return ConnectionModifier and TypeMethodDescriptionClientPlayerNetworkEvent.getConnection()Returns the network connection for the player.@Nullable ConnectionClientPlayerNetworkEvent.LoggingOut.getConnection()Returns the network connection for the player, may benull.Constructors in net.neoforged.neoforge.client.event with parameters of type ConnectionModifierConstructorDescriptionprotectedClientPlayerNetworkEvent(MultiPlayerGameMode multiPlayerGameMode, LocalPlayer player, Connection connection) Clone(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager) LoggingIn(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager) LoggingOut(@Nullable MultiPlayerGameMode controller, @Nullable LocalPlayer player, @Nullable Connection networkManager) 
- 
Uses of Connection in net.neoforged.neoforge.common.extensionsMethods in net.neoforged.neoforge.common.extensions that return ConnectionModifier and TypeMethodDescriptionIClientCommonPacketListenerExtension.getConnection()Exposes the raw underlying connection.IServerCommonPacketListenerExtension.getConnection()Returns the connection this listener is attached to.Methods in net.neoforged.neoforge.common.extensions with parameters of type ConnectionModifier and TypeMethodDescriptiondefault voidIBlockEntityExtension.onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) Called when you receive a TileEntityData packet for the location this TileEntity is currently in.
- 
Uses of Connection in net.neoforged.neoforge.common.utilSubclasses of Connection in net.neoforged.neoforge.common.utilFields in net.neoforged.neoforge.common.util declared as ConnectionModifier and TypeFieldDescriptionprivate static final ConnectionFakePlayer.FakePlayerNetHandler.DUMMY_CONNECTION
- 
Uses of Connection in net.neoforged.neoforge.debug.blockMethods in net.neoforged.neoforge.debug.block with parameters of type ConnectionModifier and TypeMethodDescriptionvoidBlockPropertyTests.LightBlockEntity.onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) 
- 
Uses of Connection in net.neoforged.neoforge.event.entity.playerFields in net.neoforged.neoforge.event.entity.player declared as ConnectionMethods in net.neoforged.neoforge.event.entity.player that return ConnectionConstructors in net.neoforged.neoforge.event.entity.player with parameters of type ConnectionModifierConstructorDescriptionPlayerNegotiationEvent(Connection connection, com.mojang.authlib.GameProfile profile, List<Future<Void>> futures) 
- 
Uses of Connection in net.neoforged.neoforge.network.connectionFields in net.neoforged.neoforge.network.connection with type parameters of type ConnectionModifier and TypeFieldDescriptionprivate static io.netty.util.AttributeKey<Connection>ConnectionUtils.ATTRIBUTE_CONNECTIONMethods in net.neoforged.neoforge.network.connection that return ConnectionModifier and TypeMethodDescriptionstatic ConnectionConnectionUtils.getConnection(io.netty.channel.ChannelHandlerContext connection) Gets theConnectionobject from theChannelHandlerContextobject.Methods in net.neoforged.neoforge.network.connection with parameters of type ConnectionModifier and TypeMethodDescriptionstatic voidConnectionUtils.setConnection(io.netty.channel.ChannelHandlerContext connection, Connection value) Sets theConnectionobject to theChannelHandlerContextobject.
- 
Uses of Connection in net.neoforged.neoforge.network.filtersFields in net.neoforged.neoforge.network.filters with type parameters of type ConnectionModifier and TypeFieldDescriptionprivate static final Map<String,Function<Connection, DynamicChannelHandler>> NetworkFilters.instancesMethods in net.neoforged.neoforge.network.filters with parameters of type ConnectionModifier and TypeMethodDescriptionstatic voidNetworkFilters.cleanIfNecessary(Connection manager) GenericPacketSplitter.getRemoteCompatibility(Connection manager) static voidNetworkFilters.injectIfNecessary(Connection manager) booleanDynamicChannelHandler.isNecessary(Connection manager) booleanGenericPacketSplitter.isNecessary(Connection manager) booleanVanillaConnectionNetworkFilter.isNecessary(Connection manager) abstract booleanVanillaPacketFilter.isNecessary(Connection manager) Whether this filter is necessary on the given connection.static booleanGenericPacketSplitter.isRemoteCompatible(Connection manager) Constructors in net.neoforged.neoforge.network.filters with parameters of type Connection
- 
Uses of Connection in net.neoforged.neoforge.network.registrationMethods in net.neoforged.neoforge.network.registration with parameters of type ConnectionModifier and TypeMethodDescriptionvoidNetworkRegistry.configureMockConnection(Connection connection) Configures a mock connection.booleanNetworkRegistry.isVanillaConnection(Connection connection) Indicates if the given connection is a vanilla connection.
- 
Uses of Connection in net.neoforged.neoforge.oldtest.blockMethods in net.neoforged.neoforge.oldtest.block with parameters of type ConnectionModifier and TypeMethodDescriptionvoidFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) 
- 
Uses of Connection in net.neoforged.neoforge.oldtest.client.modelMethods in net.neoforged.neoforge.oldtest.client.model with parameters of type ConnectionModifier and TypeMethodDescriptionvoidCustomItemDisplayContextTest.ItemHangerBlockEntity.onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt)