Uses of Class
net.minecraftforge.fml.network.FMLHandshakeHandler
-
Uses of FMLHandshakeHandler in net.minecraftforge.fml.network
Modifier and TypeFieldDescription(package private) static final 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 the#handleIndexedMessage(FMLHandshakeMessages.LoginIndexedMessage, Supplier)
method to handle index tracking.