Class FuelRegistry.Builder

java.lang.Object
net.minecraft.item.FuelRegistry.Builder
Enclosing class:
FuelRegistry

public static class FuelRegistry.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/item/FuelRegistry$Builder
intermediary net/minecraft/class_9895$class_9896
official dvu$a
  • Field Details

    • itemLookup

      private final RegistryWrapper<Item> itemLookup
      Mappings:
      Namespace Name Mixin selector
      named itemLookup Lnet/minecraft/item/FuelRegistry$Builder;itemLookup:Lnet/minecraft/registry/RegistryWrapper;
      intermediary field_52636 Lnet/minecraft/class_9895$class_9896;field_52636:Lnet/minecraft/class_7225;
      official a Ldvu$a;a:Ljs;
    • enabledFeatures

      private final FeatureSet enabledFeatures
      Mappings:
      Namespace Name Mixin selector
      named enabledFeatures Lnet/minecraft/item/FuelRegistry$Builder;enabledFeatures:Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary field_52637 Lnet/minecraft/class_9895$class_9896;field_52637:Lnet/minecraft/class_7699;
      official b Ldvu$a;b:Lcss;
    • fuelValues

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

    • Builder

      public Builder(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/FuelRegistry$Builder;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V
      intermediary <init> Lnet/minecraft/class_9895$class_9896;<init>(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;)V
      official <init> Ldvu$a;<init>(Ljs$a;Lcss;)V
  • Method Details

    • build

      public FuelRegistry build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/item/FuelRegistry$Builder;build()Lnet/minecraft/item/FuelRegistry;
      intermediary method_61756 Lnet/minecraft/class_9895$class_9896;method_61756()Lnet/minecraft/class_9895;
      official a Ldvu$a;a()Ldvu;
    • remove

      public FuelRegistry.Builder remove(TagKey<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/item/FuelRegistry$Builder;remove(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/item/FuelRegistry$Builder;
      intermediary method_61759 Lnet/minecraft/class_9895$class_9896;method_61759(Lnet/minecraft/class_6862;)Lnet/minecraft/class_9895$class_9896;
      official a Ldvu$a;a(Layk;)Ldvu$a;
    • add

      public FuelRegistry.Builder add(TagKey<Item> tag, int value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/item/FuelRegistry$Builder;add(Lnet/minecraft/registry/tag/TagKey;I)Lnet/minecraft/item/FuelRegistry$Builder;
      intermediary method_61760 Lnet/minecraft/class_9895$class_9896;method_61760(Lnet/minecraft/class_6862;I)Lnet/minecraft/class_9895$class_9896;
      official a Ldvu$a;a(Layk;I)Ldvu$a;
    • add

      public FuelRegistry.Builder add(ItemConvertible item, int value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/item/FuelRegistry$Builder;add(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/item/FuelRegistry$Builder;
      intermediary method_61762 Lnet/minecraft/class_9895$class_9896;method_61762(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_9895$class_9896;
      official a Ldvu$a;a(Ldhg;I)Ldvu$a;
    • add

      private void add(int value, Item item)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/item/FuelRegistry$Builder;add(ILnet/minecraft/item/Item;)V
      intermediary method_61757 Lnet/minecraft/class_9895$class_9896;method_61757(ILnet/minecraft/class_1792;)V
      official a Ldvu$a;a(ILcxk;)V