Uses of Interface
net.minecraftforge.fml.util.ThreeConsumer
-
Packages that use ThreeConsumer Package Description net.minecraftforge.fml.network net.minecraftforge.fml.util -
-
Uses of ThreeConsumer in net.minecraftforge.fml.network
Methods in net.minecraftforge.fml.network with parameters of type ThreeConsumer 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 theFMLHandshakeHandler.getHandshake(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
FMLHandshakeHandler.biConsumerFor(ThreeConsumer)
, first calling the#handleIndexedMessage(FMLHandshakeMessages.LoginIndexedMessage, Supplier)
method to handle index tracking. -
Uses of ThreeConsumer in net.minecraftforge.fml.util
Methods in net.minecraftforge.fml.util with parameters of type ThreeConsumer Modifier and Type Method Description static <T,U,V>
java.util.function.Consumer<T>ThreeConsumer. bindArgs(ThreeConsumer<? super T,U,V> c, U arg2, V arg3)
Bind arguments to the three consumer to generate a consumer.
-