Uses of Interface
net.minecraftforge.fml.network.ICustomPacket
-
-
Uses of ICustomPacket in net.minecraft.network.login.client
Classes in net.minecraft.network.login.client that implement ICustomPacket Modifier and Type Class Description class
CCustomPayloadLoginPacket
-
Uses of ICustomPacket in net.minecraft.network.login.server
Classes in net.minecraft.network.login.server that implement ICustomPacket Modifier and Type Class Description class
SCustomPayloadLoginPacket
-
Uses of ICustomPacket in net.minecraft.network.play.client
Classes in net.minecraft.network.play.client that implement ICustomPacket Modifier and Type Class Description class
CCustomPayloadPacket
-
Uses of ICustomPacket in net.minecraft.network.play.server
Classes in net.minecraft.network.play.server that implement ICustomPacket Modifier and Type Class Description class
SCustomPayloadPlayPacket
-
Uses of ICustomPacket in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network with type parameters of type ICustomPacket Modifier and Type Field Description private java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>>
PacketDispatcher.NetworkManagerDispatcher. customPacketSupplier
private java.util.function.BiFunction<ICustomPacket<?>,java.util.function.Supplier<NetworkEvent.Context>,NetworkEvent>
NetworkDirection. eventSupplier
Methods in net.minecraftforge.fml.network with type parameters of type ICustomPacket Modifier and Type Method Description static <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection. directionFor(java.lang.Class<T> customPacket)
Methods in net.minecraftforge.fml.network that return ICustomPacket Modifier and Type Method Description <T extends IPacket<?>>
ICustomPacket<T>NetworkDirection. buildPacket(org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer> packetData, ResourceLocation channelName)
Methods in net.minecraftforge.fml.network with parameters of type ICustomPacket Modifier and Type Method Description (package private) boolean
NetworkInstance. dispatch(NetworkDirection side, ICustomPacket<?> packet, NetworkManager manager)
NetworkEvent
NetworkDirection. getEvent(ICustomPacket<?> buffer, java.util.function.Supplier<NetworkEvent.Context> manager)
static boolean
NetworkHooks. onCustomPayload(ICustomPacket<?> packet, NetworkManager manager)
private static boolean
NetworkHooks. validateSideForProcessing(ICustomPacket<?> packet, NetworkInstance ni, NetworkManager manager)
Constructors in net.minecraftforge.fml.network with parameters of type ICustomPacket Constructor Description ClientCustomPayloadEvent(ICustomPacket<?> payload, java.util.function.Supplier<NetworkEvent.Context> source)
ClientCustomPayloadLoginEvent(ICustomPacket<?> payload, java.util.function.Supplier<NetworkEvent.Context> source)
NetworkEvent(ICustomPacket<?> payload, java.util.function.Supplier<NetworkEvent.Context> source)
ServerCustomPayloadEvent(ICustomPacket<?> payload, java.util.function.Supplier<NetworkEvent.Context> source)
ServerCustomPayloadLoginEvent(ICustomPacket<?> payload, java.util.function.Supplier<NetworkEvent.Context> source)
Constructor parameters in net.minecraftforge.fml.network with type arguments of type ICustomPacket Constructor Description NetworkDirection(java.util.function.BiFunction<ICustomPacket<?>,java.util.function.Supplier<NetworkEvent.Context>,NetworkEvent> eventSupplier, LogicalSide logicalSide, java.lang.Class<? extends IPacket> clazz, int i)
NetworkManagerDispatcher(NetworkManager manager, int packetIndex, java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)
-