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.
Use this event to register custom fuels.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildExclusions(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 aFuelValuesinstancecontext- the context for the event
-