Uses of Class
net.minecraftforge.fml.network.FMLHandshakeHandler
-
Packages that use FMLHandshakeHandler Package Description net.minecraftforge.fml.network -
-
Uses of FMLHandshakeHandler in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network with type parameters of type FMLHandshakeHandler Modifier and Type Field Description (package private) static io.netty.util.AttributeKey<FMLHandshakeHandler>
FMLNetworkConstants. FML_HANDSHAKE_HANDLER
Methods in net.minecraftforge.fml.network that return FMLHandshakeHandler Modifier and Type Method Description private static FMLHandshakeHandler
FMLHandshakeHandler. getHandshake(java.util.function.Supplier<NetworkEvent.Context> contextSupplier)
Retrieve the handshake from theNetworkEvent.Context
Method parameters in net.minecraftforge.fml.network with type arguments of type FMLHandshakeHandler Modifier and Type Method Description static <MSG extends java.util.function.IntSupplier>
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>>FMLHandshakeHandler. biConsumerFor(ThreeConsumer<FMLHandshakeHandler,? super MSG,? super java.util.function.Supplier<NetworkEvent.Context>> consumer)
Transforms a two-argument instance method reference into aBiConsumer
based on thegetHandshake(Supplier)
function.static <MSG extends java.util.function.IntSupplier>
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>>FMLHandshakeHandler. indexFirst(ThreeConsumer<FMLHandshakeHandler,MSG,java.util.function.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.
-