Class RecipeBookCategoryRegistration

java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RecipeBookCategoryRegistration

public class RecipeBookCategoryRegistration extends Object
  • Field Details

    • 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

      public static List<net.minecraft.client.RecipeBookCategories> INFUSER_CATEGORIES
  • Constructor Details

    • RecipeBookCategoryRegistration

      public RecipeBookCategoryRegistration()
  • Method Details

    • init

      public static void init()
    • onRegister

      public static void onRegister(net.neoforged.neoforge.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.