Uses of Interface
net.minecraftforge.fmllegacy.network.ICustomPacket
Packages that use ICustomPacket
Package
Description
-
Uses of ICustomPacket in net.minecraft.network.protocol.game
Classes in net.minecraft.network.protocol.game that implement ICustomPacketModifier and TypeClassDescriptionclass
class
-
Uses of ICustomPacket in net.minecraft.network.protocol.login
Classes in net.minecraft.network.protocol.login that implement ICustomPacketModifier and TypeClassDescriptionclass
class
-
Uses of ICustomPacket in net.minecraftforge.fmllegacy.network
Fields in net.minecraftforge.fmllegacy.network with type parameters of type ICustomPacketModifier 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
Methods in net.minecraftforge.fmllegacy.network with type parameters of type ICustomPacketModifier and TypeMethodDescriptionstatic <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection.directionFor(Class<T> customPacket)
Methods in net.minecraftforge.fmllegacy.network that return ICustomPacketModifier and TypeMethodDescription<T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket(org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer> packetData, ResourceLocation channelName)
Methods in net.minecraftforge.fmllegacy.network with parameters of type ICustomPacketModifier 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)
Constructors in net.minecraftforge.fmllegacy.network with parameters of type ICustomPacketModifierConstructorDescription(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)
Constructor parameters in net.minecraftforge.fmllegacy.network with type arguments of type ICustomPacketModifierConstructorDescriptionprivate
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)