mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Reword deprecation comments
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user