Class ItemGroup

java.lang.Object
net.minecraft.item.ItemGroup

public abstract class ItemGroup extends Object
Mappings:
Namespace Name
official bsu
intermediary net/minecraft/class_1761
named net/minecraft/item/ItemGroup
  • Field Details

    • GROUPS

      public static final ItemGroup[] GROUPS
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a:[Lbsu;
      intermediary field_7921 Lnet/minecraft/class_1761;field_7921:[Lnet/minecraft/class_1761;
      named GROUPS Lnet/minecraft/item/ItemGroup;GROUPS:[Lnet/minecraft/item/ItemGroup;
    • BUILDING_BLOCKS

      public static final ItemGroup BUILDING_BLOCKS
      Mappings:
      Namespace Name Mixin selector
      official b Lbsu;b:Lbsu;
      intermediary field_7931 Lnet/minecraft/class_1761;field_7931:Lnet/minecraft/class_1761;
      named BUILDING_BLOCKS Lnet/minecraft/item/ItemGroup;BUILDING_BLOCKS:Lnet/minecraft/item/ItemGroup;
    • DECORATIONS

      public static final ItemGroup DECORATIONS
      Mappings:
      Namespace Name Mixin selector
      official c Lbsu;c:Lbsu;
      intermediary field_7928 Lnet/minecraft/class_1761;field_7928:Lnet/minecraft/class_1761;
      named DECORATIONS Lnet/minecraft/item/ItemGroup;DECORATIONS:Lnet/minecraft/item/ItemGroup;
    • REDSTONE

      public static final ItemGroup REDSTONE
      Mappings:
      Namespace Name Mixin selector
      official d Lbsu;d:Lbsu;
      intermediary field_7914 Lnet/minecraft/class_1761;field_7914:Lnet/minecraft/class_1761;
      named REDSTONE Lnet/minecraft/item/ItemGroup;REDSTONE:Lnet/minecraft/item/ItemGroup;
    • TRANSPORTATION

      public static final ItemGroup TRANSPORTATION
      Mappings:
      Namespace Name Mixin selector
      official e Lbsu;e:Lbsu;
      intermediary field_7923 Lnet/minecraft/class_1761;field_7923:Lnet/minecraft/class_1761;
      named TRANSPORTATION Lnet/minecraft/item/ItemGroup;TRANSPORTATION:Lnet/minecraft/item/ItemGroup;
    • MISC

      public static final ItemGroup MISC
      Mappings:
      Namespace Name Mixin selector
      official f Lbsu;f:Lbsu;
      intermediary field_7932 Lnet/minecraft/class_1761;field_7932:Lnet/minecraft/class_1761;
      named MISC Lnet/minecraft/item/ItemGroup;MISC:Lnet/minecraft/item/ItemGroup;
    • FOOD

      public static final ItemGroup FOOD
      Mappings:
      Namespace Name Mixin selector
      official h Lbsu;h:Lbsu;
      intermediary field_7922 Lnet/minecraft/class_1761;field_7922:Lnet/minecraft/class_1761;
      named FOOD Lnet/minecraft/item/ItemGroup;FOOD:Lnet/minecraft/item/ItemGroup;
    • TOOLS

      public static final ItemGroup TOOLS
      Mappings:
      Namespace Name Mixin selector
      official i Lbsu;i:Lbsu;
      intermediary field_7930 Lnet/minecraft/class_1761;field_7930:Lnet/minecraft/class_1761;
      named TOOLS Lnet/minecraft/item/ItemGroup;TOOLS:Lnet/minecraft/item/ItemGroup;
    • COMBAT

      public static final ItemGroup COMBAT
      Mappings:
      Namespace Name Mixin selector
      official j Lbsu;j:Lbsu;
      intermediary field_7916 Lnet/minecraft/class_1761;field_7916:Lnet/minecraft/class_1761;
      named COMBAT Lnet/minecraft/item/ItemGroup;COMBAT:Lnet/minecraft/item/ItemGroup;
    • BREWING

      public static final ItemGroup BREWING
      Mappings:
      Namespace Name Mixin selector
      official k Lbsu;k:Lbsu;
      intermediary field_7924 Lnet/minecraft/class_1761;field_7924:Lnet/minecraft/class_1761;
      named BREWING Lnet/minecraft/item/ItemGroup;BREWING:Lnet/minecraft/item/ItemGroup;
    • MATERIALS

      public static final ItemGroup MATERIALS
      Mappings:
      Namespace Name Mixin selector
      official l Lbsu;l:Lbsu;
      intermediary field_7929 Lnet/minecraft/class_1761;field_7929:Lnet/minecraft/class_1761;
      named MATERIALS Lnet/minecraft/item/ItemGroup;MATERIALS:Lnet/minecraft/item/ItemGroup;
    • HOTBAR

      public static final ItemGroup HOTBAR
      Mappings:
      Namespace Name Mixin selector
      official m Lbsu;m:Lbsu;
      intermediary field_7925 Lnet/minecraft/class_1761;field_7925:Lnet/minecraft/class_1761;
      named HOTBAR Lnet/minecraft/item/ItemGroup;HOTBAR:Lnet/minecraft/item/ItemGroup;
    • INVENTORY

      public static final ItemGroup INVENTORY
      Mappings:
      Namespace Name Mixin selector
      official n Lbsu;n:Lbsu;
      intermediary field_7918 Lnet/minecraft/class_1761;field_7918:Lnet/minecraft/class_1761;
      named INVENTORY Lnet/minecraft/item/ItemGroup;INVENTORY:Lnet/minecraft/item/ItemGroup;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      official o Lbsu;o:I
      intermediary field_7933 Lnet/minecraft/class_1761;field_7933:I
      named index Lnet/minecraft/item/ItemGroup;index:I
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official p Lbsu;p:Ljava/lang/String;
      intermediary field_7935 Lnet/minecraft/class_1761;field_7935:Ljava/lang/String;
      named id Lnet/minecraft/item/ItemGroup;id:Ljava/lang/String;
    • displayName

      private final Text displayName
      Mappings:
      Namespace Name Mixin selector
      official q Lbsu;q:Lpz;
      intermediary field_26391 Lnet/minecraft/class_1761;field_26391:Lnet/minecraft/class_2561;
      named displayName Lnet/minecraft/item/ItemGroup;displayName:Lnet/minecraft/text/Text;
    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      official r Lbsu;r:Ljava/lang/String;
      intermediary field_7926 Lnet/minecraft/class_1761;field_7926:Ljava/lang/String;
      named name Lnet/minecraft/item/ItemGroup;name:Ljava/lang/String;
    • texture

      private String texture
      Mappings:
      Namespace Name Mixin selector
      official s Lbsu;s:Ljava/lang/String;
      intermediary field_7919 Lnet/minecraft/class_1761;field_7919:Ljava/lang/String;
      named texture Lnet/minecraft/item/ItemGroup;texture:Ljava/lang/String;
    • scrollbar

      private boolean scrollbar
      Mappings:
      Namespace Name Mixin selector
      official t Lbsu;t:Z
      intermediary field_7920 Lnet/minecraft/class_1761;field_7920:Z
      named scrollbar Lnet/minecraft/item/ItemGroup;scrollbar:Z
    • renderName

      private boolean renderName
      Mappings:
      Namespace Name Mixin selector
      official u Lbsu;u:Z
      intermediary field_7917 Lnet/minecraft/class_1761;field_7917:Z
      named renderName Lnet/minecraft/item/ItemGroup;renderName:Z
    • enchantments

      private EnchantmentTarget[] enchantments
      Mappings:
      Namespace Name Mixin selector
      official v Lbsu;v:[Lbxz;
      intermediary field_7927 Lnet/minecraft/class_1761;field_7927:[Lnet/minecraft/class_1886;
      named enchantments Lnet/minecraft/item/ItemGroup;enchantments:[Lnet/minecraft/enchantment/EnchantmentTarget;
    • icon

      private ItemStack icon
      Mappings:
      Namespace Name Mixin selector
      official w Lbsu;w:Lbue;
      intermediary field_7934 Lnet/minecraft/class_1761;field_7934:Lnet/minecraft/class_1799;
      named icon Lnet/minecraft/item/ItemGroup;icon:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • ItemGroup

      public ItemGroup(int index, String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbsu;<init>(ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1761;<init>(ILjava/lang/String;)V
      named <init> Lnet/minecraft/item/ItemGroup;<init>(ILjava/lang/String;)V
  • Method Details

    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a()I
      intermediary method_7741 Lnet/minecraft/class_1761;method_7741()I
      named getIndex Lnet/minecraft/item/ItemGroup;getIndex()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbsu;b()Ljava/lang/String;
      intermediary method_7751 Lnet/minecraft/class_1761;method_7751()Ljava/lang/String;
      named getName Lnet/minecraft/item/ItemGroup;getName()Ljava/lang/String;
    • getDisplayName

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official c Lbsu;c()Lpz;
      intermediary method_7737 Lnet/minecraft/class_1761;method_7737()Lnet/minecraft/class_2561;
      named getDisplayName Lnet/minecraft/item/ItemGroup;getDisplayName()Lnet/minecraft/text/Text;
    • getIcon

      public ItemStack getIcon()
      Mappings:
      Namespace Name Mixin selector
      official d Lbsu;d()Lbue;
      intermediary method_7747 Lnet/minecraft/class_1761;method_7747()Lnet/minecraft/class_1799;
      named getIcon Lnet/minecraft/item/ItemGroup;getIcon()Lnet/minecraft/item/ItemStack;
    • createIcon

      public abstract ItemStack createIcon()
      Mappings:
      Namespace Name Mixin selector
      official e Lbsu;e()Lbue;
      intermediary method_7750 Lnet/minecraft/class_1761;method_7750()Lnet/minecraft/class_1799;
      named createIcon Lnet/minecraft/item/ItemGroup;createIcon()Lnet/minecraft/item/ItemStack;
    • getTexture

      public String getTexture()
      Mappings:
      Namespace Name Mixin selector
      official f Lbsu;f()Ljava/lang/String;
      intermediary method_7742 Lnet/minecraft/class_1761;method_7742()Ljava/lang/String;
      named getTexture Lnet/minecraft/item/ItemGroup;getTexture()Ljava/lang/String;
    • setTexture

      public ItemGroup setTexture(String texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a(Ljava/lang/String;)Lbsu;
      intermediary method_7753 Lnet/minecraft/class_1761;method_7753(Ljava/lang/String;)Lnet/minecraft/class_1761;
      named setTexture Lnet/minecraft/item/ItemGroup;setTexture(Ljava/lang/String;)Lnet/minecraft/item/ItemGroup;
    • setName

      public ItemGroup setName(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Lbsu;b(Ljava/lang/String;)Lbsu;
      intermediary method_7739 Lnet/minecraft/class_1761;method_7739(Ljava/lang/String;)Lnet/minecraft/class_1761;
      named setName Lnet/minecraft/item/ItemGroup;setName(Ljava/lang/String;)Lnet/minecraft/item/ItemGroup;
    • shouldRenderName

      public boolean shouldRenderName()
      Checks if this item group should render its name.

      The name is rendered below the top row of item groups and above the inventory.

      Mappings:
      Namespace Name Mixin selector
      official g Lbsu;g()Z
      intermediary method_7754 Lnet/minecraft/class_1761;method_7754()Z
      named shouldRenderName Lnet/minecraft/item/ItemGroup;shouldRenderName()Z
    • hideName

      public ItemGroup hideName()
      Specifies that when this item group is selected, the name of the item group should not be rendered.
      Mappings:
      Namespace Name Mixin selector
      official h Lbsu;h()Lbsu;
      intermediary method_7748 Lnet/minecraft/class_1761;method_7748()Lnet/minecraft/class_1761;
      named hideName Lnet/minecraft/item/ItemGroup;hideName()Lnet/minecraft/item/ItemGroup;
    • hasScrollbar

      public boolean hasScrollbar()
      Mappings:
      Namespace Name Mixin selector
      official i Lbsu;i()Z
      intermediary method_7756 Lnet/minecraft/class_1761;method_7756()Z
      named hasScrollbar Lnet/minecraft/item/ItemGroup;hasScrollbar()Z
    • setNoScrollbar

      public ItemGroup setNoScrollbar()
      Mappings:
      Namespace Name Mixin selector
      official j Lbsu;j()Lbsu;
      intermediary method_7749 Lnet/minecraft/class_1761;method_7749()Lnet/minecraft/class_1761;
      named setNoScrollbar Lnet/minecraft/item/ItemGroup;setNoScrollbar()Lnet/minecraft/item/ItemGroup;
    • getColumn

      public int getColumn()
      Mappings:
      Namespace Name Mixin selector
      official k Lbsu;k()I
      intermediary method_7743 Lnet/minecraft/class_1761;method_7743()I
      named getColumn Lnet/minecraft/item/ItemGroup;getColumn()I
    • isTopRow

      public boolean isTopRow()
      Mappings:
      Namespace Name Mixin selector
      official l Lbsu;l()Z
      intermediary method_7755 Lnet/minecraft/class_1761;method_7755()Z
      named isTopRow Lnet/minecraft/item/ItemGroup;isTopRow()Z
    • isSpecial

      public boolean isSpecial()
      Mappings:
      Namespace Name Mixin selector
      official m Lbsu;m()Z
      intermediary method_7752 Lnet/minecraft/class_1761;method_7752()Z
      named isSpecial Lnet/minecraft/item/ItemGroup;isSpecial()Z
    • getEnchantments

      public EnchantmentTarget[] getEnchantments()
      Mappings:
      Namespace Name Mixin selector
      official n Lbsu;n()[Lbxz;
      intermediary method_7744 Lnet/minecraft/class_1761;method_7744()[Lnet/minecraft/class_1886;
      named getEnchantments Lnet/minecraft/item/ItemGroup;getEnchantments()[Lnet/minecraft/enchantment/EnchantmentTarget;
    • setEnchantments

      public ItemGroup setEnchantments(EnchantmentTarget[] targets)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a([Lbxz;)Lbsu;
      intermediary method_7745 Lnet/minecraft/class_1761;method_7745([Lnet/minecraft/class_1886;)Lnet/minecraft/class_1761;
      named setEnchantments Lnet/minecraft/item/ItemGroup;setEnchantments([Lnet/minecraft/enchantment/EnchantmentTarget;)Lnet/minecraft/item/ItemGroup;
    • containsEnchantments

      public boolean containsEnchantments(@Nullable @Nullable EnchantmentTarget target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a(Lbxz;)Z
      intermediary method_7740 Lnet/minecraft/class_1761;method_7740(Lnet/minecraft/class_1886;)Z
      named containsEnchantments Lnet/minecraft/item/ItemGroup;containsEnchantments(Lnet/minecraft/enchantment/EnchantmentTarget;)Z
    • appendStacks

      public void appendStacks(DefaultedList<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsu;a(Lgt;)V
      intermediary method_7738 Lnet/minecraft/class_1761;method_7738(Lnet/minecraft/class_2371;)V
      named appendStacks Lnet/minecraft/item/ItemGroup;appendStacks(Lnet/minecraft/util/collection/DefaultedList;)V