Uses of Interface
net.minecraft.recipe.RecipeType
Packages that use RecipeType
Package
Description
-
Uses of RecipeType in net.minecraft.block.entity
Constructors in net.minecraft.block.entity with parameters of type RecipeTypeModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) -
Uses of RecipeType in net.minecraft.recipe
Fields in net.minecraft.recipe declared as RecipeTypeModifier and TypeFieldDescriptionstatic final RecipeType<BlastingRecipe> RecipeType.BLASTINGstatic final RecipeType<CampfireCookingRecipe> RecipeType.CAMPFIRE_COOKINGstatic final RecipeType<CraftingRecipe> RecipeType.CRAFTINGstatic final RecipeType<SmeltingRecipe> RecipeType.SMELTINGstatic final RecipeType<SmithingRecipe> RecipeType.SMITHINGstatic final RecipeType<SmokingRecipe> RecipeType.SMOKINGstatic final RecipeType<StonecuttingRecipe> RecipeType.STONECUTTINGprotected final RecipeType<?> AbstractCookingRecipe.typeprivate final RecipeType<?> CuttingRecipe.typeFields in net.minecraft.recipe with type parameters of type RecipeTypeModifier and TypeFieldDescriptionprivate Multimap<RecipeType<?>, RecipeEntry<?>> RecipeManager.recipesByTypeMethods in net.minecraft.recipe that return RecipeTypeModifier 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.default RecipeType<?> SmithingRecipe.getType()Returns the type of this recipe.static <T extends Recipe<?>>
RecipeType<T> Methods in net.minecraft.recipe with parameters of type RecipeTypeModifier and TypeMethodDescriptionstatic <I extends RecipeInput,T extends Recipe<I>>
RecipeManager.MatchGetter<I, T> RecipeManager.createCachedMatchGetter(RecipeType<T> type) Creates a cached match getter.private <T extends Recipe<?>>
@Nullable RecipeEntry<T> RecipeManager.get(RecipeType<T> type, Identifier id) Returns a recipe with the givenidandtype, or empty if there is no such recipe.<I extends RecipeInput,T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.getAllMatches(RecipeType<T> type, I input, World world) Creates a list of all recipes of the giventypethat match the giveninventoryandworld.private <I extends RecipeInput,T extends Recipe<I>>
Collection<RecipeEntry<T>> RecipeManager.getAllOfType(RecipeType<T> type) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch(RecipeType<T> type, I input, World world) Returns a recipe of the giventypethat match the giveninventoryandworld.<I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable Identifier id) <I extends RecipeInput,T extends Recipe<I>>
DefaultedList<ItemStack> RecipeManager.getRemainingStacks(RecipeType<T> type, I input, World world) Returns the remainder of a recipe of the giventypethat match the giveninventoryandworld, or a shallow copy of theinventory.<I extends RecipeInput,T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.listAllOfType(RecipeType<T> type) Creates a list of all recipes of the giventype.Constructors in net.minecraft.recipe with parameters of type RecipeTypeModifierConstructorDescriptionAbstractCookingRecipe(RecipeType<?> type, String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CuttingRecipe(RecipeType<?> type, RecipeSerializer<?> serializer, String group, Ingredient ingredient, ItemStack result) -
Uses of RecipeType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type RecipeTypeModifier and TypeFieldDescriptionstatic final Registry<RecipeType<?>> Registries.RECIPE_TYPEstatic final RegistryKey<Registry<RecipeType<?>>> RegistryKeys.RECIPE_TYPE -
Uses of RecipeType in net.minecraft.screen
Fields in net.minecraft.screen declared as RecipeTypeModifier and TypeFieldDescriptionprivate final RecipeType<? extends AbstractCookingRecipe> AbstractFurnaceScreenHandler.recipeTypeConstructors in net.minecraft.screen with parameters of type RecipeTypeModifierConstructorDescriptionprotectedAbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory) protectedAbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory category, int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)