Uses of Interface
net.minecraftforge.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 TypeClassDescriptionclassclass -
Uses of ICustomPacket in net.minecraft.network.protocol.login
Classes in net.minecraft.network.protocol.login that implement ICustomPacketModifier and TypeClassDescriptionclassclass -
Uses of ICustomPacket in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type ICustomPacketModifier and TypeFieldDescriptionprivate final BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer>, ResourceLocation, ICustomPacket<?>> NetworkEvent.PacketDispatcher.NetworkManagerDispatcher.customPacketSupplierprivate final BiFunction<ICustomPacket<?>,Supplier<NetworkEvent.Context>, NetworkEvent> NetworkDirection.eventSupplierMethods in net.minecraftforge.network with type parameters of type ICustomPacketModifier and TypeMethodDescriptionstatic <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection.directionFor(Class<T> customPacket) Methods in net.minecraftforge.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.network with parameters of type ICustomPacketModifier and TypeMethodDescription(package private) booleanNetworkInstance.dispatch(NetworkDirection side, ICustomPacket<?> packet, Connection manager) NetworkDirection.getEvent(ICustomPacket<?> buffer, Supplier<NetworkEvent.Context> manager) static booleanNetworkHooks.onCustomPayload(ICustomPacket<?> packet, Connection manager) private static booleanNetworkHooks.validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, Connection manager) Constructors in net.minecraftforge.network with parameters of type ICustomPacketModifierConstructorDescription(package private)ClientCustomPayloadEvent(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) (package private)ClientCustomPayloadLoginEvent(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) privateNetworkEvent(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.network with type arguments of type ICustomPacketModifierConstructorDescriptionprivateNetworkDirection(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)