Uses of Interface
net.minecraftforge.network.HandshakeHandler.HandshakeConsumer
-
Uses of HandshakeHandler.HandshakeConsumer in net.minecraftforge.network
Modifier and TypeMethodDescriptionstatic <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>> HandshakeHandler.biConsumerFor
(HandshakeHandler.HandshakeConsumer<MSG> consumer) Transforms a two-argument instance method reference into aBiConsumer
based on theHandshakeHandler.getHandshake(Supplier)
function.static <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>> HandshakeHandler.indexFirst
(HandshakeHandler.HandshakeConsumer<MSG> next) Transforms a two-argument instance method reference into aBiConsumer
HandshakeHandler.biConsumerFor(HandshakeConsumer)
, first calling theHandshakeHandler.handleIndexedMessage(IntSupplier, Supplier)
method to handle index tracking.