Class RecipeBookCategoryRegistration
java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RecipeBookCategoryRegistration
-
Field Summary
Modifier and TypeFieldDescriptionstatic List<net.minecraft.client.RecipeBookCategories>
static net.minecraft.client.RecipeBookCategories
static net.minecraft.client.RecipeBookCategories
static net.minecraft.client.RecipeBookCategories
static net.minecraft.client.RecipeBookCategories
static net.minecraft.client.RecipeBookCategories
static net.minecraft.client.RecipeBookCategories
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.minecraft.client.RecipeBookCategories>
getCategories
(net.minecraft.world.inventory.RecipeBookType recipeBookType) Allows the tabs on the left side of the menu when the recipe book is open to exist.static void
init()
static void
onRegister
(net.minecraftforge.client.event.RegisterRecipeBookCategoriesEvent event) static net.minecraft.client.RecipeBookCategories
-
Field Details
-
INFUSER_SEARCH
public static net.minecraft.client.RecipeBookCategories INFUSER_SEARCH -
INFUSER_EV_BOOST
public static net.minecraft.client.RecipeBookCategories INFUSER_EV_BOOST -
INFUSER_GEM
public static net.minecraft.client.RecipeBookCategories INFUSER_GEM -
INFUSER_INCENSE
public static net.minecraft.client.RecipeBookCategories INFUSER_INCENSE -
INFUSER_JUICE
public static net.minecraft.client.RecipeBookCategories INFUSER_JUICE -
INFUSER_MEDICINE
public static net.minecraft.client.RecipeBookCategories INFUSER_MEDICINE -
INFUSER_CATEGORIES
-
-
Constructor Details
-
RecipeBookCategoryRegistration
public RecipeBookCategoryRegistration()
-
-
Method Details
-
init
public static void init() -
onRegister
public static void onRegister(net.minecraftforge.client.event.RegisterRecipeBookCategoriesEvent event) -
getCategories
public static List<net.minecraft.client.RecipeBookCategories> getCategories(net.minecraft.world.inventory.RecipeBookType recipeBookType) Allows the tabs on the left side of the menu when the recipe book is open to exist.- Parameters:
recipeBookType
- The RecipeBookType that was created for the given crafting thing.- Returns:
- A list of RecipeBookCategories which should be listed above.
-
register
public static net.minecraft.client.RecipeBookCategories register(String recipeBookCategoryName, net.minecraft.world.item.ItemStack... icons)
-