Modifier and Type | Field and Description |
---|---|
private NetworkManager |
Minecraft.networkManager |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ConnectingScreen.networkManager |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NetworkManager> |
ServerPinger.pingDestinations |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ClientHandshakeNetHandler.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ClientHandshakeNetHandler.getNetworkManager() |
Constructor and Description |
---|
ClientHandshakeNetHandler(MinecraftServer mcServerIn,
NetworkManager networkManagerIn) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ClientLoginNetHandler.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ClientLoginNetHandler.getNetworkManager() |
Constructor and Description |
---|
ClientLoginNetHandler(NetworkManager networkManagerIn,
Minecraft mcIn,
Screen previousScreen,
java.util.function.Consumer<ITextComponent> statusMessageConsumerIn) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ClientPlayNetHandler.netManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ClientPlayNetHandler.getNetworkManager() |
Constructor and Description |
---|
ClientPlayNetHandler(Minecraft mcIn,
Screen previousGuiScreen,
NetworkManager networkManagerIn,
com.mojang.authlib.GameProfile profileIn) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Consumer<NetworkManager> |
NetworkManager.activationHandler |
private java.util.List<NetworkManager> |
NetworkSystem.networkManagers |
Modifier and Type | Method and Description |
---|---|
static NetworkManager |
NetworkManager.createNetworkManagerAndConnect(java.net.InetAddress address,
int serverPort,
boolean useNativeTransport) |
NetworkManager |
INetHandler.getNetworkManager() |
static NetworkManager |
NetworkManager.provideLocalClient(java.net.SocketAddress address) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ServerHandshakeNetHandler.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ServerHandshakeNetHandler.getNetworkManager() |
Constructor and Description |
---|
ServerHandshakeNetHandler(MinecraftServer serverIn,
NetworkManager netManager) |
Modifier and Type | Field and Description |
---|---|
NetworkManager |
ServerLoginNetHandler.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ServerLoginNetHandler.getNetworkManager() |
Constructor and Description |
---|
ServerLoginNetHandler(MinecraftServer serverIn,
NetworkManager networkManagerIn) |
Modifier and Type | Field and Description |
---|---|
NetworkManager |
ServerPlayNetHandler.netManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ServerPlayNetHandler.getNetworkManager() |
Constructor and Description |
---|
ServerPlayNetHandler(MinecraftServer server,
NetworkManager networkManagerIn,
ServerPlayerEntity playerIn) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ServerStatusNetHandler.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ServerStatusNetHandler.getNetworkManager() |
Constructor and Description |
---|
ServerStatusNetHandler(MinecraftServer serverIn,
NetworkManager netManager) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
RealmsConnect.connection |
Modifier and Type | Method and Description |
---|---|
void |
PlayerList.initializeConnectionToPlayer(NetworkManager netManager,
ServerPlayerEntity playerIn) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
ClientPlayerNetworkEvent.networkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
ClientPlayerNetworkEvent.getNetworkManager() |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
default void |
IForgeTileEntity.onDataPacket(NetworkManager net,
SUpdateTileEntityPacket pkt)
Called when you receive a TileEntityData packet for the location this
TileEntity is currently in.
|
Modifier and Type | Method and Description |
---|---|
private static NetworkManager |
ClientHooks.getClientToServerNetworkManager() |
Modifier and Type | Method and Description |
---|---|
static void |
ClientHooks.firePlayerLogin(PlayerController pc,
ClientPlayerEntity player,
NetworkManager networkManager) |
static void |
ClientHooks.firePlayerRespawn(PlayerController pc,
ClientPlayerEntity oldPlayer,
ClientPlayerEntity newPlayer,
NetworkManager networkManager) |
Modifier and Type | Method and Description |
---|---|
static void |
PacketLoggingHandler.register(NetworkManager manager) |
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
FMLHandshakeHandler.manager |
private NetworkManager |
PacketDispatcher.NetworkManagerDispatcher.manager |
private NetworkManager |
NetworkEvent.Context.networkManager
The
NetworkManager for this message. |
Modifier and Type | Field and 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 NetworkManager |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
NetworkEvent.Context.getNetworkManager() |
Modifier and Type | Method and Description |
---|---|
void |
FMLMCRegisterPacketHandler.addChannels(java.util.Set<ResourceLocation> locations,
NetworkManager manager) |
(package private) boolean |
NetworkInstance.dispatch(NetworkDirection side,
ICustomPacket<?> packet,
NetworkManager manager) |
private static FMLMCRegisterPacketHandler.ChannelList |
FMLMCRegisterPacketHandler.getFrom(NetworkManager manager) |
static void |
NetworkHooks.handleClientLoginSuccess(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.sendDimensionDataPacket(NetworkManager manager,
ServerPlayerEntity player) |
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) |
Modifier and Type | Method and 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) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
<MSG> void |
SimpleChannel.sendTo(MSG message,
NetworkManager manager,
NetworkDirection direction) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ServerLifecycleHooks.handleServerLogin(CHandshakePacket packet,
NetworkManager manager) |
private static void |
ServerLifecycleHooks.rejectConnection(NetworkManager manager,
ConnectionType type,
java.lang.String message) |