RecipeBookCategories .java

net.minecraft.world.item.crafting.RecipeBookCategories (class): members: CRAFTING_BUILDING_BLOCKS, BLAST_FURNACE_BLOCKS, BLAST_FURNACE_MISC, CRAFTING_MISC.

net.minecraft.world.item.craftingclass29 linescommon1.5 KB

API Surface (1)

RecipeBookCategory bootstrap(final Registry<RecipeBookCategory> registry)

Fields & Constants (13)

CRAFTING_BUILDING_BLOCKS
CRAFTING_REDSTONE
CRAFTING_EQUIPMENT
CRAFTING_MISC
FURNACE_FOOD
FURNACE_BLOCKS
FURNACE_MISC
BLAST_FURNACE_BLOCKS
BLAST_FURNACE_MISC
SMOKER_FOOD
STONECUTTER
SMITHING
CAMPFIRE

String literals (13)

"crafting_building_blocks"
"crafting_redstone"
"crafting_equipment"
"crafting_misc"
"furnace_food"
"furnace_blocks"
"furnace_misc"
"blast_furnace_blocks"
"blast_furnace_misc"
"smoker_food"
"stonecutter"
"smithing"
"campfire"

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

RecipeBookCategories.java29 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.item.crafting;
2
3
import net.minecraft.core.Registry;
4
import net.minecraft.core.registries.BuiltInRegistries;
5
6
public class RecipeBookCategories {
7
	public static final RecipeBookCategory CRAFTING_BUILDING_BLOCKS = register("crafting_building_blocks");
8
	public static final RecipeBookCategory CRAFTING_REDSTONE = register("crafting_redstone");
9
	public static final RecipeBookCategory CRAFTING_EQUIPMENT = register("crafting_equipment");
10
	public static final RecipeBookCategory CRAFTING_MISC = register("crafting_misc");
11
	public static final RecipeBookCategory FURNACE_FOOD = register("furnace_food");
12
	public static final RecipeBookCategory FURNACE_BLOCKS = register("furnace_blocks");
13
	public static final RecipeBookCategory FURNACE_MISC = register("furnace_misc");
14
	public static final RecipeBookCategory BLAST_FURNACE_BLOCKS = register("blast_furnace_blocks");
15
	public static final RecipeBookCategory BLAST_FURNACE_MISC = register("blast_furnace_misc");
16
	public static final RecipeBookCategory SMOKER_FOOD = register("smoker_food");
17
	public static final RecipeBookCategory STONECUTTER = register("stonecutter");
18
	public static final RecipeBookCategory SMITHING = register("smithing");
19
	public static final RecipeBookCategory CAMPFIRE = register("campfire");
20
21
	private static RecipeBookCategory register(final String id) {
22
		return Registry.register(BuiltInRegistries.RECIPE_BOOK_CATEGORY, id, new RecipeBookCategory());
23
	}
24
25
	public static RecipeBookCategory bootstrap(final Registry<RecipeBookCategory> registry) {
26
		return CAMPFIRE;
27
	}
28
}
29

Decompiled Minecraft 26.3 source of RecipeBookCategories (net/minecraft/world/item/crafting/RecipeBookCategories.java) with Mojang official mappings, stored verbatim on the site.