Uses of Interface
net.minecraftforge.fmllegacy.network.ICustomPacket
Package
Description
-
Uses of ICustomPacket in net.minecraft.network.protocol.game
Modifier and TypeClassDescriptionclass
class
-
Uses of ICustomPacket in net.minecraft.network.protocol.login
Modifier and TypeClassDescriptionclass
class
-
Uses of ICustomPacket in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionprivate BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer>,ResourceLocation,ICustomPacket<?>>
PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
private BiFunction<ICustomPacket<?>,Supplier<NetworkEvent.Context>,NetworkEvent>
NetworkDirection.eventSupplier
Modifier and TypeMethodDescriptionstatic <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection.directionFor(Class<T> customPacket)
Modifier and TypeMethodDescription<T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket(org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer> packetData, ResourceLocation channelName)
Modifier and TypeMethodDescription(package private) boolean
NetworkInstance.dispatch(NetworkDirection side, ICustomPacket<?> packet, Connection manager)
NetworkDirection.getEvent(ICustomPacket<?> buffer, Supplier<NetworkEvent.Context> manager)
static boolean
NetworkHooks.onCustomPayload(ICustomPacket<?> packet, Connection manager)
private static boolean
NetworkHooks.validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, Connection 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 Packet> clazz, int i)
(package private)
NetworkManagerDispatcher(Connection manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)