Interface FuelValueEvents.ExclusionsCallback

Enclosing interface:
FuelValueEvents
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 FuelValueEvents.ExclusionsCallback
Use this event to register custom fuels.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildExclusions(net.minecraft.world.level.block.entity.FuelValues.Builder builder, FuelValueEvents.Context context)
    Called when the fuel values are being built after vanilla exclusions have been applied.
  • Method Details

    • buildExclusions

      void buildExclusions(net.minecraft.world.level.block.entity.FuelValues.Builder builder, FuelValueEvents.Context context)
      Called when the fuel values are being built after vanilla exclusions have been applied.
      Parameters:
      builder - the builder being used to construct a FuelValues instance
      context - the context for the event