Uses of Interface
net.minecraftforge.fml.util.ThreeConsumer
-
Uses of ThreeConsumer in net.minecraftforge.fml.network
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 theFMLHandshakeHandler.getHandshake(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
FMLHandshakeHandler.biConsumerFor(ThreeConsumer)
, first calling the#handleIndexedMessage(FMLHandshakeMessages.LoginIndexedMessage, Supplier)
method to handle index tracking. -
Uses of ThreeConsumer in net.minecraftforge.fml.util
Modifier and TypeMethodDescriptionstatic <T,
U, V> Consumer<T> ThreeConsumer.bindArgs
(ThreeConsumer<? super T, U, V> c, U arg2, V arg3) Bind arguments to the three consumer to generate a consumer.