Interface HandlingSupplier<MSG>

All Superinterfaces:
BiConsumer<MSG,Supplier<net.minecraftforge.network.NetworkEvent.Context>>

public interface HandlingSupplier<MSG> extends BiConsumer<MSG,Supplier<net.minecraftforge.network.NetworkEvent.Context>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(MSG msg, Supplier<net.minecraftforge.network.NetworkEvent.Context> contextSupplier)
     

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Method Details

    • accept

      default void accept(MSG msg, Supplier<net.minecraftforge.network.NetworkEvent.Context> contextSupplier)
      Specified by:
      accept in interface BiConsumer<MSG,Supplier<net.minecraftforge.network.NetworkEvent.Context>>