/
VanillaRecipeCategoryUid.java
111 lines (95 loc) · 3.9 KB
/
VanillaRecipeCategoryUid.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
package mezz.jei.api.constants;
import java.util.List;
import net.minecraft.item.crafting.SmithingRecipe;
import net.minecraft.item.crafting.StonecuttingRecipe;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.FurnaceRecipe;
import net.minecraft.util.ResourceLocation;
import mezz.jei.api.ingredients.IIngredientType;
import mezz.jei.api.recipe.category.extensions.vanilla.crafting.ICraftingCategoryExtension;
import mezz.jei.api.recipe.category.extensions.vanilla.crafting.ICustomCraftingCategoryExtension;
import mezz.jei.api.recipe.vanilla.IVanillaRecipeFactory;
import mezz.jei.api.registration.IRecipeRegistration;
/**
* List of built-in recipe category UIDs, so that plugins with their own recipe handlers can use them.
*/
public final class VanillaRecipeCategoryUid {
/**
* The crafting recipe category.
*
* Automatically includes all vanilla and Forge recipes.
*
* To add a shaped recipe extension to this category, it must implement {@link ICraftingCategoryExtension#getSize()}.
*
* To override the normal behavior of the crafting recipe category, you can implement {@link ICustomCraftingCategoryExtension}
*/
public static final ResourceLocation CRAFTING = new ResourceLocation(ModIds.MINECRAFT_ID, "crafting");
/**
* The stonecutting recipe category
*
* Automatically includes every {@link StonecuttingRecipe}
*/
public static final ResourceLocation STONECUTTING = new ResourceLocation(ModIds.MINECRAFT_ID, "stonecutting");
/**
* The furnace recipe category.
*
* Automatically includes every {@link FurnaceRecipe}
*/
public static final ResourceLocation FURNACE = new ResourceLocation(ModIds.MINECRAFT_ID, "furnace");
/**
* The smoking recipe category.
*
* Automatically includes every {@link FurnaceRecipe}
*/
public static final ResourceLocation SMOKING = new ResourceLocation(ModIds.MINECRAFT_ID, "smoking");
/**
* The blasting recipe category.
*
* Automatically includes every {@link FurnaceRecipe}
*/
public static final ResourceLocation BLASTING = new ResourceLocation(ModIds.MINECRAFT_ID, "blasting");
/**
* The campfire furnace recipe category.
*
* Automatically includes every {@link FurnaceRecipe}
*/
public static final ResourceLocation CAMPFIRE = new ResourceLocation(ModIds.MINECRAFT_ID, "campfire");
/**
* The fuel recipe category.
*
* Automatically includes everything that has a burn time.
*/
public static final ResourceLocation FUEL = new ResourceLocation(ModIds.MINECRAFT_ID, "fuel");
/**
* The brewing recipe category.
*
* Automatically tries to generate all potion variations from the basic ingredients.
*
* Also automatically adds modded potions from {@link BrewingRecipeRegistry#getRecipes()}.
* JEI can only understand modded potion recipes that are built into vanilla or Forge.
*/
public static final ResourceLocation BREWING = new ResourceLocation(ModIds.MINECRAFT_ID, "brewing");
/**
* The anvil recipe category.
*
* This is a built-in category, you can create new recipes with {@link IVanillaRecipeFactory#createAnvilRecipe(ItemStack, List, List)}
*/
public static final ResourceLocation ANVIL = new ResourceLocation(ModIds.MINECRAFT_ID, "anvil");
/**
* The smithing recipe category.
*
* Automatically includes every {@link SmithingRecipe}.
* @since JEI 7.3.1
*/
public static final ResourceLocation SMITHING = new ResourceLocation(ModIds.MINECRAFT_ID, "smithing");
/**
* The JEI info recipe category shows extra information about ingredients.
*
* This is a built-in category, you can add new recipes with
* {@link IRecipeRegistration#addIngredientInfo(Object, IIngredientType, String...)} or {@link IRecipeRegistration#addIngredientInfo(List, IIngredientType, String...)}
*/
public static final ResourceLocation INFORMATION = new ResourceLocation(ModIds.JEI_ID, "information");
private VanillaRecipeCategoryUid() {
}
}