Interface FuelValueEvents.Context
- Enclosing interface:
FuelValueEvents
@NonExtendable
public static interface FuelValueEvents.Context
-
Method Summary
Modifier and TypeMethodDescriptionintGet the base smelt time for the fuel, for furnaces this defaults to 200.net.minecraft.world.flag.FeatureFlagSetGet the currently enabled feature set.net.minecraft.core.HolderLookup.ProviderGet theHolderLookup.Providerfor 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
net.minecraft.core.HolderLookup.Provider registries()Get theHolderLookup.Providerfor all registries.- Returns:
- the registry lookup
-
enabledFeatures
net.minecraft.world.flag.FeatureFlagSet enabledFeatures()Get the currently enabled feature set.- Returns:
- the
FeatureFlagSetinstance
-