Class CreativeTabCategoryBuilder
java.lang.Object
team.lodestar.lodestone.systems.creative_tab.CreativeTabCategoryBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CategorizedCreativeTabprotected final Stringprotected final ArrayList<com.mojang.datafixers.util.Either<Supplier<net.minecraft.world.item.ItemStack>, CreativeTabCategory.Operation>> protected final String -
Constructor Summary
ConstructorsConstructorDescriptionCreativeTabCategoryBuilder(CategorizedCreativeTab categorizedTab, String mod, String id) -
Method Summary
Modifier and TypeMethodDescriptionfinal <T extends net.minecraft.world.level.block.Block>
CreativeTabCategoryBuilderaddBlockItem(Supplier<T> block) addBlockItem(net.minecraft.world.level.block.Block block) final <T extends net.minecraft.world.level.block.Block>
CreativeTabCategoryBuilderfinal <T extends net.minecraft.world.item.Item>
CreativeTabCategoryBuilderaddItem(net.minecraft.world.item.Item item) addItems(Consumer<CreativeTabCategoryBuilder> itemAdder) final <T extends net.minecraft.world.item.Item>
CreativeTabCategoryBuilderaddItems(net.minecraft.world.item.Item... items) addItemStack(Supplier<net.minecraft.world.item.ItemStack> item) addItemStack(net.minecraft.world.item.ItemStack item) addItemStacks(Supplier<net.minecraft.world.item.ItemStack>... items) voidbake()nextLine()
-
Field Details
-
categorizedTab
-
mod
-
id
-
items
protected final ArrayList<com.mojang.datafixers.util.Either<Supplier<net.minecraft.world.item.ItemStack>,CreativeTabCategory.Operation>> items
-
-
Constructor Details
-
CreativeTabCategoryBuilder
-
-
Method Details
-
addItems
-
addItems
-
addItems
@SafeVarargs public final <T extends net.minecraft.world.item.Item> CreativeTabCategoryBuilder addItems(Supplier<T>... items) -
addItemStacks
@SafeVarargs public final CreativeTabCategoryBuilder addItemStacks(Supplier<net.minecraft.world.item.ItemStack>... items) -
addBlocks
@SafeVarargs public final <T extends net.minecraft.world.level.block.Block> CreativeTabCategoryBuilder addBlocks(Supplier<T>... blocks) -
addItem
-
addItemStack
-
addBlockItem
-
addItem
public final <T extends net.minecraft.world.item.Item> CreativeTabCategoryBuilder addItem(Supplier<T> item) -
addItemStack
public final CreativeTabCategoryBuilder addItemStack(Supplier<net.minecraft.world.item.ItemStack> item) -
addBlockItem
public final <T extends net.minecraft.world.level.block.Block> CreativeTabCategoryBuilder addBlockItem(Supplier<T> block) -
nextLine
-
bake
public void bake()
-