Class FuelRegistry

java.lang.Object
net.minecraft.item.FuelRegistry

public class FuelRegistry extends Object
Mappings:
Namespace Name
named net/minecraft/item/FuelRegistry
intermediary net/minecraft/class_9895
official dvu
  • Field Details

    • fuelValues

      private final Object2IntSortedMap<Item> fuelValues
      Mappings:
      Namespace Name Mixin selector
      named fuelValues Lnet/minecraft/item/FuelRegistry;fuelValues:Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;
      intermediary field_52635 Lnet/minecraft/class_9895;field_52635:Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;
      official a Ldvu;a:Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;
  • Constructor Details

    • FuelRegistry

      FuelRegistry(Object2IntSortedMap<Item> fuelValues)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/FuelRegistry;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;)V
      intermediary <init> Lnet/minecraft/class_9895;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;)V
      official <init> Ldvu;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntSortedMap;)V
  • Method Details

    • isFuel

      public boolean isFuel(ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      named isFuel Lnet/minecraft/item/FuelRegistry;isFuel(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_61752 Lnet/minecraft/class_9895;method_61752(Lnet/minecraft/class_1799;)Z
      official a Ldvu;a(Lcxo;)Z
    • getFuelItems

      public SequencedSet<Item> getFuelItems()
      Mappings:
      Namespace Name Mixin selector
      named getFuelItems Lnet/minecraft/item/FuelRegistry;getFuelItems()Ljava/util/SequencedSet;
      intermediary method_61751 Lnet/minecraft/class_9895;method_61751()Ljava/util/SequencedSet;
      official a Ldvu;a()Ljava/util/SequencedSet;
    • getFuelTicks

      public int getFuelTicks(ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      named getFuelTicks Lnet/minecraft/item/FuelRegistry;getFuelTicks(Lnet/minecraft/item/ItemStack;)I
      intermediary method_61755 Lnet/minecraft/class_9895;method_61755(Lnet/minecraft/class_1799;)I
      official b Ldvu;b(Lcxo;)I
    • createDefault

      public static FuelRegistry createDefault(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named createDefault Lnet/minecraft/item/FuelRegistry;createDefault(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/item/FuelRegistry;
      intermediary method_61753 Lnet/minecraft/class_9895;method_61753(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;)Lnet/minecraft/class_9895;
      official a Ldvu;a(Ljs$a;Lcss;)Ldvu;
    • createDefault

      public static FuelRegistry createDefault(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures, int itemSmeltTime)
      Mappings:
      Namespace Name Mixin selector
      named createDefault Lnet/minecraft/item/FuelRegistry;createDefault(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/resource/featuretoggle/FeatureSet;I)Lnet/minecraft/item/FuelRegistry;
      intermediary method_61754 Lnet/minecraft/class_9895;method_61754(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;I)Lnet/minecraft/class_9895;
      official a Ldvu;a(Ljs$a;Lcss;I)Ldvu;