Uses of Class
net.minecraftforge.network.NetworkEvent
Package
Description
-
Uses of NetworkEvent in net.minecraftforge.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>
voidLoginWrapper.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 MCRegisterPacketHandler.ChannelList
MCRegisterPacketHandler.getFrom
(NetworkEvent event) (package private) void
MCRegisterPacketHandler.registerListener
(NetworkEvent evt) (package private) void
MCRegisterPacketHandler.unregisterListener
(NetworkEvent evt) ModifierConstructorDescriptionprivate
NetworkDirection
(BiFunction<ICustomPacket<?>, Supplier<NetworkEvent.Context>, NetworkEvent> eventSupplier, LogicalSide logicalSide, Class<? extends Packet> clazz, int i, NetworkDirection.Factory factory) -
Uses of NetworkEvent in net.minecraftforge.network.event
Modifier and TypeMethodDescription<T extends NetworkEvent>
voidEventNetworkChannel.addListener
(Consumer<T> eventListener) -
Uses of NetworkEvent in net.minecraftforge.network.simple
Modifier and TypeMethodDescriptionprivate void
SimpleChannel.networkEventListener
(NetworkEvent networkEvent)