Uses of Interface
net.minecraftforge.fmllegacy.util.ThreeConsumer
-
Uses of ThreeConsumer in net.minecraftforge.fmllegacy.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 theFMLHandshakeHandler.handleIndexedMessage(IntSupplier, Supplier)
method to handle index tracking. -
Uses of ThreeConsumer in net.minecraftforge.fmllegacy.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.