Package net.minecraft.item
Class ItemGroup
java.lang.Object
net.minecraft.item.ItemGroup
- Mappings:
Namespace Name official bsu
intermediary net/minecraft/class_1761
named net/minecraft/item/ItemGroup
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ItemGroup
static final ItemGroup
static final ItemGroup
static final ItemGroup
private final Text
private EnchantmentTarget[]
static final ItemGroup
static final ItemGroup[]
static final ItemGroup
private ItemStack
private final String
private final int
static final ItemGroup
static final ItemGroup
static final ItemGroup
private String
static final ItemGroup
private boolean
private boolean
static final ItemGroup
private String
static final ItemGroup
static final ItemGroup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendStacks
(DefaultedList<ItemStack> stacks) boolean
abstract ItemStack
int
getIcon()
int
getIndex()
getName()
boolean
hideName()
Specifies that when this item group is selected, the name of the item group should not be rendered.boolean
boolean
isTopRow()
setEnchantments
(EnchantmentTarget[] targets) setTexture
(String texture) boolean
Checks if this item group should render its name.
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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;
-
SEARCH
- Mappings:
Namespace Name Mixin selector official g
Lbsu;g:Lbsu;
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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- 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
- 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
- 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
- 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
- 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
-