Class CreativeTabGenerator.Builder
java.lang.Object
net.rebel459.unified.api.data.registry.CreativeTabGenerator.Builder
- Enclosing class:
CreativeTabGenerator
-
Method Summary
Modifier and TypeMethodDescriptionbackgroundTexture(net.minecraft.resources.Identifier backgroundTexture) column(int column) displayAllFrom(String modId) displayItems(net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator generator) displayItems(ExtensibleCodecBase.Entry<net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator> generator) row(net.minecraft.world.item.CreativeModeTab.Row row) title(net.minecraft.network.chat.Component displayName)
-
Method Details
-
title
-
icon
public CreativeTabGenerator.Builder icon(Supplier<net.minecraft.world.item.ItemStack> iconGenerator) -
displayItems
public CreativeTabGenerator.Builder displayItems(net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator generator) -
displayItems
public CreativeTabGenerator.Builder displayItems(ExtensibleCodecBase.Entry<net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator> generator) -
displayAllFrom
-
alignedRight
-
hideTitle
-
noScrollBar
-
backgroundTexture
public CreativeTabGenerator.Builder backgroundTexture(net.minecraft.resources.Identifier backgroundTexture) -
row
-
column
-