Package net.minecraft.item
Class ItemGroup
java.lang.Object
net.minecraft.item.ItemGroup
- Mappings:
Namespace Name official bpf
intermediary net/minecraft/class_1761
named net/minecraft/item/ItemGroup
-
Field Summary
Modifier and TypeFieldDescriptionstatic ItemGroup
static ItemGroup
static ItemGroup
static ItemGroup
private EnchantmentTarget[]
static ItemGroup
static ItemGroup[]
static ItemGroup
private ItemStack
private String
private int
static ItemGroup
static ItemGroup
static ItemGroup
private String
static ItemGroup
private boolean
private boolean
static ItemGroup
private String
static ItemGroup
private Text
static 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
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
- 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
- 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
- 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
- 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
- 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;
-
SEARCH
- Mappings:
Namespace Name Mixin selector official g
Lbpf;g:Lbpf;
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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- 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
- 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
- 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
- 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
- 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
-