Interface FuelRegistryEvents.BuildCallback

Enclosing interface:
FuelRegistryEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FuelRegistryEvents.BuildCallback
Use this event to register custom fuels.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the fuel registry is being built after vanilla fuels have been registered and before exclusions have been applied.
  • Method Details

    • build

      void build(FuelRegistry.Builder builder, FuelRegistryEvents.Context context)
      Called when the fuel registry is being built after vanilla fuels have been registered and before exclusions have been applied.
      Parameters:
      builder - the builder being used to construct a FuelRegistry instance
      context - the context for the event