Class ItemGroup.Builder

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

public static class ItemGroup.Builder extends Object
Mappings:
Namespace Name
official cef$a
intermediary net/minecraft/class_1761$class_7913
named net/minecraft/item/ItemGroup$Builder
  • Field Details

    • EMPTY_ENTRIES

      private static final ItemGroup.EntryCollector EMPTY_ENTRIES
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a:Lcef$b;
      intermediary field_41038 Lnet/minecraft/class_1761$class_7913;field_41038:Lnet/minecraft/class_1761$class_7914;
      named EMPTY_ENTRIES Lnet/minecraft/item/ItemGroup$Builder;EMPTY_ENTRIES:Lnet/minecraft/item/ItemGroup$EntryCollector;
    • row

      private final ItemGroup.Row row
      Mappings:
      Namespace Name Mixin selector
      official b Lcef$a;b:Lcef$f;
      intermediary field_41039 Lnet/minecraft/class_1761$class_7913;field_41039:Lnet/minecraft/class_1761$class_7915;
      named row Lnet/minecraft/item/ItemGroup$Builder;row:Lnet/minecraft/item/ItemGroup$Row;
    • column

      private final int column
      Mappings:
      Namespace Name Mixin selector
      official c Lcef$a;c:I
      intermediary field_41040 Lnet/minecraft/class_1761$class_7913;field_41040:I
      named column Lnet/minecraft/item/ItemGroup$Builder;column:I
    • displayName

      private Text displayName
      Mappings:
      Namespace Name Mixin selector
      official d Lcef$a;d:Lsw;
      intermediary field_41041 Lnet/minecraft/class_1761$class_7913;field_41041:Lnet/minecraft/class_2561;
      named displayName Lnet/minecraft/item/ItemGroup$Builder;displayName:Lnet/minecraft/text/Text;
    • iconSupplier

      private Supplier<ItemStack> iconSupplier
      Mappings:
      Namespace Name Mixin selector
      official e Lcef$a;e:Ljava/util/function/Supplier;
      intermediary field_41042 Lnet/minecraft/class_1761$class_7913;field_41042:Ljava/util/function/Supplier;
      named iconSupplier Lnet/minecraft/item/ItemGroup$Builder;iconSupplier:Ljava/util/function/Supplier;
    • entryCollector

      private ItemGroup.EntryCollector entryCollector
      Mappings:
      Namespace Name Mixin selector
      official f Lcef$a;f:Lcef$b;
      intermediary field_41043 Lnet/minecraft/class_1761$class_7913;field_41043:Lnet/minecraft/class_1761$class_7914;
      named entryCollector Lnet/minecraft/item/ItemGroup$Builder;entryCollector:Lnet/minecraft/item/ItemGroup$EntryCollector;
    • scrollbar

      private boolean scrollbar
      Mappings:
      Namespace Name Mixin selector
      official g Lcef$a;g:Z
      intermediary field_41044 Lnet/minecraft/class_1761$class_7913;field_41044:Z
      named scrollbar Lnet/minecraft/item/ItemGroup$Builder;scrollbar:Z
    • renderName

      private boolean renderName
      Mappings:
      Namespace Name Mixin selector
      official h Lcef$a;h:Z
      intermediary field_41045 Lnet/minecraft/class_1761$class_7913;field_41045:Z
      named renderName Lnet/minecraft/item/ItemGroup$Builder;renderName:Z
    • special

      private boolean special
      Mappings:
      Namespace Name Mixin selector
      official i Lcef$a;i:Z
      intermediary field_41046 Lnet/minecraft/class_1761$class_7913;field_41046:Z
      named special Lnet/minecraft/item/ItemGroup$Builder;special:Z
    • type

      private ItemGroup.Type type
      Mappings:
      Namespace Name Mixin selector
      official j Lcef$a;j:Lcef$h;
      intermediary field_41047 Lnet/minecraft/class_1761$class_7913;field_41047:Lnet/minecraft/class_1761$class_7916;
      named type Lnet/minecraft/item/ItemGroup$Builder;type:Lnet/minecraft/item/ItemGroup$Type;
    • texture

      private String texture
      Mappings:
      Namespace Name Mixin selector
      official k Lcef$a;k:Ljava/lang/String;
      intermediary field_41048 Lnet/minecraft/class_1761$class_7913;field_41048:Ljava/lang/String;
      named texture Lnet/minecraft/item/ItemGroup$Builder;texture:Ljava/lang/String;
  • Constructor Details

    • Builder

      public Builder(ItemGroup.Row row, int column)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcef$a;<init>(Lcef$f;I)V
      intermediary <init> Lnet/minecraft/class_1761$class_7913;<init>(Lnet/minecraft/class_1761$class_7915;I)V
      named <init> Lnet/minecraft/item/ItemGroup$Builder;<init>(Lnet/minecraft/item/ItemGroup$Row;I)V
  • Method Details

    • displayName

      public ItemGroup.Builder displayName(Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a(Lsw;)Lcef$a;
      intermediary method_47321 Lnet/minecraft/class_1761$class_7913;method_47321(Lnet/minecraft/class_2561;)Lnet/minecraft/class_1761$class_7913;
      named displayName Lnet/minecraft/item/ItemGroup$Builder;displayName(Lnet/minecraft/text/Text;)Lnet/minecraft/item/ItemGroup$Builder;
    • icon

      public ItemGroup.Builder icon(Supplier<ItemStack> iconSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a(Ljava/util/function/Supplier;)Lcef$a;
      intermediary method_47320 Lnet/minecraft/class_1761$class_7913;method_47320(Ljava/util/function/Supplier;)Lnet/minecraft/class_1761$class_7913;
      named icon Lnet/minecraft/item/ItemGroup$Builder;icon(Ljava/util/function/Supplier;)Lnet/minecraft/item/ItemGroup$Builder;
    • entries

      public ItemGroup.Builder entries(ItemGroup.EntryCollector entryCollector)
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a(Lcef$b;)Lcef$a;
      intermediary method_47317 Lnet/minecraft/class_1761$class_7913;method_47317(Lnet/minecraft/class_1761$class_7914;)Lnet/minecraft/class_1761$class_7913;
      named entries Lnet/minecraft/item/ItemGroup$Builder;entries(Lnet/minecraft/item/ItemGroup$EntryCollector;)Lnet/minecraft/item/ItemGroup$Builder;
    • special

      public ItemGroup.Builder special()
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a()Lcef$a;
      intermediary method_47315 Lnet/minecraft/class_1761$class_7913;method_47315()Lnet/minecraft/class_1761$class_7913;
      named special Lnet/minecraft/item/ItemGroup$Builder;special()Lnet/minecraft/item/ItemGroup$Builder;
    • noRenderedName

      public ItemGroup.Builder noRenderedName()
      Mappings:
      Namespace Name Mixin selector
      official b Lcef$a;b()Lcef$a;
      intermediary method_47322 Lnet/minecraft/class_1761$class_7913;method_47322()Lnet/minecraft/class_1761$class_7913;
      named noRenderedName Lnet/minecraft/item/ItemGroup$Builder;noRenderedName()Lnet/minecraft/item/ItemGroup$Builder;
    • noScrollbar

      public ItemGroup.Builder noScrollbar()
      Mappings:
      Namespace Name Mixin selector
      official c Lcef$a;c()Lcef$a;
      intermediary method_47323 Lnet/minecraft/class_1761$class_7913;method_47323()Lnet/minecraft/class_1761$class_7913;
      named noScrollbar Lnet/minecraft/item/ItemGroup$Builder;noScrollbar()Lnet/minecraft/item/ItemGroup$Builder;
    • type

      protected ItemGroup.Builder type(ItemGroup.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a(Lcef$h;)Lcef$a;
      intermediary method_47318 Lnet/minecraft/class_1761$class_7913;method_47318(Lnet/minecraft/class_1761$class_7916;)Lnet/minecraft/class_1761$class_7913;
      named type Lnet/minecraft/item/ItemGroup$Builder;type(Lnet/minecraft/item/ItemGroup$Type;)Lnet/minecraft/item/ItemGroup$Builder;
    • texture

      public ItemGroup.Builder texture(String texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lcef$a;a(Ljava/lang/String;)Lcef$a;
      intermediary method_47319 Lnet/minecraft/class_1761$class_7913;method_47319(Ljava/lang/String;)Lnet/minecraft/class_1761$class_7913;
      named texture Lnet/minecraft/item/ItemGroup$Builder;texture(Ljava/lang/String;)Lnet/minecraft/item/ItemGroup$Builder;
    • build

      public ItemGroup build()
      Mappings:
      Namespace Name Mixin selector
      official d Lcef$a;d()Lcef;
      intermediary method_47324 Lnet/minecraft/class_1761$class_7913;method_47324()Lnet/minecraft/class_1761;
      named build Lnet/minecraft/item/ItemGroup$Builder;build()Lnet/minecraft/item/ItemGroup;