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_HANDLERMethods in net.minecraftforge.fmllegacy.network that return FMLHandshakeHandlerModifier and TypeMethodDescriptionprivate static FMLHandshakeHandlerFMLHandshakeHandler.getHandshake(Supplier<NetworkEvent.Context> contextSupplier)Retrieve the handshake from theNetworkEvent.ContextMethod 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 aBiConsumerbased 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 aBiConsumerbiConsumerFor(ThreeConsumer), first calling thehandleIndexedMessage(IntSupplier, Supplier)method to handle index tracking.