Uses of Class
net.minecraftforge.fml.network.NetworkEvent
Package
Description
-
Uses of NetworkEvent in net.minecraftforge.fml.network
Modifier and TypeClassDescriptionstatic class
Fired when the channel registration (see minecraft custom channel documentation) changes.static class
static class
static class
static class
static class
Modifier and TypeFieldDescriptionprivate final BiFunction<ICustomPacket<?>,
Supplier<NetworkEvent.Context>, NetworkEvent> NetworkDirection.eventSupplier
Modifier and TypeMethodDescription<T extends NetworkEvent>
voidNetworkInstance.addListener
(Consumer<T> eventListener) private <T extends NetworkEvent>
voidFMLLoginWrapper.wrapperReceived
(T packet) Modifier and TypeMethodDescriptionNetworkDirection.getEvent
(ICustomPacket<?> buffer, Supplier<NetworkEvent.Context> manager) Modifier and TypeMethodDescription(package private) void
NetworkInstance.dispatchEvent
(NetworkEvent networkEvent) private static FMLMCRegisterPacketHandler.ChannelList
FMLMCRegisterPacketHandler.getFrom
(NetworkEvent event) (package private) void
FMLMCRegisterPacketHandler.registerListener
(NetworkEvent evt) (package private) void
FMLMCRegisterPacketHandler.unregisterListener
(NetworkEvent evt) ModifierConstructorDescriptionprivate
NetworkDirection
(BiFunction<ICustomPacket<?>, Supplier<NetworkEvent.Context>, NetworkEvent> eventSupplier, LogicalSide logicalSide, Class<? extends IPacket> clazz, int i) -
Uses of NetworkEvent in net.minecraftforge.fml.network.event
Modifier and TypeMethodDescription<T extends NetworkEvent>
voidEventNetworkChannel.addListener
(Consumer<T> eventListener) -
Uses of NetworkEvent in net.minecraftforge.fml.network.simple
Modifier and TypeMethodDescriptionprivate void
SimpleChannel.networkEventListener
(NetworkEvent networkEvent)