Uses of Interface
net.minecraft.recipe.RecipeType
Package
Description
-
Uses of RecipeType in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate final RecipeType<? extends AbstractCookingRecipe>
AbstractFurnaceBlockEntity.recipeType
Modifier and TypeMethodDescriptionprivate static int
AbstractFurnaceBlockEntity.getCookTime
(World world, RecipeType<? extends AbstractCookingRecipe> recipeType, Inventory inventory) ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) -
Uses of RecipeType in net.minecraft.recipe
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<StonecuttingRecipe>
RecipeType.STONECUTTING
protected final RecipeType<?>
AbstractCookingRecipe.type
private final RecipeType<?>
CuttingRecipe.type
Modifier and TypeFieldDescriptionprivate Map<RecipeType<?>,
Map<Identifier, Recipe<?>>> RecipeManager.recipes
Modifier and TypeMethodDescriptionRecipeType<?>
AbstractCookingRecipe.getType()
Returns the type of this recipe.default RecipeType<?>
CraftingRecipe.getType()
Returns the type of this recipe.RecipeType<?>
CuttingRecipe.getType()
Returns the type of this recipe.RecipeType<?>
Recipe.getType()
Returns the type of this recipe.RecipeType<?>
SmithingRecipe.getType()
Returns the type of this recipe.static <T extends Recipe<?>>
RecipeType<T>Modifier and TypeMethodDescriptionRecipeManager.getAllMatches
(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.private <C extends Inventory,
T extends Recipe<C>>
Map<Identifier,Recipe<C>> RecipeManager.getAllOfType
(RecipeType<T> type) RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<C extends Inventory,
T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager.getRemainingStacks
(RecipeType<T> type, C inventory, World world) Returns the remainder of a recipe of the giventype
that match the giveninventory
andworld
, or a shallow copy of theinventory
.RecipeManager.listAllOfType
(RecipeType<T> type) Creates a list of all recipes of the giventype
.ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime) CuttingRecipe
(RecipeType<?> type, RecipeSerializer<?> serializer, Identifier id, String group, Ingredient input, ItemStack output) -
Uses of RecipeType in net.minecraft.screen
Modifier and TypeFieldDescriptionprivate final RecipeType<? extends AbstractCookingRecipe>
AbstractFurnaceScreenHandler.recipeType
ModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory) protected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) -
Uses of RecipeType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final Registry<RecipeType<?>>
Registry.RECIPE_TYPE
static final RegistryKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_KEY