Class ItemGroup

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

public abstract class ItemGroup extends Object
Mappings:
Namespace Name
official bpf
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 Lbpf;a:[Lbpf;
      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 Lbpf;b:Lbpf;
      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 Lbpf;c:Lbpf;
      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 Lbpf;d:Lbpf;
      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 Lbpf;e:Lbpf;
      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 Lbpf;f:Lbpf;
      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 Lbpf;h:Lbpf;
      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 Lbpf;i:Lbpf;
      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 Lbpf;j:Lbpf;
      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 Lbpf;k:Lbpf;
      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 Lbpf;l:Lbpf;
      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 Lbpf;m:Lbpf;
      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 Lbpf;n:Lbpf;
      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 Lbpf;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 Lbpf;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;
    • translationKey

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

      private String name
      Mappings:
      Namespace Name Mixin selector
      official r Lbpf;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 Lbpf;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 Lbpf;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 Lbpf;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 Lbpf;v:[Lbuk;
      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 Lbpf;w:Lbqp;
      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> Lbpf;<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 Lbpf;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 Lbpf;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;
    • getTranslationKey

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

      public ItemStack getIcon()
      Mappings:
      Namespace Name Mixin selector
      official d Lbpf;d()Lbqp;
      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 Lbpf;e()Lbqp;
      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 Lbpf;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 Lbpf;a(Ljava/lang/String;)Lbpf;
      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 Lbpf;b(Ljava/lang/String;)Lbpf;
      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 Lbpf;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 Lbpf;h()Lbpf;
      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 Lbpf;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 Lbpf;j()Lbpf;
      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 Lbpf;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 Lbpf;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 Lbpf;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 Lbpf;n()[Lbuk;
      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 Lbpf;a([Lbuk;)Lbpf;
      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 Lbpf;a(Lbuk;)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 Lbpf;a(Lgs;)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