Uses of Interface
net.minecraftforge.fml.network.ICustomPacket
Package
Description
-
Uses of ICustomPacket in net.minecraft.network.login.client
-
Uses of ICustomPacket in net.minecraft.network.login.server
-
Uses of ICustomPacket in net.minecraft.network.play.client
-
Uses of ICustomPacket in net.minecraft.network.play.server
-
Uses of ICustomPacket in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionprivate final BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,
Integer>, ResourceLocation, ICustomPacket<?>> PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
private final BiFunction<ICustomPacket<?>,
Supplier<NetworkEvent.Context>, NetworkEvent> NetworkDirection.eventSupplier
Modifier and TypeMethodDescriptionstatic <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection.directionFor
(Class<T> customPacket) Modifier and TypeMethodDescription<T extends IPacket<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer> packetData, ResourceLocation channelName) Modifier and TypeMethodDescription(package private) boolean
NetworkInstance.dispatch
(NetworkDirection side, ICustomPacket<?> packet, NetworkManager manager) NetworkDirection.getEvent
(ICustomPacket<?> buffer, Supplier<NetworkEvent.Context> manager) static boolean
NetworkHooks.onCustomPayload
(ICustomPacket<?> packet, NetworkManager manager) private static boolean
NetworkHooks.validateSideForProcessing
(ICustomPacket<?> packet, NetworkInstance ni, NetworkManager manager) ModifierConstructorDescription(package private)
ClientCustomPayloadEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) (package private)
ClientCustomPayloadLoginEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) private
NetworkEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) (package private)
ServerCustomPayloadEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) (package private)
ServerCustomPayloadLoginEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) ModifierConstructorDescriptionprivate
NetworkDirection
(BiFunction<ICustomPacket<?>, Supplier<NetworkEvent.Context>, NetworkEvent> eventSupplier, LogicalSide logicalSide, Class<? extends IPacket> clazz, int i) (package private)
NetworkManagerDispatcher
(NetworkManager manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer>, ResourceLocation, ICustomPacket<?>> customPacketSupplier)