Deprecate AE2 recipe system. (#3247)

* Deprecate aerecipes to indicate that they are going away soon.
This commit is contained in:
fscan
2017-11-26 15:45:34 +01:00
committed by yueh
parent 3063bd887c
commit 5fa2c0ab27
8 changed files with 20 additions and 4 deletions
@@ -48,6 +48,7 @@ public interface IRecipeHandlerRegistry
* @param name name of crafthandler * @param name name of crafthandler
* @param handler class of crafthandler * @param handler class of crafthandler
*/ */
@Deprecated
void addNewCraftHandler( String name, Class<? extends ICraftHandler> handler ); void addNewCraftHandler( String name, Class<? extends ICraftHandler> handler );
/** /**
@@ -65,11 +66,13 @@ public interface IRecipeHandlerRegistry
* @return A recipe handler by name, returns null on failure. * @return A recipe handler by name, returns null on failure.
*/ */
@Nullable @Nullable
@Deprecated
ICraftHandler getCraftHandlerFor( String name ); ICraftHandler getCraftHandlerFor( String name );
/** /**
* @return a new recipe handler, which can be used to parse, and read recipe files. * @return a new recipe handler, which can be used to parse, and read recipe files.
*/ */
@Deprecated
IRecipeHandler createNewRecipehandler(); IRecipeHandler createNewRecipehandler();
/** /**
@@ -30,7 +30,7 @@ import appeng.api.exceptions.MissingIngredientException;
import appeng.api.exceptions.RecipeException; import appeng.api.exceptions.RecipeException;
import appeng.api.exceptions.RegistrationException; import appeng.api.exceptions.RegistrationException;
@Deprecated
public interface ICraftHandler public interface ICraftHandler
{ {
@@ -29,7 +29,7 @@ import net.minecraft.item.ItemStack;
import appeng.api.exceptions.MissingIngredientException; import appeng.api.exceptions.MissingIngredientException;
import appeng.api.exceptions.RegistrationException; import appeng.api.exceptions.RegistrationException;
@Deprecated
public interface IIngredient public interface IIngredient
{ {
@@ -27,6 +27,7 @@ package appeng.api.recipes;
/** /**
* Represents the AE2 Recipe Loading/Reading Class * Represents the AE2 Recipe Loading/Reading Class
*/ */
@Deprecated
public interface IRecipeHandler public interface IRecipeHandler
{ {
@@ -28,7 +28,7 @@ import java.io.BufferedReader;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
@Deprecated
public interface IRecipeLoader public interface IRecipeLoader
{ {
/** /**
@@ -110,7 +110,7 @@
<body> <body>
<div id="content"> <div id="content">
<div id="header"> <div id="header">
<h1>Custom Recipes</h1> <h1>Custom Recipes [DEPRECATED]</h1>
</div> </div>
<div id="body"> <div id="body">
@@ -1,3 +1,9 @@
##########################################################
# DEPRECATED #
# Until vanilla/Forge JSON is capable of supporting most #
# of our use cases use CraftTweaker for custom recipes #
##########################################################
# Crash on Issues # Crash on Issues
crash=false crash=false
@@ -1,3 +1,9 @@
##########################################################
# DEPRECATED #
# Until vanilla/Forge JSON is capable of supporting most #
# of our use cases use CraftTweaker for custom recipes #
##########################################################
# Forge Ore Dictionary # Forge Ore Dictionary
# logWood, slabWood, stairWood, treeSapling, treeLeaves, # logWood, slabWood, stairWood, treeSapling, treeLeaves,
# oreGold, oreIron, oreLapis, oreDiamond, oreRedstone, oreEmerald, oreQuartz, oreCoal, # oreGold, oreIron, oreLapis, oreDiamond, oreRedstone, oreEmerald, oreQuartz, oreCoal,