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 ced$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 Lced$a;a:Lced$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 Lced$a;b:Lced$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 Lced$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 Lced$a;d:Ltj;
      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 Lced$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 Lced$a;f:Lced$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 Lced$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 Lced$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 Lced$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 Lced$a;j:Lced$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 Lced$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> Lced$a;<init>(Lced$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 Lced$a;a(Ltj;)Lced$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 Lced$a;a(Ljava/util/function/Supplier;)Lced$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 Lced$a;a(Lced$b;)Lced$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 Lced$a;a()Lced$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 Lced$a;b()Lced$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 Lced$a;c()Lced$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 Lced$a;a(Lced$h;)Lced$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 Lced$a;a(Ljava/lang/String;)Lced$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 Lced$a;d()Lced;
      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;