CustomRecipe .java

net.minecraft.world.item.crafting.CustomRecipe (class, 32 lines): members: isSpecial, placementInfo, showNotification, group, category, getSerializer.

net.minecraft.world.item.craftingclass32 linescommon562 B

Implements

API Surface (5)

boolean isSpecial()
boolean showNotification()
String group()
CraftingBookCategory category()
PlacementInfo placementInfo()

Code Graph: Dependencies (4)

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

Full Source

CustomRecipe.java32 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.item.crafting;
2
3
public abstract class CustomRecipe implements CraftingRecipe {
4
	@Override
5
	public boolean isSpecial() {
6
		return true;
7
	}
8
9
	@Override
10
	public boolean showNotification() {
11
		return false;
12
	}
13
14
	@Override
15
	public String group() {
16
		return "";
17
	}
18
19
	@Override
20
	public CraftingBookCategory category() {
21
		return CraftingBookCategory.MISC;
22
	}
23
24
	@Override
25
	public PlacementInfo placementInfo() {
26
		return PlacementInfo.NOT_PLACEABLE;
27
	}
28
29
	@Override
30
	public abstract RecipeSerializer<? extends CustomRecipe> getSerializer();
31
}
32

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