Reword deprecation comments

This commit is contained in:
Joseph C. Sible committed 2017-10-03 07:56:26 -04:00
1 parent 61a1afa07b
commit e06d308daa
3 files changed
+13 -3

No files matched your search

@@ -47,8 +47,12 @@ public class Combiner
CrafttweakerIntegration.LATE_ADDITIONS.add(new AddMekanismRecipe(NAME, RecipeHandler.Recipe.COMBINER.get(), recipe));
}
/**
* @deprecated Replaced by {@link #addRecipe(IItemStack, IItemStack, IItemStack)}.
* May be removed with Minecraft 1.13.
*/
@ZenMethod
@Deprecated // TODO remove this method in MC 1.13
@Deprecated
public static void addRecipe(IItemStack itemInput, IItemStack itemOutput)
{
if (itemInput == null || itemOutput == null)
@@ -115,8 +115,10 @@ public final class RecipeHandler
* Add a Combiner recipe.
* @param input - input ItemStack
* @param output - output ItemStack
* @deprecated Replaced by {@link #addCombinerRecipe(ItemStack, ItemStack, ItemStack)}.
* May be removed with Minecraft 1.13.
*/
@Deprecated // TODO remove this method in MC 1.13
@Deprecated
public static void addCombinerRecipe(ItemStack input, ItemStack output)
{
addRecipe(Recipe.COMBINER, new CombinerRecipe(input, output));
@@ -17,7 +17,11 @@ public class CombinerRecipe extends DoubleMachineRecipe<CombinerRecipe>
super(input, extra, output);
}
@Deprecated // TODO remove this method in MC 1.13
/**
* @deprecated Replaced by {@link #CombinerRecipe(ItemStack, ItemStack, ItemStack)}.
* May be removed with Minecraft 1.13.
*/
@Deprecated
public CombinerRecipe(ItemStack input, ItemStack output)
{
super(input, new ItemStack(Blocks.COBBLESTONE), output);