Package net.minecraft.recipe
Class StonecuttingRecipe
java.lang.Object
net.minecraft.recipe.CuttingRecipe
net.minecraft.recipe.StonecuttingRecipe
- All Implemented Interfaces:
Recipe<SingleStackRecipeInput>
- Mappings:
Namespace Name named net/minecraft/recipe/StonecuttingRecipeintermediary net/minecraft/class_3975official czw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.recipe.CuttingRecipe
CuttingRecipe.RecipeFactory<T extends CuttingRecipe>, CuttingRecipe.Serializer<T extends CuttingRecipe> -
Field Summary
Fields inherited from class net.minecraft.recipe.CuttingRecipe
group, ingredient, resultFields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC -
Constructor Summary
Constructors -
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.booleanmatches(SingleStackRecipeInput singleStackRecipeInput, World world) Returns whether this recipe matches the contents inside theinventoryin the givenworld.Methods inherited from class net.minecraft.recipe.CuttingRecipe
craft, fits, getGroup, getIngredients, getResult, getSerializer, getTypeMethods 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
-
StonecuttingRecipe
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/StonecuttingRecipe;<init>(Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;)Vintermediary <init>Lnet/minecraft/class_3975;<init>(Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;)Vofficial <init>Lczw;<init>(Ljava/lang/String;Lcyw;Lcuq;)V
-
-
Method Details
-
matches
Description copied from interface:RecipeReturns whether this recipe matches the contents inside theinventoryin the givenworld.The
worldcurrently is only used by the map cloning recipe to prevent duplication of explorer maps.- Parameters:
world- the input world- Returns:
- whether this recipe matches the contents inside the
inventoryin the givenworld - Mappings:
Namespace Name Mixin selector named matchesLnet/minecraft/recipe/StonecuttingRecipe;matches(Lnet/minecraft/recipe/input/SingleStackRecipeInput;Lnet/minecraft/world/World;)Zintermediary method_60003Lnet/minecraft/class_3975;method_60003(Lnet/minecraft/class_9696;Lnet/minecraft/class_1937;)Zofficial aLczw;a(Lczp;Ldcw;)Z
-
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 named createIconLnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;intermediary method_17447Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;official gLcyz;g()Lcuq;
-