Uses of Class
net.minecraftforge.fmllegacy.network.FMLHandshakeHandler
Packages that use FMLHandshakeHandler
-
Uses of FMLHandshakeHandler in net.minecraftforge.fmllegacy.network
Fields in net.minecraftforge.fmllegacy.network with type parameters of type FMLHandshakeHandlerModifier and TypeFieldDescription(package private) static io.netty.util.AttributeKey<FMLHandshakeHandler>
FMLNetworkConstants.FML_HANDSHAKE_HANDLER
Methods in net.minecraftforge.fmllegacy.network that return FMLHandshakeHandlerModifier and TypeMethodDescriptionprivate static FMLHandshakeHandler
FMLHandshakeHandler.getHandshake(Supplier<NetworkEvent.Context> contextSupplier)
Retrieve the handshake from theNetworkEvent.Context
Method parameters in net.minecraftforge.fmllegacy.network with type arguments of type FMLHandshakeHandlerModifier 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.