net.minecraft.item

public class ItemGroup

net.minecraft.world.item.CreativeModeTab
net.minecraft.class_1761
net.minecraft.item.ItemGroup

Field summary

Modifier and TypeField
private static final Identifier
DEFAULT_BACKGROUND
field_52021
ITEMS
private final Text
displayName
field_26391
displayName
private Identifier
backgroundTexture
field_7919
texture
private boolean
canScroll
field_7920
scrollbar
private boolean
showTitle
field_7917
renderName
private boolean
alignedRight
field_41031
special
private final ItemGroup$Row
row
field_41032
row
private final int
column
field_41033
column
private final ItemGroup$Type
type
field_41034
type
private ItemStack
iconItemStack
field_7934
icon
private Collection<ItemStack>
displayItems
field_40859
displayStacks
private Set<ItemStack>
displayItemsSearchTab
field_40860
searchTabStacks
private final Supplier<ItemStack>
iconGenerator
field_41036
iconSupplier
private final ItemGroup$EntryCollector
displayItemsGenerator
field_41037
entryCollector

Constructor summary

ModifierConstructor
private (ItemGroup$Row row, int column, ItemGroup$Type type, Text displayName, Supplier<ItemStack> iconSupplier, ItemGroup$EntryCollector entryCollector)

Method summary

Modifier and TypeMethod
public static Identifier
createTextureLocation(String name)
method_60733(String arg0)
getTabTextureId(String name)
public static ItemGroup$Builder
builder(CreativeModeTab$Row row, int column)
method_47307(class_1761$class_7915 arg0, int arg1)
create(ItemGroup$Row location, int column)
public Text
getDisplayName()
method_7737()
getDisplayName()
public ItemStack
getIconItem()
method_7747()
getIcon()
public Identifier
getBackgroundTexture()
method_7742()
getTexture()
public boolean
showTitle()
method_7754()
shouldRenderName()
public boolean
canScroll()
method_7756()
hasScrollbar()
public int
column()
method_7743()
getColumn()
public ItemGroup$Row
row()
method_47309()
getRow()
public boolean
hasAnyItems()
method_47310()
hasStacks()
public boolean
shouldDisplay()
method_47311()
shouldDisplay()
public boolean
isAlignedRight()
method_7752()
isSpecial()
public ItemGroup$Type
getType()
method_47312()
getType()
public void
buildContents(CreativeModeTab$ItemDisplayParameters parameters)
method_47306(class_1761$class_8128 arg0)
updateEntries(ItemGroup$DisplayContext displayContext)
public Collection<ItemStack>
getDisplayItems()
method_47313()
getDisplayStacks()
public Collection<ItemStack>
getSearchTabDisplayItems()
method_45414()
getSearchTabStacks()
public boolean
contains(ItemStack stack)
method_45412(class_1799 arg0)
contains(ItemStack stack)