Package net.minecraft.recipe
Class SmeltingRecipe
java.lang.Object
net.minecraft.recipe.AbstractCookingRecipe
net.minecraft.recipe.SmeltingRecipe
- Mappings:
Namespace Name official cjmintermediary net/minecraft/class_3861named net/minecraft/recipe/SmeltingRecipe
-
Field Summary
Fields inherited from class net.minecraft.recipe.AbstractCookingRecipe
cookTime, experience, group, id, input, output, type -
Constructor Summary
ConstructorsConstructorDescriptionSmeltingRecipe(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) -
Method Summary
Modifier and TypeMethodDescriptionReturns an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked.Returns the serializer associated with this recipe.Methods inherited from class net.minecraft.recipe.AbstractCookingRecipe
craft, fits, getCategory, getCookTime, getExperience, getGroup, getId, getIngredients, getOutput, getType, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
getRemainder, isEmpty, isIgnoredInRecipeBook, showNotification
-
Constructor Details
-
SmeltingRecipe
public SmeltingRecipe(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) - Mappings:
Namespace Name Mixin selector official <init>Lcjm;<init>(Lacq;Ljava/lang/String;Lcip;Lcix;Lcfx;FI)Vintermediary <init>Lnet/minecraft/class_3861;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)Vnamed <init>Lnet/minecraft/recipe/SmeltingRecipe;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;FI)V
-
-
Method Details
-
createIcon
Returns an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked. This can be interpreted as a catalyst for the recipe.- Returns:
- an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked
- Mappings:
Namespace Name Mixin selector official hLcja;h()Lcfx;intermediary method_17447Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;named createIconLnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
-
getSerializer
Returns the serializer associated with this recipe.- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector official ai_Lcja;ai_()Lcjc;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-