Package net.minecraft.item
Class ItemGroup
java.lang.Object
net.minecraft.item.ItemGroup
public abstract class ItemGroup extends Object
- Mappings:
Namespace Name official bmm
intermediary net/minecraft/class_1761
named net/minecraft/item/ItemGroup
-
Field Summary
Fields Modifier and Type Field Description static ItemGroup
BREWING
static ItemGroup
BUILDING_BLOCKS
static ItemGroup
COMBAT
static ItemGroup
DECORATIONS
private EnchantmentTarget[]
enchantments
static ItemGroup
FOOD
static ItemGroup[]
GROUPS
static ItemGroup
HOTBAR
private ItemStack
icon
private String
id
private int
index
static ItemGroup
INVENTORY
static ItemGroup
MATERIALS
static ItemGroup
MISC
private String
name
static ItemGroup
REDSTONE
private boolean
renderName
private boolean
scrollbar
static ItemGroup
SEARCH
private String
texture
static ItemGroup
TOOLS
private Text
translationKey
static ItemGroup
TRANSPORTATION
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
appendStacks(DefaultedList<ItemStack> stacks)
boolean
containsEnchantments(EnchantmentTarget target)
abstract ItemStack
createIcon()
int
getColumn()
EnchantmentTarget[]
getEnchantments()
ItemStack
getIcon()
int
getIndex()
String
getName()
String
getTexture()
Text
getTranslationKey()
boolean
hasScrollbar()
ItemGroup
hideName()
Specifies that when this item group is selected, the name of the item group should not be rendered.boolean
isSpecial()
boolean
isTopRow()
ItemGroup
setEnchantments(EnchantmentTarget[] targets)
ItemGroup
setName(String name)
ItemGroup
setNoScrollbar()
ItemGroup
setTexture(String texture)
boolean
shouldRenderName()
Checks if this item group should render its name.
-
Field Details
-
GROUPS
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a:[Lbmm;
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
- Mappings:
Namespace Name Mixin selector official b
Lbmm;b:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official c
Lbmm;c:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official d
Lbmm;d:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official e
Lbmm;e:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official f
Lbmm;f:Lbmm;
intermediary field_7932
Lnet/minecraft/class_1761;field_7932:Lnet/minecraft/class_1761;
named MISC
Lnet/minecraft/item/ItemGroup;MISC:Lnet/minecraft/item/ItemGroup;
-
SEARCH
- Mappings:
Namespace Name Mixin selector official g
Lbmm;g:Lbmm;
intermediary field_7915
Lnet/minecraft/class_1761;field_7915:Lnet/minecraft/class_1761;
named SEARCH
Lnet/minecraft/item/ItemGroup;SEARCH:Lnet/minecraft/item/ItemGroup;
-
FOOD
- Mappings:
Namespace Name Mixin selector official h
Lbmm;h:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official i
Lbmm;i:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official j
Lbmm;j:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official k
Lbmm;k:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official l
Lbmm;l:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official m
Lbmm;m:Lbmm;
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
- Mappings:
Namespace Name Mixin selector official n
Lbmm;n:Lbmm;
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
Lbmm;o:I
intermediary field_7933
Lnet/minecraft/class_1761;field_7933:I
named index
Lnet/minecraft/item/ItemGroup;index:I
-
id
- Mappings:
Namespace Name Mixin selector official p
Lbmm;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
- Mappings:
Namespace Name Mixin selector official q
Lbmm;q:Loi;
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
- Mappings:
Namespace Name Mixin selector official r
Lbmm;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
- Mappings:
Namespace Name Mixin selector official s
Lbmm;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
Lbmm;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
Lbmm;u:Z
intermediary field_7917
Lnet/minecraft/class_1761;field_7917:Z
named renderName
Lnet/minecraft/item/ItemGroup;renderName:Z
-
enchantments
- Mappings:
Namespace Name Mixin selector official v
Lbmm;v:[Lbrq;
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
- Mappings:
Namespace Name Mixin selector official w
Lbmm;w:Lbnv;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lbmm;<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
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a()I
intermediary method_7741
Lnet/minecraft/class_1761;method_7741()I
named getIndex
Lnet/minecraft/item/ItemGroup;getIndex()I
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lbmm;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
- Mappings:
Namespace Name Mixin selector official c
Lbmm;c()Loi;
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
- Mappings:
Namespace Name Mixin selector official d
Lbmm;d()Lbnv;
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
- Mappings:
Namespace Name Mixin selector official e
Lbmm;e()Lbnv;
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
- Mappings:
Namespace Name Mixin selector official f
Lbmm;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
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a(Ljava/lang/String;)Lbmm;
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
- Mappings:
Namespace Name Mixin selector official b
Lbmm;b(Ljava/lang/String;)Lbmm;
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
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
Lbmm;g()Z
intermediary method_7754
Lnet/minecraft/class_1761;method_7754()Z
named shouldRenderName
Lnet/minecraft/item/ItemGroup;shouldRenderName()Z
-
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
Lbmm;h()Lbmm;
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
- Mappings:
Namespace Name Mixin selector official i
Lbmm;i()Z
intermediary method_7756
Lnet/minecraft/class_1761;method_7756()Z
named hasScrollbar
Lnet/minecraft/item/ItemGroup;hasScrollbar()Z
-
setNoScrollbar
- Mappings:
Namespace Name Mixin selector official j
Lbmm;j()Lbmm;
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
- Mappings:
Namespace Name Mixin selector official k
Lbmm;k()I
intermediary method_7743
Lnet/minecraft/class_1761;method_7743()I
named getColumn
Lnet/minecraft/item/ItemGroup;getColumn()I
-
isTopRow
- Mappings:
Namespace Name Mixin selector official l
Lbmm;l()Z
intermediary method_7755
Lnet/minecraft/class_1761;method_7755()Z
named isTopRow
Lnet/minecraft/item/ItemGroup;isTopRow()Z
-
isSpecial
- Mappings:
Namespace Name Mixin selector official m
Lbmm;m()Z
intermediary method_7752
Lnet/minecraft/class_1761;method_7752()Z
named isSpecial
Lnet/minecraft/item/ItemGroup;isSpecial()Z
-
getEnchantments
- Mappings:
Namespace Name Mixin selector official n
Lbmm;n()[Lbrq;
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
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a([Lbrq;)Lbmm;
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
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a(Lbrq;)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
- Mappings:
Namespace Name Mixin selector official a
Lbmm;a(Lgj;)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
-