Uses of Interface
net.minecraft.world.item.crafting.RecipeType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of RecipeType in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry<RecipeType<?>>
BuiltInRegistries.RECIPE_TYPE
static final ResourceKey<Registry<RecipeType<?>>>
Registries.RECIPE_TYPE
-
Uses of RecipeType in net.minecraft.world.inventory
Modifier and TypeFieldDescriptionprivate final RecipeType<? extends AbstractCookingRecipe>
AbstractFurnaceMenu.recipeType
ModifierConstructorDescriptionprotected
AbstractFurnaceMenu
(MenuType<?> p_38960_, RecipeType<? extends AbstractCookingRecipe> p_38961_, RecipeBookType p_38962_, int p_38963_, Inventory p_38964_) protected
AbstractFurnaceMenu
(MenuType<?> p_38966_, RecipeType<? extends AbstractCookingRecipe> p_38967_, RecipeBookType p_38968_, int p_38969_, Inventory p_38970_, Container p_38971_, ContainerData p_38972_) -
Uses of RecipeType in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionstatic final RecipeType<BlastingRecipe>
RecipeType.BLASTING
static final RecipeType<CampfireCookingRecipe>
RecipeType.CAMPFIRE_COOKING
static final RecipeType<CraftingRecipe>
RecipeType.CRAFTING
static final RecipeType<SmeltingRecipe>
RecipeType.SMELTING
static final RecipeType<SmithingRecipe>
RecipeType.SMITHING
static final RecipeType<SmokingRecipe>
RecipeType.SMOKING
static final RecipeType<StonecutterRecipe>
RecipeType.STONECUTTING
protected final RecipeType<?>
AbstractCookingRecipe.type
private final RecipeType<?>
SingleItemRecipe.type
Modifier and TypeFieldDescriptionprivate Map<RecipeType<?>,
Map<ResourceLocation, RecipeHolder<?>>> RecipeManager.recipes
Modifier and TypeMethodDescriptionRecipeType<?>
AbstractCookingRecipe.getType()
default RecipeType<?>
CraftingRecipe.getType()
RecipeType<?>
Recipe.getType()
RecipeType<?>
SingleItemRecipe.getType()
default RecipeType<?>
SmithingRecipe.getType()
static <T extends Recipe<?>>
RecipeType<T>static <T extends Recipe<?>>
RecipeType<T>RecipeType.simple
(ResourceLocation name) Modifier and TypeMethodDescriptionprivate <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,RecipeHolder<T>> RecipeManager.byType
(RecipeType<T> p_44055_) static <C extends Container,
T extends Recipe<C>>
RecipeManager.CachedCheck<C,T> RecipeManager.createCheck
(RecipeType<T> p_220268_) <C extends Container,
T extends Recipe<C>>
List<RecipeHolder<T>>RecipeManager.getAllRecipesFor
(RecipeType<T> p_44014_) <C extends Container,
T extends Recipe<C>>
Optional<RecipeHolder<T>>RecipeManager.getRecipeFor
(RecipeType<T> p_44016_, C p_44017_, Level p_44018_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,RecipeHolder<T>>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) <C extends Container,
T extends Recipe<C>>
List<RecipeHolder<T>>RecipeManager.getRecipesFor
(RecipeType<T> p_44057_, C p_44058_, Level p_44059_) <C extends Container,
T extends Recipe<C>>
NonNullList<ItemStack>RecipeManager.getRemainingItemsFor
(RecipeType<T> p_44070_, C p_44071_, Level p_44072_) ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> p_250197_, String p_249518_, CookingBookCategory p_250891_, Ingredient p_251354_, ItemStack p_252185_, float p_252165_, int p_250256_) SingleItemRecipe
(RecipeType<?> p_44416_, RecipeSerializer<?> p_44417_, String p_44419_, Ingredient p_44420_, ItemStack p_44421_) -
Uses of RecipeType in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate final RecipeType<? extends AbstractCookingRecipe>
AbstractFurnaceBlockEntity.recipeType
ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> p_154991_, BlockPos p_154992_, BlockState p_154993_, RecipeType<? extends AbstractCookingRecipe> p_154994_) -
Uses of RecipeType in net.neoforged.neoforge.client
Modifier and TypeFieldDescriptionprivate static final Map<RecipeType<?>,
Function<RecipeHolder<?>, RecipeBookCategories>> RecipeBookManager.RECIPE_CATEGORY_LOOKUPS
Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
@Nullable RecipeBookCategoriesRecipeBookManager.findCategories
(RecipeType<T> type, RecipeHolder<T> recipe) Finds the category the specified recipe should display in, or null if none. -
Uses of RecipeType in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<RecipeType<?>,
Function<RecipeHolder<?>, RecipeBookCategories>> RegisterRecipeBookCategoriesEvent.recipeCategoryLookups
Modifier and TypeMethodDescriptionvoid
RegisterRecipeBookCategoriesEvent.registerRecipeCategoryFinder
(RecipeType<?> type, Function<RecipeHolder<?>, RecipeBookCategories> lookup) Registers a category lookup for a certain recipe type. -
Uses of RecipeType in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic int
CommonHooks.getBurnTime
(ItemStack stack, @Nullable RecipeType<?> recipeType) Gets the burn time of this itemstack. -
Uses of RecipeType in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault int
IItemExtension.getBurnTime
(ItemStack itemStack, @Nullable RecipeType<?> recipeType) default int
IItemStackExtension.getBurnTime
(@Nullable RecipeType<?> recipeType) -
Uses of RecipeType in net.neoforged.neoforge.debug
Modifier and TypeFieldDescriptionprivate static final DeferredHolder<RecipeType<?>,
RecipeType<?>> DeferredRegistryTest.RECIPE_TYPE
private static final DeferredHolder<RecipeType<?>,
RecipeType<?>> DeferredRegistryTest.RECIPE_TYPE
private static final DeferredRegister<RecipeType<?>>
DeferredRegistryTest.RECIPE_TYPES
-
Uses of RecipeType in net.neoforged.neoforge.debug.recipe.recipebook
Modifier and TypeFieldDescriptionstatic final DeferredHolder<RecipeType<?>,
RecipeType<RecipeBookTestRecipe>> RecipeBookExtensionTest.RECIPE_BOOK_TEST_RECIPE_TYPE
static final DeferredHolder<RecipeType<?>,
RecipeType<RecipeBookTestRecipe>> RecipeBookExtensionTest.RECIPE_BOOK_TEST_RECIPE_TYPE
static final DeferredRegister<RecipeType<?>>
RecipeBookExtensionTest.RECIPE_TYPE
-
Uses of RecipeType in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic int
EventHooks.getItemBurnTime
(@NotNull ItemStack itemStack, int burnTime, @Nullable RecipeType<?> recipeType) -
Uses of RecipeType in net.neoforged.neoforge.event.furnace
Modifier and TypeFieldDescriptionprivate final @Nullable RecipeType<?>
FurnaceFuelBurnTimeEvent.recipeType
Modifier and TypeMethodDescription@Nullable RecipeType<?>
FurnaceFuelBurnTimeEvent.getRecipeType()
Get the recipe type for which to obtain the burn time, if known.ModifierConstructorDescriptionFurnaceFuelBurnTimeEvent
(@NotNull ItemStack itemStack, int burnTime, @Nullable RecipeType<?> recipeType)