Package net.fabricmc.fabric.api.registry
Interface FuelRegistryEvents.Context
- Enclosing interface:
FuelRegistryEvents
@NonExtendable
public static interface FuelRegistryEvents.Context
-
Method Summary
Modifier and TypeMethodDescriptionintGet the base smelt time for the fuel, for furnaces this defaults to 200.Get the currently enabled feature set.Get theRegistryWrapper.WrapperLookupfor all registries.
-
Method Details
-
baseSmeltTime
int baseSmeltTime()Get the base smelt time for the fuel, for furnaces this defaults to 200.- Returns:
- the base smelt time
-
registries
RegistryWrapper.WrapperLookup registries()Get theRegistryWrapper.WrapperLookupfor all registries.- Returns:
- the registry lookup
-
enabledFeatures
FeatureSet enabledFeatures()Get the currently enabled feature set.- Returns:
- the
FeatureSetinstance
-