Interface FuelValueEvents.Context

Enclosing interface:
FuelValueEvents

@NonExtendable public static interface FuelValueEvents.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the base smelt time for the fuel, for furnaces this defaults to 200.
    net.minecraft.world.flag.FeatureFlagSet
    Get the currently enabled feature set.
    net.minecraft.core.HolderLookup.Provider
    Get the HolderLookup.Provider 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

      net.minecraft.core.HolderLookup.Provider registries()
      Get the HolderLookup.Provider for all registries.
      Returns:
      the registry lookup
    • enabledFeatures

      net.minecraft.world.flag.FeatureFlagSet enabledFeatures()
      Get the currently enabled feature set.
      Returns:
      the FeatureFlagSet instance