mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
#886: Deprecate the SmithingRecipe constructor as it now does nothing
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
76090cb83e
commit
a06d9c58c6
1 changed files with 5 additions and 0 deletions
|
@ -21,7 +21,12 @@ public class SmithingRecipe implements Recipe, Keyed {
|
|||
* @param result The item you want the recipe to create.
|
||||
* @param base The base ingredient
|
||||
* @param addition The addition ingredient
|
||||
* @deprecated as of Minecraft 1.20, smithing recipes are now separated into two
|
||||
* distinct recipe types, {@link SmithingTransformRecipe} and {@link SmithingTrimRecipe}.
|
||||
* This class now acts as a base class to these two classes and will do nothing when
|
||||
* added to the server.
|
||||
*/
|
||||
@Deprecated
|
||||
public SmithingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) {
|
||||
this.key = key;
|
||||
this.result = result;
|
||||
|
|
Loading…
Reference in a new issue