Package | Description |
---|---|
net.minecraftforge.fml.network | |
net.minecraftforge.fml.util |
Modifier and Type | Method and Description |
---|---|
static <MSG extends java.util.function.IntSupplier> |
FMLHandshakeHandler.biConsumerFor(ThreeConsumer<FMLHandshakeHandler,? super MSG,? super java.util.function.Supplier<NetworkEvent.Context>> consumer)
Transforms a two-argument instance method reference into a
BiConsumer based on the FMLHandshakeHandler.getHandshake(Supplier) function. |
static <MSG extends java.util.function.IntSupplier> |
FMLHandshakeHandler.indexFirst(ThreeConsumer<FMLHandshakeHandler,MSG,java.util.function.Supplier<NetworkEvent.Context>> next)
Transforms a two-argument instance method reference into a
BiConsumer FMLHandshakeHandler.biConsumerFor(ThreeConsumer) , first calling the #handleIndexedMessage(FMLHandshakeMessages.LoginIndexedMessage, Supplier)
method to handle index tracking. |
Modifier and Type | Method and 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.
|