Class ItemGroups
java.lang.Object
johnsmith.enchantingoverhauled.item.ItemGroups
Central handler for Creative Mode Tabs (Item Groups) in the common module.
Defines the key for the custom "Enchanting Overhauled" tab and provides methods to populate it and other vanilla tabs with the mod's items.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab> The RegistryKey for the mod's custom creative tab. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisplayItems(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, net.minecraft.world.item.CreativeModeTab.Output output) Populates the custom "Enchanting Overhauled" creative tab.static voidpopulateFunctional(net.minecraft.world.item.CreativeModeTab.Output output) Populates the vanilla "Functional Blocks" tab with the mod's tables.static voidpopulateIngredients(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, net.minecraft.world.item.CreativeModeTab.Output output) Populates the vanilla "Ingredients" tab with Enchanted Tomes.static voidpopulateSpawnEggs(net.minecraft.world.item.CreativeModeTab.Output output)
-
Field Details
-
ENCHANTING_GROUP_KEY
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab> ENCHANTING_GROUP_KEYThe RegistryKey for the mod's custom creative tab.
-
-
Constructor Details
-
ItemGroups
public ItemGroups()
-
-
Method Details
-
displayItems
public static void displayItems(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, net.minecraft.world.item.CreativeModeTab.Output output) Populates the custom "Enchanting Overhauled" creative tab. -
populateIngredients
public static void populateIngredients(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, net.minecraft.world.item.CreativeModeTab.Output output) Populates the vanilla "Ingredients" tab with Enchanted Tomes. -
populateFunctional
public static void populateFunctional(net.minecraft.world.item.CreativeModeTab.Output output) Populates the vanilla "Functional Blocks" tab with the mod's tables. -
populateSpawnEggs
public static void populateSpawnEggs(net.minecraft.world.item.CreativeModeTab.Output output)
-