Interface FuelValueEvents.BuildCallback
- 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.
Use this event to register custom fuels.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(net.minecraft.world.level.block.entity.FuelValues.Builder builder, FuelValueEvents.Context context) Called when the fuel values are being built after vanilla fuels have been added and before exclusions have been applied.
-
Method Details
-
build
void build(net.minecraft.world.level.block.entity.FuelValues.Builder builder, FuelValueEvents.Context context) Called when the fuel values are being built after vanilla fuels have been added and before exclusions have been applied.- Parameters:
builder- the builder being used to construct aFuelValuesinstancecontext- the context for the event
-