Package net.fabricmc.fabric.api.registry
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.
Use this event to register custom fuels.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
build
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 aFuelRegistry
instancecontext
- the context for the event
-