Uses of Class
net.minecraftforge.fml.network.simple.IndexedMessageCodec.MessageHandler
-
Packages that use IndexedMessageCodec.MessageHandler Package Description net.minecraftforge.fml.network.simple -
-
Uses of IndexedMessageCodec.MessageHandler in net.minecraftforge.fml.network.simple
Fields in net.minecraftforge.fml.network.simple with type parameters of type IndexedMessageCodec.MessageHandler Modifier and Type Field Description private it.unimi.dsi.fastutil.shorts.Short2ObjectArrayMap<IndexedMessageCodec.MessageHandler<?>>
IndexedMessageCodec. indicies
private it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<java.lang.Class<?>,IndexedMessageCodec.MessageHandler<?>>
IndexedMessageCodec. types
Methods in net.minecraftforge.fml.network.simple that return IndexedMessageCodec.MessageHandler Modifier and Type Method Description (package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec. addCodecIndex(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec. findIndex(short i)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec. findMessageType(MSG msgToReply)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
Methods in net.minecraftforge.fml.network.simple with parameters of type IndexedMessageCodec.MessageHandler Modifier and Type Method Description private static <M> void
IndexedMessageCodec. tryDecode(PacketBuffer payload, java.util.function.Supplier<NetworkEvent.Context> context, int payloadIndex, IndexedMessageCodec.MessageHandler<M> codec)
private static <M> int
IndexedMessageCodec. tryEncode(PacketBuffer target, M message, IndexedMessageCodec.MessageHandler<M> codec)
-