Package net.minecraft.recipe
Class StonecuttingRecipe
java.lang.Object
net.minecraft.recipe.CuttingRecipe
net.minecraft.recipe.StonecuttingRecipe
- Mappings:
Namespace Name official cjrintermediary net/minecraft/class_3975named net/minecraft/recipe/StonecuttingRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.recipe.CuttingRecipe
CuttingRecipe.Serializer<T extends CuttingRecipe> -
Field Summary
Fields inherited from class net.minecraft.recipe.CuttingRecipe
group, id, input, output -
Constructor Summary
ConstructorsConstructorDescriptionStonecuttingRecipe(Identifier id, String group, Ingredient input, ItemStack output) -
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.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.Methods inherited from class net.minecraft.recipe.CuttingRecipe
craft, fits, getGroup, getId, getIngredients, getOutput, 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 official <init>Lcjr;<init>(Lacq;Ljava/lang/String;Lcix;Lcfx;)Vintermediary <init>Lnet/minecraft/class_3975;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;)Vnamed <init>Lnet/minecraft/recipe/StonecuttingRecipe;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
matches
Returns 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:
inventory- the input inventoryworld- the input world- Returns:
- whether this recipe matches the contents inside the
inventoryin the givenworld - Mappings:
Namespace Name Mixin selector official aLcja;a(Lbdp;Lcmk;)Zintermediary method_8115Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Znamed matchesLnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)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 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;
-