Uses of Class
net.minecraftforge.fmllegacy.network.FMLHandshakeHandler
-
Uses of FMLHandshakeHandler in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescription(package private) static io.netty.util.AttributeKey<FMLHandshakeHandler>
FMLNetworkConstants.FML_HANDSHAKE_HANDLER
Modifier and TypeMethodDescriptionprivate static FMLHandshakeHandler
FMLHandshakeHandler.getHandshake(Supplier<NetworkEvent.Context> contextSupplier)
Retrieve the handshake from theNetworkEvent.Context
Modifier and TypeMethodDescriptionstatic <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>>FMLHandshakeHandler.biConsumerFor(ThreeConsumer<FMLHandshakeHandler,? super MSG,? super Supplier<NetworkEvent.Context>> consumer)
Transforms a two-argument instance method reference into aBiConsumer
based on thegetHandshake(Supplier)
function.static <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>>FMLHandshakeHandler.indexFirst(ThreeConsumer<FMLHandshakeHandler,MSG,Supplier<NetworkEvent.Context>> next)
Transforms a two-argument instance method reference into aBiConsumer
biConsumerFor(ThreeConsumer)
, first calling thehandleIndexedMessage(IntSupplier, Supplier)
method to handle index tracking.