RecipeCategory .java

net.minecraft.data.recipes.RecipeCategory (enum): members: BUILDING_BLOCKS, DECORATIONS, REDSTONE, TRANSPORTATION, TOOLS, COMBAT, FOOD, BREWING, MISC.

net.minecraft.data.recipesenum24 linescommon486 B

API Surface (1)

String getFolderName()

Fields & Constants (1)

recipeFolderName

String literals (9)

"building_blocks"
"decorations"
"redstone"
"transportation"
"tools"
"combat"
"food"
"brewing"
"misc"

Full Source

RecipeCategory.java24 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.data.recipes;
2
3
public enum RecipeCategory {
4
	BUILDING_BLOCKS("building_blocks"),
5
	DECORATIONS("decorations"),
6
	REDSTONE("redstone"),
7
	TRANSPORTATION("transportation"),
8
	TOOLS("tools"),
9
	COMBAT("combat"),
10
	FOOD("food"),
11
	BREWING("brewing"),
12
	MISC("misc");
13
14
	private final String recipeFolderName;
15
16
	RecipeCategory(final String recipeFolderName) {
17
		this.recipeFolderName = recipeFolderName;
18
	}
19
20
	public String getFolderName() {
21
		return this.recipeFolderName;
22
	}
23
}
24

Decompiled Minecraft 26.3 source of RecipeCategory (net/minecraft/data/recipes/RecipeCategory.java) with Mojang official mappings, stored verbatim on the site.