Package net.fabricmc.fabric.api.registry
Interface FuelRegistryEvents.Context
- Enclosing interface:
FuelRegistryEvents
@NonExtendable
public static interface FuelRegistryEvents.Context
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the base smelt time for the fuel, for furnaces this defaults to 200.Get the currently enabled feature set.Get theRegistryWrapper.WrapperLookup
for 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.WrapperLookup
for all registries.- Returns:
- the registry lookup
-
enabledFeatures
FeatureSet enabledFeatures()Get the currently enabled feature set.- Returns:
- the
FeatureSet
instance
-